Skip to content

melexis-fir/mlx90640-driver-evb9064x-py

Repository files navigation

MLX90640 driver for EVB90640-41

GitHub release (latest by date) Lines of code

PyPI PyPI - Python Version PyPI - License

platform

Warning: not stable yet.

  • Update is commit, but only validated on windows OS.
  • Currently only COM1 .. COM32 are supported.
  • Linux based OSes are not checked/validated.

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 EVB90640-41 which is connected via the USB cable to the computer.
https://www.melexis.com/en/product/EVB90640-41/

Getting started

Installation

pip install mlx90640-driver-evb9064x

https://pypi.org/project/mlx90640-driver-evb9064x
https://pypistats.org/packages/mlx90640-driver-evb9064x

Note:
On linux OS, make sure the user has access to the comport /dev/ttyUSB<x> or /dev/ttyACM<x>.
And easy way to do this is by adding the user to the group dialout.

Running the driver demo

  • Connect the MLX90640 to the EVB
  • Connect the EVB to your PC with the USB cable.
  • Open a terminal and run following command:
mlx90640-evb9064x-dump auto

This program takes 1 optional argument.

mlx90640-evb9064x-dump <communication-port>

Note: this dump command is not yet available!