What is the HC-SR04 Ultrasonic Sensor and How to Interface with Arduino Uno R3
12
Oct
The HC-SR04 Ultrasonic Sensor has four pins:
Operating Voltage |
DC 5V |
Operating Current |
15 mA |
Operating Frequency |
40kHz |
Max Range |
4m |
Min Range |
2 cm |
Ranging Accuracy |
3 mm |
Measuring Angle |
15 degree |
Trigger Input Signal |
10µS TTL pulse |
Dimension |
45 x 20 x 15mm |
To install the library, navigate to Sketch > Include Libraries > Manage Libraries and now wait for the Library Manager window (You can use the shortcut key Ctrl+Shift+I) to install the library.
Now type the NewPing on the search bar and install the updated version.
No account yet?
Create an AccountThe Website under development — no orders shall be fulfilled. Dismiss