pyChirpLib MicroPython Library
MicroPython library by scopelemanuele for the Chirp / Catnip I2C soil moisture sensor. Enables MicroPython-based microcontrollers to read soil moisture, temperature, and light over I2C with minimal code.
Overview
A lightweight MicroPython library for interfacing with the Chirp / Catnip Electronics I2C soil moisture sensor. Created by scopelemanuele, it brings support for this popular capacitive sensor to the MicroPython ecosystem, making it accessible on ESP32, ESP8266, and other MicroPython-compatible boards.
Features
- Read soil moisture, temperature, and light values
- Simple I2C interface via MicroPython's
machine.I2C - Includes example code for quick start
- Apache 2.0 licensed
Getting Started
Copy chirp.py to your MicroPython device and import it. The repository includes example scripts demonstrating basic sensor reading.





