
(3) IF the signal back, through high level, time of high output IO duration is the time from sending ultrasonic to returning.

The basic principle of work: (1) Using IO trigger for at least 10us high level signal, (2) The Module automatically sends eight 40 kHz and detect whether there is a pulse signal back. The modules includes ultrasonic transmitters, receiver and control circuit. Ultrasonic ranging module HC - SR04 provides 2cm - 400cm non-contact measurement function, the ranging accuracy can reach to 3mm. Ultrasonic sensor can detect movement of targets and measure the distance to them in many automated factories and process plants.

PIR Motion Sensor (HC-SR501) Library for Proteus.Arduino Ultrasonic Sensor HC-SR04 Proteus Library.
