Close

starting to play around with mlx90640 sensor, but most work on amg8833

A project log for spi write up to 64 colors at a time on Arduino!

amg8833 equivilent sensor thermal cam is a perfect example of how to write faster with spi lcd displays. 128x128 sample fast on Arduino.

jamesdanielvjamesdanielv 09/21/2018 at 02:571 Comment

got the mlx90640 communication with Arduino. still don't have the temp outputs. this sensor is a thermopile sensor where as the amg8833 is a barometer type. the amg8833 sensor is  more friendly to program for. for example the only code out there in the wild for mlx90640 currently works on pi, not Arduino or arm variants. my focus currently is to get the aruino and the amg8833 to work up to 128x128, then ill switch gears and put some effort into the mlx90640. code will need to be separate, because although both sensors use ic2 bus, the methods of use differer greatly. also mlx90640 can have up to 4 bad sensors in array and still be considered to be in spec. so interpolation between bad sensors will be needed at the get go, as well as uploading calibration data for each thermopile cell.

ill post my test code in a few days. i would like it to at least output temperature data,  even if it is not calibrated.

currently my code for sensor uses ~400 bytes and fits into less than 6k of flash. it is only to test sensor.

Discussions

jamesdanielv wrote 09/22/2018 at 04:22 point

i'm uploading an example file for Arduino that takes a row of sensor data from the MLX90640 sensor and outputs different dot sizes to terminal, so you can see your hand cross sensor. what i like about this sensor is you can instruct it to send only the bytes you want to use at a time. i have not incorporated calibration into sensor. any ways this is the first example out there for Arduino uno (in my case duemilanove) . it uses about 4k flash and 480 bytes. it needs clean up. will post it on github within 24hrs and add link here. this will be the first version made for arduino. the other versions require at least 16-20k of memory and i don't know why. the chip is capable of storing the measurement values it has on its internal ram. the calibration data can be stored in eprom.

  Are you sure? yes | no