Working:
Power up the sensor by 5VDC using pins “VCC” and “GND”.
First of all a 10us trigger input has to be given to the pin named “Trig” on the sensor. This
starts one cycle of range conversion and sends 8 bursts of sound waves from the transmitter.
As soon as the signals are transmitted the “Echo” pin goes to high level and remains in high
level until the same sound waves are received by the receiver. If the received sound waves are
same as what the same sensor transmitted then the Echo pin goes to low level.
If no object is detected within 5M after 30ms the Echo signal will automatically go to low level.