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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97e113ca86625f8503dad4337625ad79eff9eb11ca9d644e7066b6e848816b64 |
|
MD5 | 8828947c97c1cdae32fa75dea566d637 |
|
BLAKE2b-256 | 72f1ccb7f55807abf8c8c5748bdfa163498f64b941bf3bb29da936e8c6fd10e9 |
Hashes for mlx90641_driver_devicetree-1.1.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35c835bd66e18a4acde3a71f29daba308b5fe9234627e02d9be5fcb65ff62bb6 |
|
MD5 | 6ec509957da8e9e7ee154a03666fdb3b |
|
BLAKE2b-256 | d53faaf029f472d644d9c60380f24cac4cc69686cd2f66d3db24679deaafedcc |