chipKIT® Development Platform

Inspired by Arduino™

Nokia 5110/3310 libraries

Created Wed, 30 Nov 2011 17:12:11 +0000 by airplanewaynem


Wed, 30 Nov 2011 17:12:11 +0000

Just wondered if anyone knows of a ChipKit compatible library for the Nokia 5110/3310 LCD?


Fri, 02 Dec 2011 18:57:43 +0000

I have made two :)

They are available here: CK_LCD5110_Basic: [url][/url] CK_LCD5110_Graph: [url][/url]



Tue, 06 Dec 2011 13:36:05 +0000

Thanks a lot, I will try it out


Wed, 11 Jan 2012 22:58:42 +0000

@doc_norway Thanks for sharing the libraries with us. I've just test them on MAX32. Really, really nice job!!!! [claps]


Wed, 11 Jan 2012 23:07:37 +0000

Very nice and informative post. Keep up the good work. Please remember that i m waiting for your next awesome post...

Rob Drizzle

Thu, 12 Jan 2012 02:45:06 +0000

awesome.... I just pulled mine out to use on a Arduino Uno project today, now I'll keep it out to play with my uno32 ;)


Sat, 14 Apr 2012 07:05:30 +0000


I'm having some difficulties trying to get my 5110 display working on my uno 32, I'm able to get it to work on my arduino using my breadboard shield, but when i plug it into my UNO32, no display, using my scope, i can see the sck,mosi and the cs, i don't see the d/c line, tried the jumper didn't help, one thing i did notice is the speed , I'm wondering if the UNO32 is clocking too fast for my display..... anyone have any ideas?



Sat, 14 Apr 2012 07:52:36 +0000

Could the difference of supply voltage have an impact?

The Arduino boards are at 5 v mostly while the chipKIT UNO32 is 3.3 v powered.


Sat, 14 Apr 2012 17:08:04 +0000

no, I'm thinking the power supply isn't a problem, the Nokia 5110 is well suited to run on 3.3 volts, one of the items about the chipkit i like is the 3.3 volts, seems most everything these days worth playing with is 3.3 volt,

I'll try remapping the pins, it would appear their not using the SPI port correct me if I'm wrong



Sat, 14 Apr 2012 17:20:46 +0000

Unfortunately, I have no background on Nokia 5110 screen usage.

I'm using the uOLED and uLCD screens from 4D Systems with a :arrow: library I've developed.


Sat, 14 Apr 2012 19:13:55 +0000

yea those 4D systems are pretty nice!

just so i wasn't losing my mind on the 5110 project, i hooked my 20x4 LCD up, it's working with the chipkit library fine, well hopefully someone will respond with some more ideas



Sun, 15 Apr 2012 17:48:12 +0000


i finally got it working :D

i moved the wires from 8,9,10,11,12 to 3,4,5,6,7 ;)

changed the code to this:

LCD5110 myGLCD(3,4,5,6,7);

this was for the graph_demo



Mon, 16 Apr 2012 09:42:58 +0000

Hi, I want try this library. I paste the folder downloaded into libraries folder, but still error, "No such file or directory". Where to put this library?


Mon, 16 Apr 2012 22:58:07 +0000


on my computer, here's the directory tree


hopefully this helps

try it on 8,9,10,11,12 i would like to know if it works their for you



Tue, 17 Apr 2012 00:28:52 +0000

shahrul on my computer, here's the directory tree mpide-0023/hardware/pic32/libraries hopefully this helps try it on 8,9,10,11,12 i would like to know if it works their for you Philip

Thanks, now running. I use pin 8,9,10,11,12 on chipKIT Max32, it's works well with both library CK_LCD5110_Basic and CK_LCD5110_Graph. But, both library can't use at the same time right?


Wed, 12 Sep 2012 05:11:18 +0000

I just registered to post that I had a hell of a time getting the display to work and what I found was that the reset line was kept low. I jumpered the RST pin from the display to the reset out on the UNO32 board and it worked great. Oddly enough, I tried using 3,4,5,6,7 and it didn't work even though reset line was high. there was no output on the pins

Edit: Also, does anyone else notice that the PrintNumF() function of the library doesn't seem to work?


Tue, 20 Aug 2013 02:13:19 +0000

Just spent a day trying to get a Nokia 5110 to work.

Used a modified test program from my vendor's website and also the doc_norway libraries from above in this thread(nice). NOTHING....

I found a post on Sparkfun talking about a problem with the PCBs being warped that keeps them from making good contact between the carrier PCB and the display module. I mashed around on the metal bezel and surprise it started working! All test programs then worked fine. Now we'll see how long it lasts.



Sun, 01 Sep 2013 17:42:06 +0000

You can use this library...

Raspberry Pi Nokia 5110

You just have to modify the callouts file to implement you own code.