Anonymous
Mar 29, 2026
Rating: 5/5
Reliable for classroom kits
We bought twenty of these for our electronics workshop. They are robust enough to handle student use and provide consistent results when paired with STM32 boards.
Description
Reviews
| Brand | - |
| Category | Robotics / STEM Teaching Tools / Sensors |
| Origin | - |
| Operating Voltage | DC 5V |
| Static Current | < 2mA |
| Measuring Angle | 15 degrees |
| Measuring Range | 2cm to 400cm |
| Resolution | 0.3cm |
| Trigger Input Signal | 10µS TTL pulse |
| Echo Output Signal | TTL level signal proportional to distance |
| Dimensions | 45mm x 20mm x 15mm |
| Compatibility | Arduino, STM32, Raspberry Pi, 51 MCU |
| Package Includes | 1x HC-SR04 Ultrasonic Sensor Module |
Anonymous
Mar 29, 2026
Rating: 5/5
Reliable for classroom kits
We bought twenty of these for our electronics workshop. They are robust enough to handle student use and provide consistent results when paired with STM32 boards.
Anonymous
Mar 27, 2026
Rating: 4/5
Solid performance
I've used these sensors for years. This batch is consistent with previous ones I've bought. The minimum range of 2cm is accurate; anything closer returns garbage data, which is expected behavior.
Anonymous
Mar 25, 2026
Rating: 5/5
Easy to code for beginners
As someone new to embedded systems, I found this very forgiving. There are tons of tutorials online for the HC-SR04, and this module worked on the first try with the example code.
Anonymous
Mar 19, 2026
Rating: 5/5
Exactly as described
Fast shipping and the product matches the description perfectly. The pinout is standard, making it very easy to integrate into existing projects without extra adapters.
Anonymous
Mar 16, 2026
Rating: 4/5
Good value but sensitive to angle
Great little module for the price. It works well for basic distance measurement. Just note that the target needs to be relatively perpendicular to the sensor for the most accurate readings.
Anonymous
Mar 15, 2026
Rating: 5/5
Perfect for Arduino robotics projects
This sensor works flawlessly with my Arduino Uno. The range is accurate up to about 3 meters in my testing, which is perfect for my obstacle-avoiding robot. Setup was easy using standard libraries.
Q: Can this sensor be used directly with a 3.3V logic system like ESP32?
A: The module operates at 5V. While it can often work with 3.3V systems, we recommend using a logic level converter for the Trigger and Echo pins to ensure stability and prevent potential damage to 3.3V microcontrollers.
Q: Can it measure liquid levels in a tank?
A: It can measure the distance to the surface of a liquid if the surface is relatively calm and flat. However, foam, ripples, or vapor may scatter the ultrasonic waves and cause inaccurate readings. It is not waterproof, so ensure the module stays dry.
Q: Is there a library available for STM32CubeIDE?
A: Yes, there are several open-source drivers available for STM32. You can easily write your own using the timer input capture feature or find community-contributed HAL libraries on GitHub specifically for the HC-SR04.
Q: What is the accuracy of the measurement in millimeters?
A: The resolution is approximately 3mm (0.3cm). In ideal conditions with a flat, perpendicular target, the accuracy is generally within ±3mm, though environmental factors like temperature and surface texture can affect this.
Q: Does this come with jumper wires?
A: No, this package includes only the HC-SR04 sensor module. Jumper wires are sold separately, but any standard male-to-male dupont wires will work perfectly with the pin header.