Telephone • WhatsApp
This sensor is used to detect the presence and distance of objects in the sensors direction.
How does it work ?
The sensor emits pulses of ultrasound and measures the time it takes to hear an echo from an object. By knowing the echo time and speed of sound you can calculate the distance. This techique is called sonar.
NewPing Library for Arduino - The NewPing library is an advanced high performance library supporting multiple ultrasonic sensors. Examples are included.