
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 Pico | GY906 |
|---|---|
| GP27 | SCL |
| GP26 | SDA |
| 3V3 | VCC |
| GND | GND |
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.