[Andrew] designed a simple thermal imager using the FLIR Lepton module, an STM32F4 Nucleo development board, and a Gameduino 2 LCD. The whole design is connected using jumper wires, making it easy to duplicate if you happen to have all the parts lying around (who doesn’t have a bunch of thermal imaging modules lying around!?).
The STM32F4 communicates with the Lepton module using a driver that [Andrew] wrote over a 21MHz SPI bus. The driver parses SPI packets and assembles frames as they are received. Images can be mapped to pseudocolor using a couple different color maps that [Andrew] created. His code also supports min/max scaling to map the pseudocolor over the dynamic range present in the image.
Unfortunately the Lepton module that [Andrew]’s design is based is only sold in large quantities. [Andrew] suggests ripping one out of a FLIR ONE iPhone case which are more readily available. We look forward to seeing what others do with these modules once they are a bit easier to buy.