Nokia 3310 LCD driven by a PIC 16F684

Nokia 3310 LCD: Nokia 3310 LCD driven by a PIC 16F684Nokia 3310 LCD: Nokia 3310 LCD driven by a PIC 16F684The Nokia 3310 LCD is undeniably one of the best LCDs to use on any microcontroller project. The interface can be driven with a simple bit banging type SPI interface and it produces stunning results. The displays cost 99p on ebay, so its worth grabbing a few when they come up.

I wanted to test driving the display on my 16F684 ready to use it on other projects, so I connected it up as shown at the site http://www.geocities.com/dariuskrail20/nokia3310lcd.html. From there you can download a schematic and source code for testing. It is worth noting that the LCD pinout is (looking at the back of the display with the connector at the top):-
1 - VDD => Input voltage (3v3).
2 - SCK => Serial Clock.
3 - SDI => Serial Data Input.
4 - D/C => Data/Command Input.
5 - SCE => Chip Select.
6 - GND => Ground.
7 - VOUT => VLCD.
8 - RES => Reset.

Whilst the pinout is easier to find it was harder to find out from which sides they were labelled.

I didn't have the CSS or the Hitech C compiler and was using my trusty Sourceboost BoostC compiler. I have adapted the source code correspondingly (boostc has a 256byte array limit) and attached it for others to use. I also had to change the number of plotted data points on the graphs because of the small amount of RAM in the 16F684. I recommend you make the project yourself as the outcome really is amazing.

Attached is the BoostC compatible source code for you to experiment with.

AttachmentSize
nokia3310.c12.2 KB