Thursday, January 29, 2026
HomeEngineering Projects For YouContactless IR Thermometer

Contactless IR Thermometer

ashwiniWe will design an IR-based contactless thermometer using the MLX90614 sensor. This contactless device can also be used for measuring the environmental temperature or for measuring the temperature of water, flame and other objects.

Contactless IR Thermometer

Bill of Material

Let’s start our project by collecting the following components.

- Advertisement -

Contactless IR Thermometer

Coding

Open Arduino IDE. Go to Sketch and then open the Library Manager. Search the following libraries and install them.

- Advertisement -
  • U8g2
  • Adafurit_Mlx90614

To begin coding, add the libraries in the code and then create a setup function where the serial port baud rate is set to 9600. After that, initialise the sensor and the OLED communication.

Next, create a loop function where we will update the sensor readings and display that on the OLED display.

Contactless IR Thermometer

Contactless IR Thermometer

We will also make a small thermometer icon on the OLED display, which will show the rise and fall levels according to the readings of the temperature sensor. To do so, we have to map the sensor readings with the height of the OLED display and then draw a frame to show the rise and fall of temperature using the following code.

Contactless IR Thermometer

Connection

After writing the code, upload it to Arduino and then connect all the components as shown in the circuit diagram. 

Contactless IR Thermometer
Connection

Also, check the digital thermometer

Testing 

Congrats!! Now our device is ready. Power the device with 5V and then point the sensor towards your body. It will show your body temperature. By pointing the device towards flame, food or any other materials, their temperature can be detected as well. 

Contactless IR Thermometer

Contactless IR Thermometer

Download Code

Ashwini Sinha
Ashwini Sinha
A tech journalist at EFY, with hands-on expertise in electronics DIY. He has an extraordinary passion for AI, IoT, and electronics. Holder of two design records and two times winner of US-China Makers Award.

7 COMMENTS

SHARE YOUR THOUGHTS & COMMENTS

EFY Prime

Unique DIY Projects

Truly Innovative Electronics

Electronics News

Latest DIY Videos

Electronics Components

Electronics Jobs

Calculators For Electronics

×