HC-SR04 Ultrasonic Distance Sensor Module (Pack of 20)
====================================================HC-SR04 ULTRASONIC DISTANCE SENSOR(Pack of 20)====================================================MODEL: HC-SR04TYPE: Ultrasonic distance sensorMEASUREMENT RANGE: 2 cm 400 cmACCURACY: 3 mmOPERATING VOLTAGE: 5 V DCCURRENT CONSUMPTION: ~15 mAOUTPUT: Digital pulse (pulse width proportional to distance)INTERFACE: 4 pins (VCC, Trig, Echo, GND)PACK QUANTITY: 20 units---------------------------------------------------- HOW IT WORKS:1. **Trigger Pulse:** Microcontroller sends a 10 s HIGH pulse to the Trig pin.2. **Ultrasonic Burst:** Sensor emits 8-cycle 40 kHz ultrasonic burst.3. **Echo Received:** Reflected wave returns to Echo pin.4. **Distance Calculation:** Pulse width of Echo pin = time of flight Distance = (Time Speed of Sound)/2---------------------------------------------------- PINOUT: VCput (digital output from MCU) Echo Echo output (pulse width proportional to distance) GND Ground---------------------------------------------------- TECHNICAL SPECIFICATIONS: Operating Temp: -15 C to +70 C Sensing Angle: ~15 cone Resolution: ~0.3 cm Response Time: ~50 ms Signal Type: Digital (pulse width in microseconds)---------------------------------------------------- MICROCONTROLLER CONNECTION: Works with Arduino, ESP32, Raspberry Pi, STM32 Requires reading the Echo pulse using digital input Distance in cm = (pulse duration in s) / 58 Distance in inches = (pulse duration in s) / 148Example (Arduino formula):distance_cm = pulseWidth(EchoPin) / 58.0;---------------------------------------------------- APPLICATIONS:C sensors DIY smart projects---------------------------------------------------- TIPS: Avoid soft or angled surfaces may reduce echo reflection Keep sensor perpendicular to target for best results Multiple sensors can be used with different Trig/Echo pins Ensure proper timing between con

