Pages: [1]   Go Down
Author Topic: Simple SD card picture viewer with UNO and a TFT LCD shield  (Read 1179 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
Karma: 3
Posts: 108
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I just started to play with TFT LCD screen with Arduino. I used Itead 2.8″ TFT shield which is said to work great with UTFT library. Taking into account that Arduino has too limited Flash to hold a full frame of picture, and that the shield has a SD card socket on the back, I decided to make a SD card picture viewer as my first approach.

My sketch is here.

The 8-bit AVR-based Arduino has not only limited storage but also limited computation power. It is impossible to decode JPEG or PNG on-the-fly with Arduino, nor is it possible to load a whole bitmap from SD card into SRAM. The image files have to be stored in raw data format and loaded and rendered portion by portion. The native data format of the TFT control chip is RGB565 (2 bytes for a pixel, 5 bits for red, 6 bits for green, 5 bis for blue). So I used MediaCoder, which is a free universal media transcoder I developed, to generate the raw image data of RGB565.

Continue to read on my blog
« Last Edit: May 05, 2013, 01:27:18 pm by stanleyhuang » Logged

Offline Offline
Jr. Member
Karma: 0
Posts: 60
Interface Design Currently
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi there

thanks for your post.
Can you see this TFT setup being used to access much smaller simple colour images in realtime as menu items, allowing the Arduino to process incoming analog and digital signals and output serial?

What pins are used up and how hard was it to get going?

thanks again!!

Pages: [1]   Go Up
Jump to: