Skip to content

MLX90641 16x12 FIR Array driver with I2C on device tree of single board computer -- python interface

License

Notifications You must be signed in to change notification settings

melexis-fir/mlx90641-driver-devicetree-py

Repository files navigation

MLX90641 driver for device tree on a SBC.

GitHub release (latest by date) Lines of code

PyPI PyPI - Python Version PyPI - License

platform

MLX90641 is a thermal camera (16x12 pixels) using Far InfraRed radiation from objects to measure the object temperature.
https://www.melexis.com/mlx90641
The python package "mlx90641-driver" driver interfaces the MLX90641 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).

Getting started

Installation

pip install mlx90641-driver-devicetree

https://pypi.org/project/mlx90641-driver-devicetree
https://pypistats.org/packages/mlx90641-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.

Running the driver demo

  • Connect the MLX90641 on the I2C bus of the SBC.
  • Open a terminal and run following command:
mlx90641-devicetree-dump /dev/i2c-1

This program takes 1 optional argument.

mlx90641-devicetree-dump <communication-port>

Note: this dump command is not yet available!