Public Lab Research note


  • 0

Thermal Camera: Arduino UNO + MLX90614 IR Thermometer

by ad |

I did the following steps:

1) Hardware: Connect the MLX90614 (refer to the datasheet) as follows: Pin 1 on MLX (SCL) connect to ANALOG pin 5 on Arduino Pin 2 on MLX (SDA) connect to ANALOG pin 4 on Arduino Pin 3 on MLX (VDD) connect to 3.3V on Arduino Pin 4 on MLX (VSS) connect to GROUND on Arduino

Now use "pull ups" on the SCL and SDA lines by connecting a 4.7K ohm resistor from the Pin 3 VDD line to the SCC line and a 4.7K ohm resistor from the Pin 3 VDD line to the SDA line.

Image of Thermometer Hook Up

2) Connect the RBG LED. Simple wiring diagram for RGB LED: http://wiring.org.co/learning/basics/rgbled.html. For the attached Arduino sketch, hook up is as follows: RGB LED Pins

Leg 1 = RED pin of the LED to PWM pin 6 Leg 2 = Ground Leg 3 = GREEN pin of the LED to PWM pin 5 Leg 4 = BLUE pin of the LED to PWM pin 3 {***NOT pin 4 as shown in the diagram above!!!!!!!!!}

3) Software: Download MLX90614 IR Thermometer Library here: http://bildr.org/2011/02/mlx90614-arduino/

To make this code work, before you load the code, or even open the Arduino program, we need to place the “I2Cmaster” in your Arduino Library.

On your Mac:: In (home directory)/Documents/Arduino/libraries On your PC:: My Documents -> Arduino -> libraries On your Linux box:: (home directory)/sketchbook/libraries

Final Arduino sketch attached.

Files Size Uploaded
ThermalReadingsRGBMapping_LED.zip 1.79 KB 2011-12-05 22:47:28 +0000


thermal-photography arduino thermal-flashlight


6 Comments

The original image shows "yellow purple orange" resistors, but 4.7K is "yellow purple red".

The schematics show 3.3V, but this varies from part to part. For example, 90614-AAA uses 5V.


Also, Alicia - where was that modified i2cmaster.h file we found/made?

Is this a question? Click here to post it to the Questions page.


This looks helpful, i think it was the one we used: http://bildr.org/2011/02/mlx90614-arduino/

To complicate things even more, the i2cmaster wont run on the Arduino out of the box, some files need to be renamed and changed, and an extra txt file is needed to get it working. But… because it is open-sourced I can make those changes, and redistribute it. So that’s what I’m going to do, I’m just giving it to you here in its working version to save you some time and headache. You will need to drop the library into your Arduino library folder for it to work, but we will get there.

To make this code work, before you load the code, or even open the Arduino program, we need to place the “I2Cmaster” in your Arduino Library. If you don’t know where that is by default, Look to the right.

Once the I2CMaster folder is in there, you can just go ahead and open MLX90614.pde in your Arduino software, and upload it.

Direct link to code download: http://code.bildr.org/download/777.zip

Thanks, Adam Meyer!


fantastic post, very informative. I wonder why the opposite experts of this sector do not understand this. You must proceed your writing. I'm confident, you have a huge readers' base already!


constantly i used to read smaller articles or reviews which as well clear their motive, and that is also happening with this post which I am reading at this place.


How to connect camera ?

Is this a question? Click here to post it to the Questions page.


You must be logged in to comment.