Skip to content
Advertisements

Arduino Contactless Thermometer with MLX90614 + OLED / LCD

 

          Hello, and welcome to this tutorial, here I’ll use a MLX90614 (GY906) Infrared non contact temperature sensor, I’ll use it with a LCD i²c screen and OLED display, and I’ll measure temperature in °C and °F.

So, each object emits infrared waves depending on its heat, and these waves are detected using a thermopile which get hotter and hotter, in the same time converting the excess heat to electricity, you can learn more if you want read this Article.

Here are some information about the MLX 90614 sensor:

  • Range for ambient temperature: -40 to 125 ˚C (-40 to 257 °F)
  • Range for object temperature (non contact): -70 to 380 ˚C (-94 to 716 °F)
  • Resolution: 0.02 °C
  • Accuracy: 0.5°C for (0-50 °C) both ambient and object

You can use this sensor for medical and healthcare applications, home automation, or measure surfaces using a non invasive  method.

If you need to check other temperature modules here are some articles:

 

Parts

Here are the parts I’ll use, I used both LCD and OLED, and chose whatever suits your project, alongside I used a breadboard and some jump wires:

 

Wirings

Wiring 1
Direct wiring to test with serial monitor
Wiring 2
with LCD i²c
Wiring 3
with OLED 128*32

 

Libraries

  • MLX90614 (GY906) Adafruit library : Download here
  • LCD i²c library:    Download here LCD i²c NewLiquidCrystal library
  • OLED libraries: –  Download here  Adafruit OLED SSD1306 library                                                               –  Download here Adafruit GFX Library

 

Codes

Test

First we test with serial monitor only, I placed my hand over the sensor, you can see the difference

TestTEst
Test with Serial monitor

 

Test with LCD screen, and measure in Celsius

TestTEst3
Test with LCD

 

Test with OLED screen, and measure in Fahrenheit

TestTEst2
Test with OLED

 

This is pretty much all, if you have any problem leave it in a comment or contact me on FB page…

Advertisements

Yassine View All

Electronics, Automation engineering student... I try to share my little experience with other electronics amateur.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: