I2C for MLX90641 using device tree (raspberry pi, jetson nano, beagle bone, ...)
Project description
MLX90641 driver for device tree on a SBC.
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-dump-devicetree /dev/i2c-1
This program takes 1 optional argument.
mlx90641-dump-devicetree <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 mlx90641-driver-devicetree-1.1.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fda7a97ae2e86216138b40c31a5d7940cd82389bc2dbe7fa8c9030daac25260 |
|
MD5 | 9c6c78d45e8b5c0b8cfc4abf27968e20 |
|
BLAKE2b-256 | 1e85e9c30b19788edea77b2b4883489e203f2a5d7a185de379921511f514e7c8 |
Hashes for mlx90641_driver_devicetree-1.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53a135433910245e2593ff46b281e432d461bad2d2c01823082a5dfbffdb4925 |
|
MD5 | 19cab1f0ae65c1da9a923fcdcaf4f027 |
|
BLAKE2b-256 | fae6e7aec6198b889d1fb75e67e2c31f86b9268d6ac6f7ec228aeb6979973b87 |