KrisKasprzak
Well-known member
As you may recall. I built a thermal camera using and 8x8 sensor and a Teensy 3.2, and while my interpolate routing to scale the 8x8 up to 70 x 70 to smooth the display, 8x8 is, well eh.
Melexis offers a 32 x 24 array and after 3 months of waiting due to back order, my unit finally arrived. I could not wait to connect it to my Teensy 4.0. I built a thermal camera using this MLX90640 camera and a Teensy 4.0, with the following capability
1. 32x24 pixel array scaled up to 310 x 230 using linear interpolation (linear is good enough since the display is only 16-bit color)
2. display on a 320 x 240 ILI9341 display
3. added a gradient legend
4. added a histogram to show quantities of temp ranges
5. added a cute icon to activate a menu with slider controls and option buttons for setting display and operating parameters
6. added a print screen function so you can save a snapshot of the display to an SD card (I'm able to get SD+Display+touch+pixel reading with a very specific 320x240 display)
7. added an option to interpolate the results or show 32 x 24 with 10x10 square pixels
8. touchscreen support
9. ability to set max and min temperature
Fun project but NOT possible without a Teensy.
Source code in the videos link
https://youtu.be/1EBoug27hrA
Sample images (of course I had to use hand gestures for the Teensy model number)
raw display where each pixel is scaled to a 10x10 rectangle

Interpolated image with gradient legend

Interpolated image with histogram legend

Melexis offers a 32 x 24 array and after 3 months of waiting due to back order, my unit finally arrived. I could not wait to connect it to my Teensy 4.0. I built a thermal camera using this MLX90640 camera and a Teensy 4.0, with the following capability
1. 32x24 pixel array scaled up to 310 x 230 using linear interpolation (linear is good enough since the display is only 16-bit color)
2. display on a 320 x 240 ILI9341 display
3. added a gradient legend
4. added a histogram to show quantities of temp ranges
5. added a cute icon to activate a menu with slider controls and option buttons for setting display and operating parameters
6. added a print screen function so you can save a snapshot of the display to an SD card (I'm able to get SD+Display+touch+pixel reading with a very specific 320x240 display)
7. added an option to interpolate the results or show 32 x 24 with 10x10 square pixels
8. touchscreen support
9. ability to set max and min temperature
Fun project but NOT possible without a Teensy.
Source code in the videos link
https://youtu.be/1EBoug27hrA
Sample images (of course I had to use hand gestures for the Teensy model number)
raw display where each pixel is scaled to a 10x10 rectangle

Interpolated image with gradient legend

Interpolated image with histogram legend
