Ultrasonic Module HC-SR04
Ultrasonic ranging module HC-SR04 provides 2cm - 400cm non-contact measurement function, the ranging accuracy can reach to 3mm. The modules includes ultrasonic transmitters, receiver and control circuit.![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjePwLh6MT9GGyHBWq-r8sGkJ7CZpe3NIMYitGY_3A7sB0Rqm2aUcd9mg1oNu8c3EmN-MmuTcEoZKlqsCv0dJKYeZRCGg9bzaQfgy8qQzoow_nDpPa3FRKPKJdP7Rk-7lHW_JXGMzH0duI/s400/ard_ultrasonic.png)
Characteristics of the Ultrasonic's module :
- IO trigger is using for at least 10us high level signal,- The HC-SR04 automatically sends eight 40 kHz and detect whether there is a pulse signal back.
- IF the signal back, through high level , time of high output IO duration is the time from sending ultrasonic to returning.
Pins assignment of the Ultrasonic's Module :
Libraries for the Ultrasonic Module HC-SR04 (Fritzing & Proteus ISIS) :
- VCC : 5V Supply
- GND : 0V
- ECHO : Echo Pulse Output
- TRIG : Trigger Pulse Input
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT0wE8f9iGP3e4siUECaOHEwJQloT8BZ6upMhVzAMneIMahX0ebT88PcGamquTqZBcuVim9H1kxEdUbNq6RXzNKRksSZB3wsTMwqaC2EuZ_mE0OsVNliis7U9lr4OGa7cfYBj4CttPOhg/s640/HC-SR04+Ultrasonic+Rangemeter.jpg)
Connection with Arduino Board :
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNQIqm8YVRkwRO3jPkUt6_OkwFG9UEMpc-dCuBV52A0iC7c7_jEasVVQ9FBATevD1f4B-3hTDRLOfNBYgXIHCXQS4w_xWXE5MVJkK_gN-4DHFHbVokcf05XYUmvPdIe4NAj0VrkvN6nnM/s640/proximity-hcsr04.png)
0 comments :
Enregistrer un commentaire