Color LCD Driver for cheap 1.44" SPI 128*128 V1.1 (Red & Black PCBs)

Cluso99Cluso99 Posts: 12,970
edited October 2016 in Propeller 1 Vote Up0Vote Down
Update 15thOctober 2016
This link is to v0.55 which is much faster and uses a separate PASM Cog for the low level access.
forums.parallax.com/discussion/comment/1390134/#Comment_1390134


Attached is a demo program in SPIN for drawing text, lines, boxes and circles.
Samples for a round clock and a digital clock are also shown (not accurate and no adjustment method) just for proof of concept.
I have added delays in the LCD driver which may or may not be required.

The demo program runs samples of each type, ending in the digital clock. This can be used as a driver for the LCD.

You will need to change the "lcdInit" call to select either the red pcb or black pcb version as they are different.

These LCDs can be had for ~$4 on eBay. The LCD is known as 1.44' SPI 128*128 V1.1 and comes in red pcb and black pcb versions. The ILI9163 is the IC used (or compatible).
The LCD is often referred to as a Nokia 5110 color replacement but the similarity is only regarding the SPI interface, not the register set!

attachment.php?attachmentid=112998&d=1422601901

ILI9163_demolcd.jpg


ILI9163_spi_040(1).zip
My Prop boards: P8XBlade2, RamBlade, CpuBlade, TriBlade
Prop OS (also see Sphinx, PropDos, PropCmd, Spinix)
Website: www.clusos.com
Prop Tools (Index) , Emulators (Index) , ZiCog (Z80)
«1

Comments

Sign In or Register to comment.