{
  "id": "howmanyoliversarethere/micropython-i2c-ultrasonic",
  "name": "micropython-i2c-ultrasonic",
  "prettyName": "micropython-i2c-ultrasonic",
  "description": "A MicroPython driver for the RCWL-9620-based M5 I2C Ultrasonic Distance Unit",
  "version": "",
  "author": "howmanyoliversarethere",
  "license": "MIT",
  "tags": [],
  "status": "VALID",
  "official": false,
  "source": "https://github.com/howmanyoliversarethere/micropython-i2c-ultrasonic",
  "updatedAt": "2026-09-28T07:00:15.791Z",
  "page": "https://checkmim.com/packages/howmanyoliversarethere+micropython-i2c-ultrasonic",
  "createdAt": "2025-05-27T04:33:06.360Z",
  "submittedBy": "oliverr",
  "install": {
    "mpremote": "mpremote mip install github:howmanyoliversarethere/micropython-i2c-ultrasonic",
    "mip": "import mip; mip.install(\"github:howmanyoliversarethere/micropython-i2c-ultrasonic\")"
  },
  "readme": "# MicroPython I2C Ultrasonic\n\nThis is a [MicroPython](https://micropython.org) driver for the [M5 Ultrasonic Distance Unit I2C (RCWL-9620)](https://shop.m5stack.com/products/ultrasonic-distance-unit-i2c-rcwl-9620).\n\nThe 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.\n\n## Installation\n\nUsing [mip via mpremote](https://docs.micropython.org/en/latest/reference/packages.html#installing-packages-with-mpremote):\n\n```bash\nmpremote mip install github:HowManyOliversAreThere/micropython-i2c-ultrasonic\n```\n\n## Usage\n\nSee the `examples` folder for examples for MicroPython versions 1.11 and 1.19.\n"
}