Ultra-Basic Thermal Camera Built Using Arduino Uno

Thermal cameras can cost well into the five-figure range if you’re buying high-resolution models with good feature sets. New models can be so advanced that their export and use is heavily controlled by certain countries, including the USA. If you just want to tinker at the low end, though, you don’t have to spend a lot of scratch. You can even build yourself something simple based on an Arduino Uno!

The build uses Panasonic’s cheap “Grid-EYE” infrared array as the thermal sensor, in this case, a model with an 8×8 array of thermopiles. It’s not going to get you any fancy images, especially at long range, but you can use it to get a very blocky kind of Predator-vision of the thermal radiation environment. It’s a simple matter of hooking up the Grid-EYE sensor to the Arduino Uno over I2C, and then spitting out the sensor’s data in a nice visual form on a cheap TFT screen.

It’s a great introduction to the world of thermal imaging. There’s no better way to learn how something works by building a working example yourself. We’ve featured a few similar projects before, too; it’s all thanks to the fact that thermal sensors are getting cheaper and more accessible than ever!

Heat Seeking Robot And Camera Tear Down

[Marco Reps] found an HT02 thermal imaging camera in his mailbox. He found the resolution was fine for looking at big objects but worthless for examining circuit boards. So he decided to just tear it into pieces — an urge we totally understand.

Inside was a thermopile sensor that was easy to reverse engineer. So [Marco] decided to rework a Raspberry Pi robot to use the camera and turn it into a heat seeker.

Continue reading “Heat Seeking Robot And Camera Tear Down”

Adding Optics To A Consumer Thermal Camera

[David Prutchi] writes in to tell us about his recent experiments with building lenses for thermal imaging cameras, which to his knowledge is a first (at least as far as DIY hardware is concerned). With his custom designed and built optics, he’s demonstrated the ability to not only zoom in on distant targets, but get up close and personal with small objects. He’s working with the Seek RevealPro, but the concept should work on hardware from other manufacturers as well.

In his detailed whitepaper, [David] starts by describing the types of lenses that are appropriate for thermal imaging. Glass doesn’t transmit the wavelengths that thermal camera is looking for, so the lenses need to be made of either germanium or zinc selenide. These aren’t exactly the kind of thing you can pick up at the local camera shop, and even small lenses made of these materials can cost hundreds of dollars. He suggests keeping an eye out on eBay for surplus optics you could pull them out of to keep costs down.

Creating the macro adapter is easy enough, you simply put a convex lens in front of the thermal camera. But telephoto is a bit more involved, and the rest of the whitepaper details the math and construction techniques used to assemble it the optics. [David] gives a complete bill of materials and cost breakdown for his telephoto converter, but prepare for a bout of sticker shock: the total cost with all new hardware is nearly $500 USD. The majority of that is for the special lenses though, so if you can score some on the second-hand market it can drop the cost significantly.

We’ve seen an impressive array of thermal camera hacks and projects recently, no doubt due to the falling prices of consumer-level imaging hardware. Given their utility as a diagnostic tool, a thermal camera might be something worth adding to your bag of tricks.

DIY Thermal Camera That’s Better And Cheaper Than A FLIR

A few years ago, FLIR unleashed a new line of handheld thermal imagers upon the world. In a manufacturing triumph, the cheapest of these thermal imaging cameras contained the same circuitry as the one that cost six times as much. Much hacking ensued. Once FLIR figured out the people who would be most likely to own a thermal imaging camera can figure out how to upload firmware, the party was over. That doesn’t mean we’re stuck with crippled thermal imaging cameras, though: we can build our own, with better specs than what the big boys are selling.

[Max] has been working on his DIY thermal imager for a while now. We first saw it about a year ago, and the results were impressive. This thermal camera is built around the FLIR Lepton sensor, providing thermal images with a resolution of 60 by 80 pixels. These thermal images were combined with a VGA resolution camera to produce the very cool enhanced imagery the commercial unit will get you. There’s also a 1/4-20 threaded insert on the bottom of [Max]’s version, making it far more useful in any experimental setup.

Now [Max] has unleashed his DIY Thermocam on the world of Open Hardware, and anyone can build their own for about €400 (about $425). The components required for this build include a FLIR Lepton sensor easily sourced from the Digikey or GroupGets, an Arducam Mini, a Teensy 3.6, and a mishmash of components that are probably kicking around your parts drawers.

