How to Interface Ultra sonic sensor with Arduino
Interfacing Ultrasonic sensor with Arduino UNO HC-SR04 As show in the figure HC-SR04 is an ultrasonic sensor. It is an 4pin module consists of Vcc, Trig, Echo and GND. Module had a transmitter and receiver which transmits and receive the ultrasonic wave signal. Pins Explanation: VCC – +5v dc TRIG – To activate sensor we…