Ultrasonic HCSR04
- Regular price
- RM 6.90
- Sale price
- RM 6.90
- Regular price
-
RM 7.50
Secure payments
7 Days Free Return
Share
The HC-SR04 Ultrasonic Sensor is a reliable, low-cost module designed for distance measurement and object detection. It operates by emitting ultrasonic waves and measuring the time taken for the echo to return, allowing accurate distance calculations. This sensor is widely used in robotics, automation, obstacle avoidance, and IoT applications.
Key Features
- Operating Voltage: 5V DC
- Detection Range: 2 cm – 400 cm
- Accuracy: ±3mm
- Operating Frequency: 40 kHz
- Measurement Angle: 15°
- Interface: Trigger (TRIG) and Echo (ECHO) Pins
- Power Consumption: ~15mA
- Simple Digital Output: Easy interfacing with Arduino, ESP32, Raspberry Pi, and STM32
Technical Details
Specification | Details |
---|---|
Operating Voltage | 5V DC |
Operating Current | 15mA |
Ultrasonic Frequency | 40 kHz |
Measurement Range | 2 cm – 400 cm |
Resolution | 0.3 cm |
Measurement Angle | 15° |
Trigger Input Signal | 10µs TTL Pulse |
Echo Output Signal | TTL Pulse (proportional to distance) |
Response Time | ~750µs |
Communication Interface | Digital |
How It Works
- Trigger Pulse: Send a 10µs HIGH pulse to the TRIG pin.
- Ultrasonic Waves: The sensor emits 8 cycles of 40kHz ultrasonic waves.
- Echo Signal: The waves reflect off an object, and the ECHO pin goes HIGH when the waves return.
- Distance Calculation: Using the formula:Distance(cm)=Time(µs)×SpeedofSound(340m/s)2Distance (cm) = \frac{Time (µs) × Speed of Sound (340 m/s)}{2}Distance(cm)=2Time(µs)×SpeedofSound(340m/s)The division by 2 accounts for the round-trip travel time of the ultrasonic waves.
Applications
- 🚗 Obstacle Avoidance – Robotics, drones, and automation projects.
- 🔍 Distance Measurement – Real-time object detection.
- 🏠 Smart Parking Systems – Car positioning and space monitoring.
- 🛑 Security & Alarm Systems – Motion detection and proximity alerts.
- 🌊 Water Level Monitoring – Check tank or reservoir levels.
Package Includes
✔ 1 x HC-SR04 Ultrasonic Sensor Module
✔ 1 x Set of Jumper Wires (Optional)
Why Choose HC-SR04?
✅ High Accuracy: ±3mm precision ensures reliable measurements.
✅ Low Cost & Power Efficient: Ideal for battery-powered applications.
✅ Easy to Use: Simple 4-pin interface for quick setup.
✅ Wide Compatibility: Works with Arduino, ESP32, Raspberry Pi, and STM32.