Skip to main content

PRE-RELEASE

Testing phase! Please do not yet use...

Validation

Interface Win PC Linux PC Raspberry Pi (linux) Nvidia Jetson Nano (linux)
EVB90632(usb) 0.1.5 0.1.5 0.1.5 0.1.5
FTDI(FT2232H) 0.1.5 0.1.5 0.1.5 0.1.5
I2C-bus(40pin) N/A N/A 0.1.5 0.1.5

mlx90632-driver

Intro

This python driver for MLX90632 aims to facilitate the interfacing on a PC.

Currently this driver supports 3 type of interfaces:

Getting started

Installation

https://pypi.org/project/mlx90632-driver/

pip install mlx90632-driver

On any linux platform for interfacing the EVB90632 we need to install hidapi.

sudo apt update
sudo apt install libhidapi-libusb0

See below for extra Raspberry pi installation instructions.


Running the driver demo

  • Connect the EVB to your PC.
  • Open a terminal and run following command:
mlx90632-dump

This program takes 1 optional argument.

mlx90632-dump <communication-url>

<communication-url> can be:

  • auto (default) search for the first port available with EVB90632 hardware as interface to MLX90632.
  • I2C-1 on raspberry pi use the I2C hardware; it requires raspi-config to enable i2c hardware.
  • mlx://evb:90632/1 use first EVB90632 on USB.
  • mlx://evb:90632/2 use second EVB90632 on USB.
  • ftdi://ftdi:2232/1 use first FT2232 port on USB.

Usage

Below you can find an example on how to read a sample of the MLX90632 senor with I2C address 0x3A. Please look into mlx90632.py for more advanced features.

import mlx.mlx90640 as mlx

dev = mlx.Mlx9064x('COM4', i2c_addr=0x33, frame_rate=8.0) # establish communication between EVB90640 and
                                                          # PC, the I2C address of the MLX90640 sensor is
                                                          # 0x33 and change the frame rate to 8Hz
dev.init()                      # read EEPROM and pre-compute calibration parameters.
frame = dev.read_frame()        # Read a frame from MLX90640
                                # In case EVB90640 hw is used, the EVB will buffer up to 4 frames, so possibly you get a cached frame.
f = dev.do_compensation(frame)  # calculates the temperatures for each pixel

Issues and new Features

In case you have any problems with usage of the plugin, please open an issue on GitHub.
Provide as many valid information as possible, as this will help us to resolve Issues faster.
We would also like to hear your suggestions about new features which would help your Continuous Integration run better.

Raspberry pi 3B+/4B

This driver is validated to work on a Rapberry Pi 4 configuration with raspbian buster february 2020 release.

Installation

  • sudo raspi-config
    • 'enable i2c' in interface; in case you want to connect MLX9064x on the I2C bus of RPi.
    • optional: 'enable ssh' in interface; now you can login remotely over the network.
  • sudo pip3 install virtualenv
  • sudo apt update
  • sudo apt install libhidapi-libusb0
  • virtualenv --system-site-packages pyvenv
  • . pyvenv/bin/activate
  • pip install mlx90632-driver

Release files for mlx90632-driver 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mlx90632-driver 0.1.5
File Size Uploaded
mlx90632-driver-0.1.5.tar.gz 17.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mlx90632-driver 0.1.5
File Interpreter ABI Platform
mlx90632_driver-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 39.0 kB

Release files / mlx90632-driver-0.1.5.tar.gz

Download URL mlx90632-driver-0.1.5.tar.gz
Size 17.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e719645984ded606d08e08397363879bed36d652fdb09acc3ca73c95f1cfdab5
BLAKE2b-256 checksum
How to use checksums
ccf0993a6fc6a0ec5256607903c8a78a12675ef50d5390c12baa077f5ec10372
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Release files / mlx90632_driver-0.1.5-py3-none-any.whl

Download URL mlx90632_driver-0.1.5-py3-none-any.whl
Size 21.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9edf9c5230cf2a859eb17bb8fc152d3d52fc30ce56411fcadc114d3759d239cc
BLAKE2b-256 checksum
How to use checksums
2c2ae822315523c13f7d3227c0d4df106264f699980a7437d072b3fe636515f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Release history Release notifications | RSS feed

1.3.0

2 release files

1.2.0

2 release files

1.1.1

2 release files

1.1.0

2 release files

0.1.6

2 release files

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page