I2C for MLX90640 using device tree (raspberry pi, jetson nano, beagle bone, ...)
Project description
MLX90640 driver for device tree on a SBC.
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).
Getting started
Installation
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
.
Running the driver demo
- 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!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mlx90640-driver-devicetree-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77e3e6e3df62b3bf4e01ecf154e32fdd95698edd49440075dfc21fc056b5b4c0 |
|
MD5 | 3d2bdb39e3558318952ea0b28e2de75d |
|
BLAKE2b-256 | 518d7fa4c061702247d46836d0908f9f1c06af9bf3c9372df899b97bf40f5094 |
Hashes for mlx90640_driver_devicetree-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a947cb6fdf22be1d811e430842e3c67054bc98ab04bd5418a64f709d7ad608d6 |
|
MD5 | fc0ea30a81134e30469f5aa89fa1ccbd |
|
BLAKE2b-256 | 019e7517dbdd780c422b3c782337ca5e8cc49c9d137c5206b2a46db9088bca7b |