Difference between revisions of "Ultrasonic Sensor (HC-SR04) + Arduino"
Jump to navigation
Jump to search
Jessieshi97 (talk | contribs) (Created page with "==Overview== The HC-SR04 ultrasonic distance sensor uses sonar to determine distance to an object with stable readings and high accuracy of 3mm. The module includes ultrasonic...") |
Jessieshi97 (talk | contribs) |
||
Line 5: | Line 5: | ||
==Circuit== | ==Circuit== | ||
+ | There are four pins on the HC-SR04 Ultrasonic distance sensor: | ||
+ | *Vcc: power. | ||
+ | *Trig: | ||
+ | *Echo: | ||
+ | *GND: ground. | ||
+ | |||
[[File:CUS.png|300px|]] | [[File:CUS.png|300px|]] | ||
− | |||
==Reference== | ==Reference== |
Revision as of 20:08, 2 May 2017
Contents
Overview
The HC-SR04 ultrasonic distance sensor uses sonar to determine distance to an object with stable readings and high accuracy of 3mm. The module includes ultrasonic transmitter, receiver and control circuit. It basic principles of work are outlined here if interested. One of the outstanding features of this distance sensor is that it can detect not only the distance between itself to a solid object, it can also detect liquids (used in the Cheers group).
Arduino
Circuit
There are four pins on the HC-SR04 Ultrasonic distance sensor:
- Vcc: power.
- Trig:
- Echo:
- GND: ground.
Reference
https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf