August 2010
Intermediate to advanced
288 pages
13h 21m
English
The Ultrasonic Sensor (shown in Figure 5-30) measures the distance between the sensor and an object. The sensor sends out high-frequency sound waves and measures the time it takes for them to be reflected, which allows it to determine the object’s distance from the sensor. (Bats use sonar in the same way.)

Figure 5-30. The Ultrasonic Sensor
An object’s shape and texture greatly affect how well it will be detected by the Ultrasonic Sensor; some surfaces reflect sound waves better than others and therefore are easier to detect. Flat, hard surfaces are the easiest to detect because they reflect most of the sound waves back toward ...