UNIT SONIC IO is a GPIO interface ultrasonic range sensor. This module features an RCWL-9620 ultrasonic distance measurement chip with a 16mm probe, which the ranging accuracy can reach 2cm-450cm (accuracy up to ±2%). This sensor determines the distance to a target by measuring time lapses between the transmitting and receiving of the pulse signal, users can directly obtain the distance value through IO control mode. It is ideal to apply in robotics obstacle avoidance, fluid level detection, and other applications that require you to perform measurements.
Note: When the measurement is more than 3.5m, there will be a slight delay in the response of the distance measurement data.
GPIO communication interface
Measuring range: 2cm-450cm
Built-in temperature compensation, reduce the temperature drift
Question: How to deal with the echo time of the ultrasonic sensor is too long or the ranging fails?
If the sensor's echo time is too long or cannot be detected, it may be because the ultrasonic sensor is too close to the obstacle, or the ultrasonic waves do not reflect properly on a particular material. You can keep the measurement target at a distance from the sensor by adjusting the operating range of the sensor.
Question: Can I use multiple ultrasonic sensors at the same time?
Yes, you can use multiple ultrasonic sensors. Each sensor is assigned a different Trigger and Echo pin, and measured and processed separately in the code.