Ultrasonic distance sensor operation
1. One transducer acts as a transmitter that converts electrical signal into 40 KHz ultrasonic sound pulses
2. The other transducer acts as a receiver and listens for the transmitted pulses
3. When the receiver receives these pulses, it produces an output pulse whose width is proportional to the distance of the object in front