semvec/pypi-packages huggingface dataset:
mlx90640-driver 1.1.2
MLX90640 Melexis thermal camera (32x24) rapid prototyping python package (on windows 10, linux pc, raspberry pi, jetson nano, beagle bone, ...)
License: Apache License, Version 2.0
Requires Python: >=3.6

# MLX90640 driver

[![GitHub release (latest by date)](https://img.shields.io/github/v/release/melexis-fir/mlx90640-driver-py?label=github-latest-release-tag)](https://github.com/melexis-fir/mlx90640-driver-py/releases) ![Lines of code](https://img.shields.io/tokei/lines/github/melexis-fir/mlx90640-driver-py)  

[![PyPI](https://img.shields.io/pypi/v/mlx90640-driver)](https://pypi.org/project/mlx90640-driver) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mlx90640-driver) ![PyPI - License](https://img.shields.io/pypi/l/mlx90640-driver-mcp2221)  

![platform](https://img.shields.io/badge/platform-Win10%20PC%20%7C%20linux%20PC%20%7C%20rasberry%20pi%204%20%7C%20Jetson%20Nano%20%7C%20beagle%20bone-lightgrey)  


# Intro

MLX90640 is a thermal camera (32x24 pixels) using Far InfraRed radiation from objects to measure the object temperature.  
https://www.melexis.com/mlx90640  
This python driver interfaces the MLX90640 and aims to facilitate rapid prototyping.

Currently this driver supports 3 type of I2C interfaces:
- EVB90640-41 ==> https://www.melexis.com/en/product/EVB90640-41/
- Raspberry Pi with I2C on the 40-pin header.
- MCP2221 USB to I2C adaptor.

And 4 operation systems platforms:  
- Windows 10
- Ubutuntu
- Rasberry pi 4B
- Jetson Nano (Nvidia)

## Getting started

### Installation

```bash
pip install mlx90640-driver
```

https://pypi.org/project/mlx90640-driver/  
https://pypistats.org/packages/mlx90640-driver

Note This is a base package, therefore one of the below I2C drivers is still needed:  
- https://github.com/melexis-fir/mlx90640-driver-evb9064x-py
- https://github.com/melexis-fir/mlx90640-driver-devicetree-py  (/dev/i2c-<x>)
- https://github.com/melexis-fir/mlx90640-driver-mcp2221-py
- or make your own.

### Running the driver demo

* Connect the EVB to your PC.  
* Open a terminal and run following command:  

```bash
mlx90640-dump auto
```

This program takes 1 optional argument.

```bash
mlx90640-dump <communication-port>
```