Skip to content

HowManyOliversAreThere/micropython-i2c-ultrasonic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MicroPython I2C Ultrasonic

This is a MicroPython driver for the M5 Ultrasonic Distance Unit I2C (RCWL-9620).

The only feature is to read the distance, which is returned in milimetres. Note that the maximum read distance of the sensor is 4500 mm, and so a reading of this maximum value can be assumed to be incorrect.

Installation

Using mip via mpremote:

mpremote mip install github:HowManyOliversAreThere/micropython-i2c-ultrasonic

Usage

See the examples folder for examples for MicroPython versions 1.11 and 1.19.

About

A MicroPython driver for the RCWL-9620-based M5 I2C Ultrasonic Distance Unit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages