Description
Introducing the Grove - Ultrasonic Ranger, your all-in-one distance measurement solution! With its wide voltage support, you'll be able to connect it with your 3.3V/5V device and Raspberry Pi without a hitch. It also only uses 3 pins to transmit and receive signals, thereby freeing up I/O resources for more power-hungry tasks. With its wide range of measurements from 3cm to 350 cm, you'll be able to measure smaller to larger distances with ease and precision!
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.
Features
- Wide range of voltage support: in the range of 3.2V~5.2V, compatible with 3.3V / 5V, and can be directly connected to the Raspberry Pi I/O
- Save I/O resources: only need 3 pins, transmit and receive signals occupy one I/O pin through time division multiplexing
- Wide measurement range: 3cm ~ 350cm
- Easy to use: compatible with Grove port, just plug-and-play
- Full documents and libraries provided for Arduino, Python, and Code craft
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
Compared with traditional ultrasonic modules HC-SR04, the Grove - Ultrasonic Distance Sensor integrates a single-chip microcomputer, and the transmitting signal and the receiving signal share one pin by time-division multiplexing, so only one I/O pin is occupied. Another difference is that HC-SR04 only supports 5v voltage, while Grove - Ultrasonic Distance Sensor supports 5v and 3.3v. As we know, the Raspberry Pi I/O only supports 3.3v. Therefore, Grove - Ultrasonic Distance Sensor can be directly connected to the I/O of the Raspberry Pi, but HC-SR04 needs to use a voltage conversion circuit.
Grove - Ultrasonic Distance Sensor vs HC-SR04 What's more, we provide full documents and libraries for Arduino, Python, and Codecraft so that you can use the Grove - Ultrasonic Distance Sensor with Arduino and Raspberry Pi easily. Wide voltage range, single I/O pin, plug and play Grove connector, we try our best to make this module easier to use and reduce your work.
Applications
- Distance measurement
- Ultrasonic detector
- Proximity alarm
- Smart car
Demo
We updated the support and example code to help you plug and play the ultrasonic distance sensor with Wio Terminal.
Hardware Overview
Documentations
- Download Wiki PDF
- Grove_Ultrasonic Ranger Schematic
- Ceramic Ultrasonic Sensor NU40C16T/R-1
- Grove_Ultrasonic Ranger library
- CDC File
- Example_Measure_distance_and_led_display
- Example_Measure_and_display_the_distance
- Dimensions: 50mm x25mm x16mm
- Weight: G.W 17g
- Measuring range: 3cm - 350cm
- Operating voltage: DC 3.2~5.2V
- Operating current: 8mA
- Ultrasonic frequency: 40kHz
- Connector: Grove x1
- Output: PWM
0