Making Things Talk excerpt: distance ranging

Arduino Technology
Making Things Talk excerpt: distance ranging

MTT_CVR.jpg

Here’s another Make: Books PDF excerpt. This one comes from Tom Igoe’s Making Things Talk, which tells you how to create Arduino- and XBee-powered devices that form networks of smart objects. This excerpt shows you how to work with two different distance rangefinders, the Sharp GPxx series of infrared rangers and the Devantech SRFxx series of ultrasonic rangers:

Electronic locating systems like GPS, mobile phone location, and sonar seem magical at first, because there’s no visible evidence as to how they work. When you break the job down into its components, it becomes relatively straightforward. Most physical location systems are based on the same principle. They determine distance from several known and fixed locations by measuring the energy of an electromagnetic or acoustic wave coming from the object to be located. Then they combine those measurements to determine a position in two or three dimensions.

For example, a GPS receiver determines its position on the surface of the planet by measuring the strength of received radio signals from several geosynchronous satellites. Similarly, mobile phone location systems measure the signal strength of the phone at several cell towers. Sonar and infrared ranging sensors work by sending out an acoustic signal (sonar) or an infrared signal (IR rangers) and measuring the strength of that signal when it’s reflected off the target.

Distance ranging techniques can be classified as active or passive. In active systems, the target has a radio, light, or acoustic source on it, and the receiver just listens for the signal from the target. In passive systems, the target doesn’t have to have any technology on board. The receiver emits a signal, and the signal bounces off the target. Mobile phone location is active, because it relies on the phone sending out a radio signal. Sonar and infrared ranging are passive, because the sensor has to emit a signal in order to measure the reflection. GPS is an active locating technology, because although the receiver doesn’t emit a signal, it has an electronic receiver onboard to receive satellites’ signals.

Sometimes distance ranging is used for acquiring a position, and other times it’s used for refining it. In the following examples, the passive distance rangers deliver a measurement of physical distance, but the radio ranging tell you only when another radio is in transmission range of your radio, and whether it’s near or far within the range…

Follow this link for the full excerpt.

Previously:

Makershedsmall

Buy Making Things Talk by Tom Igoe in the Maker Shed today!

Programming microcontrollers used to require an expensive development environment costing thousands of dollars and requiring professional electrical engineering expertise. Open-source physical computing platforms with simple i/o boards and development environments have led to new options for hobbyists, hackers, and makers. This book contains a series of projects that teach you what you need to know to get your creations talking to each other, connecting to the web, and forming networks of smart devices.

What will the next generation of Make: look like? We’re inviting you to shape the future by investing in Make:. By becoming an investor, you help decide what’s next. The future of Make: is in your hands. Learn More.

Tagged

I'm a tinkerer and finally reached the point where I fix more things than I break. When I'm not tinkering, I'm probably editing a book for Maker Media.

View more articles by Brian Jepson
Discuss this article with the rest of the community on our Discord server!

ADVERTISEMENT

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 16th iteration!

Prices Increase in....

Days
Hours
Minutes
Seconds
FEEDBACK