If you want an overview of this project before digging in, [Max] has a project overview (PDF warning) going over the build. This is one of the better DIY projects we’ve seen recently, and the documentation is fantastic. If you’re thinking about buying one of those fancy thermal imaging cameras, here you go — this one is just as good and half off.

DIY thermal imaging heat map

DIY Thermal Imaging Done Low-Tech Style

[Niklas Roy] has always wanted to try out thermal imaging and saw his opportunity when he received one of those handheld IR thermometers as a gift. But not content with just pointing it at different spots and looking at the temperatures on the LCD display, he decided to use it as the basis for a scanning, thermal imaging system that would display a heat map of a chosen location on his laptop.

DIY thermal imaging system
DIY thermal imaging system

He still wanted to to be able to use the IR thermometer as normal at a later date so cutting it open was not an option. Instead he firmly mounted a webcam to it pointing at the LCD display. He then wrote software on his laptop to process the resulting image and figure out what temperature was being displayed.

Once he got that working, he next put the thermometer on a platform with servos connected to an Arduino for slowly rotating it in the horizontal and vertical directions, also under control of the software on his laptop. Each time the thermometer measures the temperature of a spot, the software decodes the temperature on the LCD display and then tells the Arduino to use the servos to point the thermometer at the next spot to be measured. Each measurement takes a little time, so scanning an entire location as 70×44 spots takes around a half hour. But the end result is a heat map drawn on the laptop, done by a device that is low-tech. [Editor’s Snark: Because attaching a webcam and processing the images is “low-tech” these days.] He can overlay the heat map on a normal photo to see at a glance where the hot spots are.

The software he wrote is available on GitHub and the video below shows it in action. We’ve got to admit, it’s pretty awesome to watch. You can even see the heat map being filled in one measurement at a time.

Continue reading “DIY Thermal Imaging Done Low-Tech Style”

Hackaday Prize Entry: Raspberry Pi Thermal Imaging

High up on the list of desirable technologies that are edging into the realm of the affordable for the experimenter is the thermal camera. Once the exclusive preserve of those with huge budgets, over the last few years we’ve seen the emergence of cameras that are more affordable, and most recently a selection of thermal camera modules that are definitely within the experimenter’s range. They may not yet have high resolution, but they are a huge improvement on nothing, and they are starting to appear in projects featured on sites like this one.

One such device is the Melexis MLX90621, a 16×4 pixel thermal sensor array in a TO39 can with an I2C interface. It’s hardly an impulse purchase in single quantities and nor is it necessarily the cheapest module available, but its price is low enough for [Alpha Charlie] to experiment with interfacing it to a Raspberry Pi for adding a thermal camera overlay to the pictures from its visible light camera.

The wiring for the module is simplicity itself, and he’s created a couple of pieces of software for it that are available on his GitHub repository. mlxd is a driver daemon for the module, and mixview.py is a Python graphical overlay script that places the thermal array output over the camera output. A run-through of the device and its results can be seen in the video below the break.

Continue reading “Hackaday Prize Entry: Raspberry Pi Thermal Imaging”

Hackaday Prize Entry: Low Cost, DIY Thermal Imaging

A few years ago, thermal imaging sensors – cameras that could see heat – became very cheap. FLIR was going all-in with their Lepton module, and there were a number of clip-on cellphone accessories that gave the computer in your pocket the ability to see infrared.

Fast forward a few years, and you can still buy a thermal imaging sensor for your cellphone, and it still costs about the same as it did in 2013. For his Hackaday Prize project, [Josh] is building a more modern lower cost thermal imaging camera. It won’t have the resolution of the fancy $1000 FLIR unit, but it will be very inexpensive with a BOM cost of about $50.

[Josh] is building his low-cost thermal camera around Panasonic’s Grid-EYE module. This thermopile array contains 64 individual infrared sensors, giving this ‘camera’ a resolution of 8×8 pixels. That’s nothing compared to the thousands of pixels found in devices using the FLIR Lepton, but the Grid-EYE is very cheap.

Right now, [Josh]’s build is using an ARM Cortex M0+ and a cheap touch screen LCD he picked up from AliExpress. There’s an optional component to this build in the form of a visible light camera, giving [Josh] the ability to overlay thermal sensor data over a visible light image, just like the fancier, more expensive units.

With a total BOM cost of $44.50, [Josh]’s build is easy on the pocketbook, but still good enough to get some useful information. It’s a great build, and a great entry for The Hackaday Prize.