# HC-SR04 Ultrasonic Distance Sensor (Component)
## Description
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. The basic principle
of work:
(1) Using IO trigger for at least 10us high level signal,
(2) The Module automatically sends eight 40 kHz and detect whether there is a
pulse signal back.
(3) IF the signal back, through high level , time of high output IO duration is
the time from sending ultrasonic to returning.
Test distance = (high level time×velocity of sound (340M/S) / 2,
## Component Details
- **Owner:** ramprakashvishnoi8
- **Created:** 2/5/2021
- **Last Updated:** 2/6/2021
- **Visibility:** Public
- **Datasheet:** https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf
- **Buy Link:** https://www.amazon.in/VIVOTECH-HC-SR04-Ultrasonic-Distance-Measuring/dp/B00KKKT7YK
- **Manufacturer Part Number:** HC - SR04MPN
- **Price:** 2$
- **Used in:** 63 projects
- **Stars:** 1
- **MPN:** HC - SR04
- **Package / Case Code:** Module
- **Pin Count:** 4
- **Compliance:** REACH
## Pins
| Pin | Name | Type |
|-----|------|------|
| - | Echo | |
| - | GND | |
| - | Trig | |
| - | Vcc | |
---
*Generated from [https://www.flux.ai/ramprakashvishnoi8/hc-sr04-ultrasonic-distance-sensor~0t](https://www.flux.ai/ramprakashvishnoi8/hc-sr04-ultrasonic-distance-sensor~0t)*