Ultrasonic sensors

Ultrasonic sensors are used for noncontact proximity, object detection, and distance measurement. As the name suggests, these sensors use ultrasonic waves as a source to detect the object and its distance. The sensor measures the distance to an object by calculating the time between emission and reception of ultrasonic waves. Ultrasonic waves are very accurate over a short distance and do not create disturbances as they are inaudible to human ears.

The sensor has both an ultrasonic transmitter and receiver. The sensor works on the same principle as that of sonar/radar, which evaluates the presence of an object by listening to the echo of sound waves or radio waves reflected from the object. The sensor emits a burst of high ...

Get Internet of Things with Raspberry Pi 3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.