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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | af1c54c2546e38b8d02276313551882306332f25b90092305966b8025bb16efd |
|
MD5 | 3de486f436bd812e84e1c7ae0b6d1e1e |
|
BLAKE2b-256 | e386c604c0530055d71a554671277b2df8fd9ad1b925037d430dc75703b001ea |
Hashes for mlx90641_driver_devicetree-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6572d9ec1006ff20439817b1ff7dc8d0dcd6aea50b1a39fc69aedb27d3d3d94f |
|
MD5 | 43a163e6e2872beb7018dcc2108f0aca |
|
BLAKE2b-256 | 363d2fcacc1c55369f21518f508a6cc4ae9b760094db4c272d9e901cb3836ed7 |