Add some jazz & pizazz to your project with a color touchscreen LCD. This TFT display is big (2.8" diagonal) bright (4 white-LED backlight) and colorful! 240x320 pixels with individual RGB pixel control, this has way more resolution than a black and white 128x64 display. As a bonus, this display has a resistive touchscreen attached to it already, so you can detect finger presses anywhere on the screen.
This display has a controller built into it with RAM buffering, so that almost no work is done by the microcontroller. The display can be used in two modes: 8-bit and SPI. For 8-bit mode, you'll need 8 digital data lines and 4 or 5 digital control lines to read and write to the display (12 lines total). SPI mode requires only 5 pins total (SPI data in, data out, clock, select, and d/c) but is slower than 8-bit mode. In addition, 4 pins are required for the touch screen (2 digital, 2 analog)
Adafruit wrapped up this display into an easy-to-use breakout board, with SPI connections on one end and 8-bit on the other. Both are 3-5V compliant with high-speed level shifters so you can use with any microcontroller. If you're going with SPI mode, you can also take advantage of the onboard MicroSD card socket to display images. (microSD card not included, but any will work)
Of course, we wouldn't just leave you with a datasheet and a "good luck!". For 8-bit interface fans Adafruit have written a full open source graphics library that can draw pixels, lines, rectangles, circles, text, and more. For SPI users, there's a library as well, its separate from the 8-bit library since both versions are heavily optimized. They also have a touch screen library that detects x, y and z (pressure) and example code to demonstrate all of it.
Follow the step by step guide for wiring, code and drawing. You'll be running in 15 minutes
- 8 bit digital interface, plus 4 or 5 control lines (12 pins minimum) or SPI mode with 4 or 5 SPI data/control lines (4 pins minimum) - not including the touch screen.
5V compatible! Use with 3.3V or 5V logic such as an Arduino
- Onboard 3.3V @ 150mA LDO regulator
- 4 white LED backlight, transistor connected so you can PWM dim the backlight
- 1x20 headers for easy breadboarding
- 4-wire resistive touchscreen
- Thickness: 7.9mm / 0.3"
- Weight: 40g
EagleCAD PCB files, datasheets and Fritzing objects in the Adafruit Fritzing library