MLX90621 simple, clear and robust service for raspberry Pi
TODO: finish Readme.md
The purpose of this project was to make a robust service to capture MLX90621 data using WiringPi library. The data are stored in a fifo file to be taken by other applications. In the examples folder there are two python programs to adquire the data. Simpletest.py is a minimum program to test if the service is working rigth. Ocv_camera.py is a thermal camera running at 15fps using OpenCV, so you need to have it installed -https://www.pyimagesearch.com/2016/04/18/install-guide-raspberry-pi-3-raspbian-jessie-opencv-3/-
Based on simple demonstration daemon for the MLX9062x 16x4 thermopile array by Chuck Werbick modified by https://github.com/terickson/mlxd. I2c comms by Reinoso G. 09/02/2017 https://github.com/electronicayciencia/wPi_soft_i2c. MLX90621 Datasheet https://www.melexis.com/-/media/files/documents/datasheets/mlx90621-datasheet-melexis.pdf
It doesn't require BCM2835 library
First of all enable i2c
sudo raspi-config ->interfacing options ->i2c ->enable
Set 400k as i2c baudrate
sudo nano /boot/config.txt
and add at the end: dtparam=i2c_baudrate=400000
sudo reboot
Install thermomin
git clone https://github.com/rod0/thermomin
cd ./thermomin
make
chmod +x install.sh
sudo ./install.sh
Test the service
cd ./examples
python ./simpletest.py