Ultrasonic Sensor PinĀ Configuration
Pin Number | Pin Name | Description |
1 | Vcc | The Vcc pin powers the sensor, typically with +5V |
2 | Trigger | Trigger pin is an input pin. This pin has to be kept high for 10us to initialize measurement by sending the US wave. |
3 | Echo | The echo pin is an output pin. This pin goes high for a period of time which will be equal to the time taken for the US wave to return back to the sensor. |
4 | Ground | This pin is connected to the Ground of the system. |
HC-SR04 Sensor Features
- Operating voltage: +5V
- TheoreticalĀ Measuring Distance: 2cm to 450cm
- Practical Measuring Distance: 2cm to 80cm
- Accuracy: 3mm
- Measuring angle covered: <15Ā°
- Operating Current: <15mA
- Operating Frequency: 40Hz