/HDThermalCamera-MLX90640

Sample program to use the MLX90640 thermal camera and display temps on a TFT display

Primary LanguageC++

Version 1.0 updated 4/4/2021

Sample Program for Thermal imaging camera, MLX90640, Teensy 4.0, and ILI9341 TFT display

This program is the full source code in displaying temperatures measured from an MLX90640 thermal camera. The camera is a 32 x 24 sensor array, but this program will scale the display up to 310 x 230 through interpolation. Color mapping between temperatures and a 565 color palet is used for displaying data. Other features are legends with a temperature gradient and a histogram showing temperatur frequencies. Other controls let the user set the temperatue, range, and refresh rate.

This porgram was tested using a Teensy 4.0 and ILI9341-based display. It is highly unlikely this program can be ported to use an Arduino, as they will probably not have enough memory or computing power.



Simple display of 32 x 24 1:1 pixel sizing


header image

Scaled display to 320 x 240 1:10 pixel sizing


header image

Scaled display to 310 x 230 1:10 pixel with interpolation


header image