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-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa642b0d1fe4481d023de029f0ed90eabbe83be6434f570c81b5b23a0206db2b |
|
MD5 | 2b21386716b3605b723ef8cbdff2a16f |
|
BLAKE2b-256 | 78d04284dbff77f6547a0f8dd6fa11bd009c813b7fbc1936af37a5a4e1ad8ae4 |
Hashes for mlx90640_driver_devicetree-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04649298a5d28854b5ca3e2bf03fe010533c004cc26a3b5822beb04cb67677ef |
|
MD5 | 6df572fbf0e5341a3c49510fa5802215 |
|
BLAKE2b-256 | f33fa7f530e10398b6d41b9e3e172948d2355681188721eda4f1b37a5d3f4941 |