All post of ElecFreaksTFT01 LCD

Enhanced Nokia 5110 / Nokia 3310 Library Release

By August 13, 2011 No Comments

Hi Guys, as all we know, Nokia 51100/3310 is very popular LCD module in hobbyists. It is a 84×48 pixel monochrome LCD display.  We had provided the Nokia 5110 library before, but it just support one size font. There is a enhanced Nokia 5110/3310 library which written by “Henning Karlsen”.

The basic library have support for text, 2 larger sizes of numbers and bitmaps three type function. We had test in Nokia 5110 on our Multi LCD Shield, it’s all running OK, just modified the IO define. Change pin define as below:

// This program requires a Nokia 5110 LCD module.
// It is assumed that the LCD module is connected to
// the following pins.
//      SCK  - Pin 8
//      MOSI - Pin 9
//      DC   - Pin 10
//      RST  - Pin 11
//      CS   - Pin 12
#include <CK_LCD5110_Basic.h>

//LCD5110 myGLCD(8,9,10,11,12);

LCD5110 myGLCD(0,1,2,3,4); //Change pin for Multi LCD Shield

OK! Let’s take a look at the effect.






1. Show the bitmap

2. Show two larger sizes of numbers

3. Show text and Symbol

At last, if you want show bitmap, you must convert the picture to array. There we support you a convert tool to do this.

Download,  Operation : “ To convert image from bitmap file (or other standard graphics file format) to data array select from File menu command ‘Load image’. Next, select byte orientation (for example : vertical for KS0108, SED1520, SPLC0501C etc; horizontal for : T6963C, SED1335 etc). If in data array must be image size (width and height) select ‘Include size’ checkbox and specify endianness of size (for example : Little endian for AVR; Big endian for ST7). Size are placed in two 16-bit variables at the begin of data array. Next, specify pixels/byte parameter. If display can support miscellaneous font size (displays with T6963C controller) image can be converted to array of bytes with specified amount of pixels in each byte. At last select from “File” menu command “Save output”. Data array will be saved in specified file. ”


Reference post from:

Get the latest version of the Nokia5110 enhanced libraries:

ImageConverter 5110:

The other imageconverter tool:

VN:F [1.9.13_1145]
Rating: 10.0/10 (2 votes cast)
VN:F [1.9.13_1145]
Rating: +1 (from 1 vote)
Enhanced Nokia 5110 / Nokia 3310 Library Release, 10.0 out of 10 based on 2 ratings

Author robi

ElecFreaks - Community for electronics enthusiasts, provide all you need.

More posts by robi

Leave a Reply