Infrared Thermometer with Arduino and MLX90614 Temperature Sensor

Most of the temperature measurement techniques around the world require some sort of physical contact between the temperature sensor and the object or environment whose temperature is to be measured, but as technology advanced, this changed too. The need to be able to measure the temperature of an object without physical contact arose. This need brought the measurement of temperature using infrared sensors.

Infrared Thermometer with Arduino and MLX90614 Temperature Sensor

The principle of operation of Infrared thermometers is simple, all bodies at a temperature above 0°Kelvin (absolute zero) emit an infrared energy which can be detected by the infrared thermometer sensor. It’s design includes a lens that focuses the infrared energy being emitted by the object in front of a detector. The detector converts the energy into an electrical signal which then can be passed to a microcontroller to interpret and display in units of temperature after compensating for the variation in ambient temperature.

Today, we will build a DIY Infrared based thermometer using an Arduino Uno, the MLX90614 IR temperature sensor, and a Nokia 5110 LCD display shield to display the measured temperature.

The MLX90614 is an infrared temperature sensor for non-contact temperature measurement. It can measure temperatures within the range of -70 to 380 degree Celsius with an accuracy of about 0.5C at room temperature.

Some of the features of this sensor are listed below:

  1. Small size and low cost
  2. Easy to integrate
  3. Factory calibrated in wide temperature range: -40 to 125°C for sensor temperature and -70 to 380°C for object temperature
  4. High accuracy of 0.5°C over a wide temperature range (0..+50 C for both Ta and To)
  5. Measurement resolution of 0.02°C
  6. Single and dual-zone versions
  7. SMBus compatible digital interface for fast temperature readings and building sensor networks
  8. Customizable PWM output for continuous reading
  9. Available in 3V and 5V versions

For this tutorial also, for the first time, we will use the Nokia 5110 LCD shield, while we have used the other version of the display several times we have never used the shield version. The shield comes with a joystick and a button. It is pin compatible with the Arduino Uno and most other Arduino boards.

Required Components

The following components are required to build this project:

  1. MLX90614 IR SENSOR
  2. NOKIA 5110 SHIELD
  3. Arduino Uno

As usual, the exact components used in this tutorial can be bought via the links attached to each of the components above.


The schematics for this project is very easy because the display comes as a shield which takes away the need to connect it via wire and all we need to do is to plug the display on the Arduino. The connection between the Arduino and the temperature sensor is shown in the schematics below.

To make the connections easier to follow, the connection is further detailed below.

MLX90614 – Arduino Uno

VCC  - 5V
SCL  - A5
SDA  - A4

Go over the connection once again to ensure everything is as it should be.


Our goal for this project is to measure the temperature, process it and display it on the LCD. To enable us to communicate easily with the mlx90614 temperature sensor, we will use the mlx90614 temperature sensor library from Adafruit and the Nokia 5110 LCD graph library for easy display of text on the screen. The libraries can be downloaded via the link attached to each of the libraries in the sentence above.

Read more: Infrared Thermometer with Arduino and MLX90614 Temperature Sensor

About The Author

Ibrar Ayyub

I am an experienced technical writer with a Master's degree in computer science from BZU Multan University. I have written for various industries, mainly home automation, and engineering. I have a clear and simple writing style and am skilled in using infographics and diagrams. I am a great researcher and is able to present information in a well-organized and logical manner.

Follow Us:
Scroll to Top