How to connect and use a NOKIA 5110 LCD with Arduino
There are many tutorials out there that show how to connect and use a Nokia 5110 LCD display with an Arduino.
In this tutorial we will look at an easy way to control the 5110 by using the u8glib library.
If you want to display text / graphics and have more control of the 5110, the u8glib is great, but it does takes more memory, and is a little more complicated to use, but if you want to have more options, using the u8glib library is the way to go.
The Nokia 5110 LCD uses 3.3V so we need to make sure that we connect it too the 3.3v on the Arduino not 5V.
A lot of tutorials out there say to not use the 5V logic voltage with these displays, as it may shorten the display’s lifespan.
This might be true with older versions of those displays, but in our experience we never had any problem using the digital pins of the Arduino as-is.
As you can see in the schematic above, the pins of the UNO are directly connected to the display making it very easy to connect.
But we are using a 330 ohms resistor on the Light pin to restrict the backlight LED current.
Were are re-using the sketch we used in our Oled Tutorial and just making changes to use the Nokia 5110 lcd display.
The sketch is using the u8glib library to display the graphic and the DHT11 sensors information.
As always, please check out the tutorial video to have more information.
Copy and paste the above code in the Arduino IDE to program your Arduino.
Download LCDAssistant software: LCDAssistant.zip
Download the U8GLib library here: https://bintray.com/olikraus/u8glib/Arduino/1.17
Download the DHT library here: https://github.com/RobTillaart/Arduino/tree/master/libraries/DHTlib
Once downloaded, just extract the content of the zip files inside your “arduino/libraries” folder.