DS18B20 Sensor Based Thermometer with Nokia 5110 LCD display

Hi guys welcome to this tutorial. Today we will be building a simple temperature monitor using the DS18B20 sensor with a Nokia 5110 LCD Display and an Arduino mega.

DS18B20 Sensor Based Thermometer with Nokia 5110 LCD display


The DS18B20 digital temperature sensor gives a 9-bit to 12-bit Celsius temperature readings and also has an alarm function with nonvolatile user-programmable upper and lower trigger points. The sensor communicates via the 1-Wire communication protocol and thus by definition requires only one data line (and ground) for communication with a central microprocessor. Among the special features of this sensor, is an operational mode in which it can derive power directly from the data line (“parasite power”), eliminating the need for an external power supply line.

Each DS18B20 has a unique 64-bit serial code, which allows multiple DS18B20s to work on the same 1-Wire bus. Thus, it is simple to use one micro-controller to control many DS18B20s distributed over a large area. Some applications that can benefit from this capability include HVAC systems, temperature monitoring systems inside buildings, equipment, or machines, and process monitoring and control systems.

The Nokia 5110 was used to provide a feedback on the temperature values to the user but the Arduino serial monitor may also be used for those who do not have the display and the code for this is also included.

A more detailed tutorial on using the Nokia 5110 LCD display can be found here.

Required Components

The following components with links attached to where they can be bought are needed for this project:

  1. DS18B20 Temperature Sensor
  2. Nokia 5110 LCD Display
  3. Arduino Mega
  4. Small Breadboard
  5. Wires


Connect all the components as shown in the schematics below.

For clarity, the pin connections are also described below.

Read more: DS18B20 Sensor Based Thermometer with Nokia 5110 LCD display

This Post / Project can also be found using search terms:

  • apprendre a programmer arduino NOKIA 5110 SONDE ds18B20

Leave a Comment

= 3 + 8

(Spamcheck Enabled)

Read previous post:
Arduino XMAS Hitcounter

Christmas is coming closer, so here is my contribution to put you in the right mood. It is a blog...

Scroll to top