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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ef584594b08a38c9654c77b01c252e596456f4ceb03a7fd6b7d98772f37ce94 |
|
MD5 | 6f04b73fbfa5769257c12be2dc11c002 |
|
BLAKE2b-256 | bf6e29130949cb2388365713919d6f8ba73ec6757f7dbfc0c6de5fe5b87beb7c |
Hashes for mlx90641_driver_devicetree-1.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea04488c1903ab0413404d4fe5f19ae1302617a1d9f4ff6b8aa4637ac2c44677 |
|
MD5 | 7a9f4323ede9663b74fe54fe5217b807 |
|
BLAKE2b-256 | 1657f67fd0323242f63b797a6a646f9d196afb91f0989e6b78bcff424643a7ad |