Reading an MLX90614 Sensor with MicroPython cover
Research notebook

Reading an MLX90614 Sensor with MicroPython

MicroPython_GY906_MLX90614 is a focused Raspberry Pi Pico example for the GY906 breakout built around the MLX90614 non-contact infrared temperature sensor. The driver is adapted from Adafruit's CircuitPython implementation for a MicroPython workflow.

The tested I2C wiring is:

Raspberry Pi PicoGY906
GP27SCL
GP26SDA
3V3VCC
GNDGND

After copying the repository code to the Pico, use the readings as sensor measurements, not as a substitute for a calibrated clinical thermometer. Surface emissivity, field of view, distance, ambient temperature, and the breakout's own thermal state all affect infrared measurements.

The value of this repository is its small surface area. It provides a working bus mapping and MicroPython driver that can be folded into a logger, display, alarm, or control loop without bringing along a larger framework.

Browse the MLX90614 MicroPython repository for the source and its Adafruit attribution.