Library For Driving SSD1289 LCD Displays With Small Microcontrollers

[H. Smeitink] got his hands on a 320×240 color TFT LCD screen. He set out to drive it with a small PIC microcontroller but didn’t find a lot of help out there to get up and running quickly. This is surprising since it’s a really nice display for quite a low price (under $16 delivered on eBay at the time of writing). He decided to write his own library and support tools to help others.

The display includes an SPI touch screen, but since that works separately from the LCD controller, touch input is not supported in this package. The driver that he wrote is coming from a mikroC toolchain point of view, but it shouldn’t be too hard to port to your platform of choice. We took a quick look at the code and it seems all you need to do is tweak the defines to match your hardware registers, and implement your own delay_ms() function.

But he didn’t stop with the driver. You’ll also find a C# program which converts images to an array for easy use on the display. Incidentally, this is the same display which [Sprite_TM] got working with the Raspberry Pi.

Reverse Engineering A 1.5 Inch Photoframe

Little, no name, 1.5 inch LCD photo key-chains are all over the place for practically nothing. Not too surprisingly these things do not vary much in the parts that they use, some flash ram, a little lipo battery and a 16 bit color LCD. Wanting to find a way to reuse that LCD [Simon] Has an excellent tutorial on how to reuse a FTM144D01N LCD with a ILITEK ILI9163 LCD driver for your electronic projects.

Two units were used, one was ripped apart and soldered to a home made breakout board, the other was kept intact so its logic could be sniffed out with an oscilloscope. A pin-out was quickly determined since these things typically use a 8 or 16 bit data bus. Then a driver library was put together for AVR micro controllers, which includes some basic shape drawing and a 5×8 font.

While you may not be lucky enough to get this exact LCD screen from your local bargain store, there are a lot of pointers in here to hopefully get you up and going. We will be trying our luck on a very similar screen this afternoon as these things do have a decent picture and fairly quick response times already packaged in a hand-held case.

Join us after the break for a quick video.

Continue reading “Reverse Engineering A 1.5 Inch Photoframe”