Introduction to Nokia 5110 Display :
The Nokia 5110 is a simple Monochrome Graphical (LCD) Display with 84 x 48 pixel resolution, which is useful in Arduino projects for displaying small and simple Graphics. The price of the Nokia 5110 display is affordable and ease to interface with Arduino board. The Display have a Back Light, like other LCD displays, for clarity. The data is also visible, without switching on the Back Light.
The Nokia 5110 resolution consists of 6 row banks.
each row bank has 8 vertical pixels and 84 horizontal pixels.
So, total pixels per row bank = 8x84 = 672 pixels
Hence, overall resolution for 6 row banks = 6x672 = 4032 pixels
or,
vertical resolution (y-axis) = 6 row banks x 8 rows per bank = 48 pixels
Horizontal Resolution (x-axis) = 84 pixels in each row.
Total resolution = 84 x 48 = 4032 pixels
Since, each pixels requires 1 bit (for monochrome) only,
total memory space required = 4032/8 = 504 bytes
(where 8 bits makes a byte)
Here, Front and Back views of actual Nokia 5110 display is shown. The pixel orientation is also shown as schematic, for better understanding.
The pinouts of Nokia 5110 are shown above. It has 8 pins, out of which 2 pins are used for serial data comminication (i.e. Data Input and Clock), 3 pins are used for control (i.e., Reset, Chip Enable and Data/Command Select), 2 pins for power supply (i.e., Vcc and Ground) and one pin is used to switch on/off Back Light (connected to Vcc through a series resistor).
Interfacing Nokia5110 to Arduino :
So, as per the pin-outs of Nokia 5110, the data and control pins (total 5 nos) are to be connected to Arduino digital pins. The Vcc pin to 3.3V pin, Ground to Gnd pin of Arduino. The BL (Back Light) pin may be connected to 3.3V or 5V supply through a series resistor. The basic connections to Nokia 5110 to Arduino Nano are shown, as an example (or test circuit) in below circuit diagram.
Now, open Nokia5110.ino using Arduino IDE. The sketch includes library file Nokia5110.CPP and a font file LCDfont.h. Now, compile the sketch and upload to the Arduino board.
After uploading the sketch the Various display options on Nokia 5110 are shown as examples. like displaying an image, text message, simple graphics, inverted text, inverted colour (display on black background), with and without Back light on.
For full source code and library files contact us through Contact Form.