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! 240×320 pixels with individual RGB pixel control, this has way more resolution than a black and white 128×64 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) or you can purchase and use our resistive touchscreen controller (not included) to use I2C or SPI
We 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 we’ve written a full open source graphics library that can draw pixels, lines, rectangles, circles, text, and more. For SPI users, we have a library as well, its separate from the 8-bit library since both versions are heavily optimized. We also have a touch screen library that detects x, y and z (pressure) and example code to demonstrate all of it.
Follow our step by step guide for wiring, code and drawing. You’ll be running in 15 minutes
If you are using an Arduino-shaped microcontroller, check out our TFT shield version of this same display, with SPI control and a touch screen controller as well
- 2.8″ diagonal LCD TFT display
- 240×320 resolution, 18-bit (262,000) color capable — our code uses only 16-bits since its faster.
- ILI9341 (datasheet) controller with built in video RAM buffer
- 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
- 1×20 headers for easy breadboarding
- 4-wire resistive touchscreen