Grove - Ultrasonic Distance Sensor
- Save GPIO Resources with Single-Wire Communication: Traditional ultrasonic sensors require separate trigger and echo pins. This module combines both signals into a single GPIO pin, reducing wiring complexity and freeing up I/O resources for other sensors.
- Wide Measurement Range for Real-World Applications: Measures distances from 3cm to 350cm, suitable for water tank level monitoring, parking assistance, and robotic obstacle avoidance.
- Works Directly with 3.3V and 5V Systems: Compatible with Raspberry Pi, Seeed Studio XIAO, Arduino, and other popular development platforms without requiring external voltage conversion circuits.
- Grove Plug-and-Play Ecosystem: Standard Grove connector enables fast, reliable connections with minimal wiring errors during prototyping.
- Optimized for Rapid Development: Comprehensive documentation, example code, and libraries help makers, educators, and developers get started quickly.
- Full documents and libraries provided for Arduino, Python, and Codecraft
The Grove - Ultrasonic Distance Sensor is an ultrasonic transducer that utilizes ultrasonic waves to measure distance. It can measure from 3cm to 350cm with an accuracy of up to 2mm. It is a perfect ultrasonic module for distance measurement, proximity sensors, and ultrasonic detectors.
This module has an ultrasonic transmitter and an ultrasonic receiver so you can consider it an ultrasonic transceiver. Familiar with sonar, when the 40KHz ultrasonic wave generated by the transmitter encounters the object, the sound wave will be emitted back, and the receiver can receive the reflected ultrasonic wave. It is only necessary to calculate the time from the transmission to the reception, and then multiply the speed of the sound in the air(340 m/s) to calculate the distance from the sensor to the object.
How does the ultrasonic distance sensor work?Here is a simple example of how an ultrasonic sensor works to measure distance:
- Firstly, the transmitter (trig pin) sends a sound wave
- The object picks the wave up, reflecting it back to the sensor.
- The receiver (echo pin) picks it up
| Grove Ultrasonic Sensor | HC-SR04 | |
| 3.3V Compatible | ✅ | ❌ |
| Seeed Studio XIAO / Raspberry Pi Direct Connection | ✅ | ❌ |
| GPIO Required | 1 pin | 2 pins |
| Plug & Play (Grove Connector) | ✅ | ❌ |
Applications
- Water Tank Level Monitoring: Monitor water levels remotely without opening the tank or performing manual inspections.
- Garage Parking Assistant: Detect vehicle position and trigger visual or audio alerts when the car reaches the desired parking distance.
- Smart Trash Bin Monitoring: Track remaining capacity and receive notifications when bins are approaching full capacity.
- Robot Obstacle Avoidance: Enable robots and autonomous vehicles to detect and avoid obstacles in real time.
- Contactless Distance Measurement: Measure the distance to objects in industrial, educational, and DIY projects.
- Presence and Proximity Detection: Detect nearby objects or movement for automation, security, and interactive installations.
Demo
We updated the support and example code to help you plug and play the ultrasonic distance sensor with Wio Terminal.
IT