MLX90640 is a thermal camera (32x24 pixels) using Far InfraRed radiation from objects to measure the object temperature.
https://www.melexis.com/mlx90640
The python package "mlx90640-driver" driver interfaces the MLX90640 and aims to facilitate rapid prototyping.
This package provide the I2C low level routines. It uses the I2C from the device tree of a single board computer(SBC).
pip install mlx90640-driver-devicetree
https://pypi.org/project/mlx90640-driver-devicetree
https://pypistats.org/packages/mlx90640-driver-devicetree
Note:
Make sure the user has access to /dev/i2c-<x>
.
And easy way to do this is by adding the user to the group i2c
.
- Connect the MLX90640 on the I2C bus of the SBC.
- Open a terminal and run following command:
mlx90640-devicetree-dump /dev/i2c-1
This program takes 1 optional argument.
mlx90640-devicetree-dump <communication-port>
Note: this dump command is not yet available!