Getting The Heat On With A Thermal Camera

Need a quick way to tell your temperature before work tomorrow? Student maker [The Marpe] recently fashioned a sleek home-use thermal camera that even looks like a point and shoot. It works as an Android hardware add-on by integrating the readings from a MLX90640 far-infrared (FIR) thermal sensor with a STM32F042F6Px microcontroller. All this connects to an Android application via USB (MicroUSB or Type C).

On the app, users are able to view, take photos, and display the resulting thermal images from the open thermal camera. The code for the open Android application is also available on his GitHub.

The FIR sensors contain a small array of IR pixels, integrated to measure the ambient temperature of the internal chip, and supply sensor to measure the VDD. Each pixel on the sensor array responds to the IR energy focused on it to produce an electronic signal, which is processed by the camera processor to create a map of the apparent temperature of the object. The outputs of the sensors and VDD are stored in an internal RAM and are accessible through 3.3V I2C. They’re not only low-cost and fairly high resolution, but also available by order on Digi-Key.

The microcontroller is based on the STM32 platform, with 32-bit performance, low-power operation (at 2V to 3.6V and 48 MHz) and is fairly low-cost. The custom-designed PCBs are fitted inside a 3D-printed casing with M2.5 inserts to ease assembly. [The Marpe] used an Esra soldering iron to create a heat insert tool for easier assembly and more consistent results with the heat inserts, which made for a nicer overall finish.

The project has since been presented at the Ljublana Mini Maker Faire in Slovenia and the Trieste Mini Maker Faire in Italy. Here, the open thermal camera is being tested out on a faulty PCB with a shorted component, showing the location of the short on the Android application’s thermal camera display.

Other uses for the camera could be home insulation inspection, water leakage detection, wildlife observation, or even figuring out if your soldering iron is hot enough to use. We’ll say it’s a pretty useful DIY project!

13 thoughts on “Getting The Heat On With A Thermal Camera

    1. Cool project! One tip that I thought I’d send your way, as it would have my own optics-based project work a LOT better: to avoid parallax errors, any camera needs to pivot around the nodal point of its lens. (In your case, it will almost certainly be the surface of the sensor.) Get that right, and accurate super-resolution can be yours!

Leave a Reply to jakeCancel reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.