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.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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:

https://learn.adafruit.com/adafruit-mcp9808-precis...

https://www.microchip.com/wwwproducts/en/en556182

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

    Recommendations

    • Assistive Tech Contest

      Assistive Tech Contest
    • Reuse Contest

      Reuse Contest
    • Made with Math Contest

      Made with Math Contest

    6 Discussions

    0
    None
    Alex in NZ

    6 months 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)?

    3 replies
    0
    None
    LacybadAlex in NZ

    Reply 6 months 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.

    gy-906-mlx90614esf-contactless-temperature-sensor-module-500x500.jpg