MCP9808 5110 LCD

Introduction: MCP9808 5110 LCD

Hello mates!

In this short instructable i will show you how to display temperature readings from the MCP9808 I2C sensor with an Arduino and a Nokia5110 LCD display.

Step 1: The Sensor

Shortly: The MCP9808 is (in theory of course) is a high precision temperature sensor which is using the I2C bus of Arduino. So wee need only 4 wires to connect it. And it was darn cheap :)

Here are some links:

I was searching for new sensors for my arduino projects to build and since it was very cheap on Ali (1 dollar) i ordered two of theese sensors. I have a number of different displays laying around and of course i have chosen the Nokia 5110 LCD again (for simplicity ).

It's time to build our new thermometer :)

Step 2: Materials Needed

The parts needed for this projects are:

- Arduino Uno, Nano etc.....

- A few jumper wires

- MCP9808 temperature sensor

- Nokia5110 LCD

- Libraries and sketch

Step 3: Software

I created a very simple sketch to display the readings from the sensor. It is very straight forward and easy to understand.

Download and install the correct libraries included in the sketch.

First we include the correct libraries,set the measuring resolution of the sensor, create the objects for the sensor and display. Setup the serial, set temperature sensor address and finally setup the display to print the values.

We have to be careful to clear display in the void setup and void loop or othervise the display will blink in each second.

The results are displayed in Celsius and Fahrenheit.

Easy or not??

Step 4: Connections

The connections are the folowing:

Nokia 5110

RST - D12

CE - D11

DC - D10

DIN - D9

CLK - D8

VCC - 3.3 Volts

GND - Ground

The MCP9808 sensor

VCC - 3.3 or 5 Volts

GND - Ground

SDA - Analog 4

SCL - Analog 5

Step 5: The Results

If you have done everything correctly you can see that the arduino is displaying temperature on the lcd.

I don't know how accurate is the sensor , the only comparsion i had is between the ds18b20 sensor.

At this time i have to give credit to the sensor :)

Step 6: Done!

You are done.

Use it as you like and have a nice day!

Be the First to Share


    • Build a Tool Contest

      Build a Tool Contest
    • Make It Modular: Student Design Challenge

      Make It Modular: Student Design Challenge
    • Leather Challenge

      Leather Challenge


    Alex in NZ
    Alex in NZ

    3 years ago

    Neat project. Thank you for sharing.

    You've given a source the temperature probe, but it is only rated up to about 125C. Have you found any which can handle higher temperatures (up to 250 to 300 C)?


    Reply 3 years ago

    Thank you for your comment :)

    The only sensor i could recomend for higher temperature measuring is the MLX90614ESF.
    Of course if it fits in your plans.
    This is an infrared temperature sensor with very good accuracy. Very easy to use with Arduino, i have made one before for my colleague a year ago.

    Alex in NZ
    Alex in NZ

    Reply 3 years ago

    Many thanks for that :-)


    Reply 3 years ago

    Cheers! :)


    3 years ago

    Do you think you could provide a circuit diagram?


    Reply 3 years ago

    Oh i forgot about that step, but added it.