Sparkfun Nokia LCD

Home Up VNC2 Adafruit RGB LED Matrix Visual Spin YModem Wavetable Midi Player Prop EKG Basic Window/Form System PropMonitor 1-Bit Bitmaps 6-Bit Bitmaps DAC Sparkfun Nokia LCD Cameras MP3 Wireless JuiceBox I/O Expansion Via I2C Secure Digital (SD) Card Interface Notes on Graphics_Demo.spin ADC 2-Bit Bitmap App TV Colors Interleaved Character Generator 4-Color Character Applet VGA Colors Applets

bullet

Sparkfun Electronics sells a $19.95 Nokia "knock-off" LCD

bullet

bullet

It is 128x128 visible pixels over a 1.2" x 1.2" area

bullet

The first posts in the forum were in early 2007 and Paul Baker had some success.

bullet

Member "jkroylance" added ASM SPI code in this thread

bullet

 

bullet

I have converted Sparkfun's sample code into Spin

bullet

Here's the Spin code

bullet
Note that there is a couple second delay before it shows the green background and begins drawing the central box.
bullet
The "multicolor" box is mostly red and white because the red bits are in the MSB side of the color byte.  
bullet

Done the same for the 12-bit (4096) color example

bullet

The special thing about this one is that it uses two bytes for every pixel instead of 1.5 bytes.  This is a bit wasteful, but makes things a lot easier...

bullet

Here's the Spin code

bullet

Need assembly driver to speed things up!

bullet

Here I just replaced the SPIN SPI shiftout  routing with an assembly version.

bullet

It's now reasonable fast...  But, probably still needs some optimization...

bullet

Here's a photo importer tool and code to display photo's on the Nokia display

bullet

Download here