PGD Home

Thermal Imager: Progress Update 1

by on Feb.16, 2014, under Inventions, News

I have received the MLX 90620 thermopile and my Pan and Tilt servo system for  this project, and I have come up with a simple concept test of the idea.

It was relatively easy to wire up the thermopile, and connect it to the arduino. It took a little more work to communicate with it over I2C. It turns out there is an array of 64 bit float values that needs to be calculated in order to calibrate this kind of thermopile. This array is different for each one, and I had to use a sketch to calculate the correct calibration values before I could use obtain temperate values from the thermopile.

I then used processing and a simple sketch I found to test the connection between the arduino and PC, and to visualise the 16×4 temperature values that I was getting from the thermopile array. This again, worked quite well.

I assembled the pan and tilt system using the manufacturers assembly instructions, this was easy, and then tested the servo code. I was surprised at how easy it is to control these servos, I was expecting it to be a lot more complex. I then soldering the thermopile and glued it to the pan/tilt system with a hot glue gun (A very useful tool, I don’t know how I did without one for so long!).

Since 16×4 is obviously far too low to be useful for any thermal imaging system, I intend to use use the pan/tilt kit to move the thermopile in a grid pattern, taking readings in 16×4 chunks, and assembling them together.

I ran into some issues while trying to program the servo motors to move the way I wanted. Interacting with the motors is easy, but I wanted the servos to move in the most efficient way possible, to pan from, say, left to right, tilting up and down, and then reversing direction. This turned out to be difficult, but I got it working.

I also got a basic concept test of the combined image working, although it will take some tweaking to get the individual chunks to line up properly.

The next step is to generate a properly aligned high-res image from the low-res chunks, and then run some smoothing algorithms on it. I will probably increase the size of the raw image by, say, three or four times, then interpolate the pixels inbetween to produce a smoothing effect. I will also implement colour coding as opposed to just grayscale.

 

ScreenHunter_31 Feb. 12 23.33ScreenHunter_30 Feb. 12 23.33ScreenHunter_26 Feb. 12 18.45ScreenHunter_45 Feb. 16 21.37ScreenHunter_44 Feb. 16 21.37ScreenHunter_40 Feb. 16 21.26

 

DSCF1338 DSCF1336 DSCF1335 DSCF1333 DSCF1332 DSCF1331  DSCF1327 DSCF1325

 

Facebooktwitterredditpinterestlinkedinmail

4 Comments for this entry

  • Andres Smithuis

    This is exactly what I was planning to do for a company I am working for! The thermal sensors out there on the market are quite expensive so I was hoping I could use a MLX90620 with some servo motors just like you did! I guess you are now working on the imaging aspect of the system? I am looking forward to see the results! Then I know for sure what is possible with this sensor and system. Keep it up!

    -Andres

    • PhoenixGames

      Hello, Thank you for your comment!

      I am working on the imagine aspect now, and one problem I have run into is that the field of view of the MLX90620 is quite wide. There are two variations of this thermopile out there, one with a 60 x 15 degree FOV and one with a 40 x 10 degree FOV. The 60×15 was the only one I could get, but I think the narrower field of view would be better. I am now going to have to do some processing on the software side to make sure I have enough data points spaced close enough together to produce a reasonable quality image. I will be posting more updates in the future!

      Thanks!

      • Andres Smithuis

        Great! Can’t wait to see the results! Interesting point about the FOV. Don’t think my retailer sells the 40×10 though so I’ll probably have to do with the larger one like you.

        Anyway I’m hoping you can pull it off. Your results might just be the lever I can use to pull more budget for the project I’m working on:P

        Anyway, good luck on creating the image;)

      • PhoenixGames

        Thanks, I’m hoping I can to!

        Good luck with your project too!

Leave a Reply

*

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!