Skip to content

m5stack/M5Unit-DISTANCE

Repository files navigation

M5Unit - DISTANCE

Overview

Library for DISTANCE using M5UnitUnified.
M5UnitUnified is a library for unified handling of various M5 units products.

SKU:U098-B1

UNIT SONIC I2C is an I2C interface ultrasonic distance sensor. This allows for easy I2C integration and multi-sensor operation using a single BUS, to save I/O resources. The 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%). It is ideal to apply in robotics obstacle avoidance, fluid level detection, and other applications that require you to perform measurements.

SKU:U098-B2

Unit Ultrasonic-IO is a GPIO interface ultrasonic distance measurement sensor. The hardware uses the RCWL-9620 ultrasonic distance measurement single-chip combined with a 16 mm probe, capable of achieving precise distance measurement within the range of 2 cm-450 cm (accuracy up to ±2%). After the controller sends a trigger signal, the sensor outputs a pulse duration corresponding to the sound wave reflection time, and the distance can be calculated from this data. The IO control method gives this sensor an extremely fast response speed, making it very suitable for applications such as robot obstacle avoidance and liquid level detection.

Future Plans

  • Unit Ultrasonic(SKU:U098) will support soon.

Related Link

See also examples using conventional methods here.

Required Libraries:

License

Support via PbHub

Unit Support
UnitUltraSonicIO NG

See also M5Unit-HUB

Examples

See also examples/UnitUnified

Doxygen document

GitHub Pages

If you want to generate documents on your local machine, execute the following command

bash docs/doxy.sh

It will output it under docs/html
If you want to output Git commit hashes to html, do it for the git cloned folder.

Required

About

Library for UnitDISTANCE using M5UnitUnified.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published