Nokia 5110 LCD module

The Nokia 5110 is a basic graphic LCD screen for lots of applications. It was originally intended for as a cell phone screen. This one is mounted on an easy to solder PCB.

nokia1

It uses the PCD8544 controller, which is the same used in the Nokia 3310 LCD. The PCD8544 is a low power CMOS LCD controller/driver, designed to drive a graphic display of 48 rows and 84 columns. All necessary functions for the display are provided in a single chip, including on-chip generation of LCD supply and bias voltages, resulting in a minimum of external components and low power consumption. The PCD8544 interfaces to microcontrollers through a serial bus interface.

nokia2

Connections with Arduino UNO-

5110 LCD module

CLK
MOSI(DIN)
DC
RST
CE
VCC
LIGHT
GND

Arduino UNO Board

Pin 8
Pin 9
Pin 10
Pin 11
Pin 12
3V
3V or 5V
GND

nokia3

Arduino Sketch

// LCD5110_NumberFonts
// this code run two counters and displays their values over LCD in two different fonts:
#include
LCD5110 myGLCD(8,9,10,11,12);
extern uint8_t SmallFont[];
extern uint8_t MediumNumbers[];
extern uint8_t BigNumbers[];
void setup()
{
myGLCD.InitLCD();
}
void loop()
{
for (int i=0; i<=10000; i++) { myGLCD.setFont(MediumNumbers); myGLCD.printNumF(float(i)/3, 2, RIGHT, 0); myGLCD.setFont(BigNumbers); myGLCD.printNumI(i, RIGHT, 24); } myGLCD.setFont(SmallFont); myGLCD.print("| |", CENTER, 16); delay(500); for (int i=0; i<12; i++) { myGLCD.print("\\", 6+(i*6), 16); delay(500); } myGLCD.clrScr(); } Output:-

nokia4

The Libraries used in code above can be downloaded from the link mentioned below:

ARDUINO NOKIA 5110 LCD LIBRARY

All the products used in this tutorial can be purchased from following links:

1. Arduino UNO R3
2. Nokia 5110 LCD Module
3. Male to Female Jumper Wires

Comments