The HC-SR04 is an affordable and easy to use distance measuring sensor which has a range from 2cm to 400cm (about an inch to 13 feet).
The sensor is composed of two ultrasonic transducers. One is transmitter which outputs ultrasonic sound pulses and the other is receiver which listens for reflected waves. It’s basically a SONAR which is used in submarines for detecting underwater objects.
Here are its main specifications:
Operating Voltage |
5V DC |
Operating Current |
15mA |
Operating Frequency |
40KHz |
Min Range |
2cm / 1 inch |
Max Range |
400cm / 13 feet |
Accuracy |
3mm |
Measuring Angle |
<15° |
Dimension |
45 x 20 x 15mm |
The sensor has 4 pins. VCC and GND go to 5V and GND pins on the Arduino, and the Trig and Echo go to any digital Arduino pin. Using the Trig pin we send the ultrasound wave from the transmitter, and with the Echo pin we listen for the reflected signal.
Comments
Post a Comment