LCD Modules - notro/fbtft GitHub Wiki

Module Size Res. Touch Interface Controller Note
Adafruit 1.3 OLED 1.3" 128x64 SPI 8-bit SSD1306 Monochrome
Adafruit 1.8 1.8" 128x160 SPI 8-bit ST7735R
Adafruit 2.2 2.2" 240x320 SPI 8-bit ILI9340
Sainsmart 1.8 1.8" 128x160 SPI 8-bit ST7735R No backlight control, always on
Sainsmart 3.2 3.2" 240x320 ADS7843 Par.16-bit SSD1289
Nokia 5110/3310 1.5" 84x48 SPI 8-bit PCD8544 Monochrome
Watterott MI0283QT-9A 2.8" 240x320 ADS7846 SPI 9-bit ILI9341
ITDB02-2.8 2.8" 240x320 TSC2046 Par.8-bit ILI9325
HY28B 2.8" 240x320 XPT2046 SPI 8-bit ILI9325 2mm spaced headers
ILSoft OLED 1.5" 128x128 SPI 8-bit SSD1351
Freetronics OLED128 1.5" 128x128 SPI 8-bit SSD1351
tinylcd.com 3.5" display 3.5" 320x480 SPI 8-bit
generic 1.8" display 1.8" 128x160 SPI 8-bit HX8353 A variety of sources claim its controlled by the ST7753 - This one is not

Discontinued products

Module Size Res. Touch Interface Controller Note
Adafruit 2.2 2.2" 220x176 SPI 9-bit HX8340bn
Watterott MI0283QT-2 2.8" 240x320 ? SPI 8-bit HX8347D
HY28A 2.8" 240x320 XPT2046 SPI 8-bit ILI9320 2mm spaced headers

More LCD Modules

FBTFT devices

Note: This list is not complete. See the displays array in fbtft_device.c

Module Device Driver Interface FPS* Test* Note
Generic driver flexfb flexfb SPI 8-bit
Generic driver flexpfb flexfb Parallel ok
Adafruit 1.3 adafruit13m fb_ssd1306 SPI 8-bit ok
Adafruit 1.8 adafruit18 fb_st7735r SPI 8-bit
Adafruit 1.8 Green tab adafruit18_green fb_st7735r SPI 8-bit
Adafruit 2.2 new adafruit22a fb_ili9340 SPI 8-bit ok
Adafruit 2.2 adafruit22 fb_hx8340bn SPI 9/8-bit 16 ok
HY28A hy28a fb_ili9320 SPI 8-bit 20 ok
HY28B hy28b fb_ili9325 SPI 8-bit
? fb_hx8353d fb_hx8353d
Freetronics OLED128 freetronicsoled128 fb_ssd1351 SPI 8-bit
ITDB02-2.8 itdb28 fb_ili9325 Par. 8-bit 19 ok
ITDB02-2.8 itdb28_spi fb_ili9325 SPI 8-bit 12 ok Use interface circuit
Watterott MI0283QT-2 mi0283qt-2 fb_hx8347d SPI 8-bit
Watterott MI0283QT-9A mi0283qt-9a fb_ili9341 SPI 9/8-bit 8 ok
Nokia 5110/3310 nokia3310 fb_pcd8544 SPI 8-bit
ILSoft OLED pioled fb_ssd1351 SPI 8-bit 31 ok
Sainsmart 1.8 sainsmart18 fb_st7735r SPI 8-bit 30 ok
Sainsmart 3.2 sainsmart32_spi fb_ssd1289 SPI 8-bit 12 ok Use interface circuit
Sainsmart 3.2 sainsmart32 fb_ssd1289 Par. 16-bit 11
? ssd1331 fb_ssd1331
tinylcd.com 3.5" display tinylcd35 fb_tinylcd SPI 8-bit 12 ok
? tm022hdh26 fb_ili9341 SPI 8-bit

*- I have these displays available for testing.

*- FPS is measured using debug output modprobe fbtft_device name=... debug=$((1<<5)).
Run a few seconds of a full screen movie, then dmesg
The numbers are the maximum I have been able to push it. Not what you get with default values. See Performance for details.

Video: Raspberry Pi boots on a small display and shows a movie simultaneously on two displays

Adafruit 1.3" monochrome

Adafruit 1.3

Product page: http://www.adafruit.com/products/938

The display is monochrome, but the driver is implemented as RGB565 so it can be used as a console.

Wiring

Display Driver gpio name Raspberry Pi Remark
Data MOSI
ClK SCLK
DC dc GPIO24
Rst reset GPIO25
CS CE0 Chip Select
3V3 3.3V out
Vin 5.0V
GND GND

Adafruit 1.8"

Adafruit 1.8

Product page: http://www.adafruit.com/products/358

Wiring

Display Driver gpio name Raspberry Pi Remark
LITE led GPIO18 Backlight
MISO Used by SD-card
SCK SCLK
MOSI MOSI
TFT_CS CE0 TFT Chip Select
CARD_CS microSD Chip Select
D/C dc GPIO24
RESET reset GPIO25
VCC 3.3V
GND GND

Adafruit 2.2"

Adafruit 2.2

Product page: http://www.adafruit.com/products/1480

Wiring

Display Driver gpio name Raspberry Pi Remark
BL led GPIO18
SCK SCLK
MISO Used by SD-card
MOSI MOSI
CS CE0 Chip Select
SDCS SD-card Chip Select
RST reset GPIO25
D/C dc GPIO24
VIN 3.3V
GND GND

Adafruit 2.2" old

Adafruit 2.2

Product page: http://adafruit.com/products/797

Wiring

Display Driver gpio name Raspberry Pi Remark
BL led GPIO23
MISO Used by SD-card
SCK SCLK
MOSI MOSI
CS CE0 Chip Select
SDCS SC-card Chip Select
RST reset GPIO25
VIN 3.3V
GND GND

Sainsmart 1.8"

Sainsmart 1.8

Product page: http://www.sainsmart.com/arduino-compatibles/module/lcd-module/sainsmart-1-8-spi-lcd-module-with-microsd-led-backlight-for-arduino-mega-atmel-atmega.html

Wiring

Display Driver gpio name Raspberry Pi Remark
GND GND
VCC 3.3V
SCL SCLK
SDA MOSI
RS/DC dc GPIO24 Command/data
RES reset GPIO25
CS CE0 Chip Select

Sainsmart 3.2"

Sainsmart 3.2

Product page: http://www.sainsmart.com/sainsmart-3-2-tft-lcd-display-touch-panel-pcb-adapter-sd-slot-for-arduino-2560.html

SPI

Use SPI interface circuit
Touchpanel

Wiring

Display Driver gpio name Raspberry Pi Remark
GND GND
VCC 5.0V
RS dc GPIO24 Command/data
RESET reset GPIO25
LED-A led 3.3V Backlight draws ~50mA
LED-A 5.0V Backlight draws >200mA
D_CLK SCLK Touch controller
D_CS CE1
D_DIN MOSI
D_OUT MISO
D_Penirq GPIOxx

Parallel databus

name=sainsmart32 The display was tested with 150mm (6") jumper wires and worked fine.
name=sainsmart32_fast gave random glitches and ultimately the display goes white.
A big putoff is that the driver uses 50% of the cpu to keep up with a fullscreen movie (using top it shows as a kworker thread).
It should be possible to offload the cpu by using DMA to drive the GPIOs.

Nokia 5110/3310

Nokia 3310

Product page: http://adafruit.com/products/338
Video: http://youtu.be/ldhWLv2DLx0

The display is monochrome, but the driver is implemented as RGB565 so it can be used as a console.
With the MINI4x6 font, it displays 21x8 characters.

Wiring

Display Driver gpio name Raspberry Pi Remark
GND GND
VCC 3.3V
CLK SCLK
DIN MOSI
D/C dc GPIO24 Command/data
CS CE0 Chip Select
RST reset GPIO25
LED led GPIO23

Watterott MI0283QT-2

Blog post: http://lallafa.de/blog/2013/03/watterott-display-on-raspberry-pi/
Datasheet: http://www.watterott.com/media/files_public/hluoxsmptl/MI0283QT-2_Datasheet.pdf

Watterott MI0283QT-9A

MI0283QT-9A

Product page: http://www.watterott.com/en/MI0283QT-2-Adapter
Blog post: http://lallafa.de/blog/2013/03/watterott-mi0283qt-9a-display-for-the-rasbperry-pi/
Blog post: http://lallafa.de/blog/2013/03/adding-touch-support-for-the-mi0283qt-displays/

Power consumption: 150-200mA

Touchpanel

Wiring

Display Driver gpio name Raspberry Pi Remark
VCC 5V
GND GND
SCL SCLK
SDI MOSI
SDO MISO
LCD_CS CE0 LCD controller Chip Select
RST reset GPIO25
LED led GPIO18 Backlight
ADS_CS CE1 Touch controller Chip Select
ADS_IRQ GPIO17 Touch controller IRQ

ITDB02-2.8

ITDB02-2.8

Product page: http://imall.iteadstudio.com/itdb02-2-8.html Datasheet: ftp://imall.iteadstudio.com/IM120419009_ITDB02_2.8/DS_IM120419009_ITDB02_2.8.pdf
Schematic: ftp://imall.iteadstudio.com/IM120419009_ITDB02_2.8/SCH_IM120419009_ITDB02_2.8.pdf
ILI9325 Application Notes: http://icbank.com/data/ICBShop/board/ILI9325AN_V0.22.pdf

Parallel databus

Wiring

Display Driver gpio name Raspberry Pi Remark
VCC 5V can use 3.3V if R3 is shorted. See schematic
GND GND
RS dc GPIO1 GPIO3 if model B rev 2
WR wr GPIO0 GPIO2 if model B rev 2
RD 3.3V
DB8 db00 GPIO9
DB9 db01 GPIO11
DB10 db02 GPIO18
DB11 db03 GPIO23
DB12 db04 GPIO24
DB13 db05 GPIO25
DB14 db06 GPIO8
DB15 db07 GPIO7
CS cs GPIO21 GPIO27 if model B rev 2
RST reset GPIO17
LED led GPIO4 Can't drive backlight directly. Use transistor (50mA)

SPI

SPI interface circuit

Wiring

Display Driver gpio name Raspberry Pi Remark
VCC 5V can use 3.3V if R3 is shorted. See schematic
GND GND
RS dc GPIO24
RST reset GPIO25
LED led 3.3V

Touch

Touchpanel

Wiring

Display Raspberry Pi Note
T_CLK SCLK
T_DIN MOSI
T_DOUT MISO
T_CS CE1
T_IRQ GPIOn must be matched with ads7846 parameter gpio_pendown

HY28A

HY28A

Product page: http://www.hotmcu.com/28-touch-screen-tft-lcd-with-spi-interface-p-42.html
Schematic: http://www.haoyuelectronics.com/ebay/NXP%20LPC1768-Mini-DK/HY28A_SCH.pdf
ILI9320 Application Notes: http://www.densitron.com/uploadedFiles/Displays/Support/ILI9320AN_V0.92.pdf

Wiring

Display Driver gpio name Raspberry Pi Remark
3V3_in 3.3
GND GND
LCDB_SCK SCLK
LCDB_SDO MISO
LCDB_SDI MOSI
LCDB_CS CE0
RST reset GPIO25
TP_SCK SCLK
TP_SDO MISO
TP_SDI MOSI
TP_CS CE1
TP_IRQ GPIO17
BL_CTRL led GPIO18

Touchpanel

HY28B

HY28B

Product page: http://www.hotmcu.com/28-touch-screen-tft-lcd-with-all-interface-p-63.html

ILSoft OLED

OLED

Kickstarter Page: http://www.kickstarter.com/projects/ilsoftltd/colour-oled-breakout-board
Product page: http://electronics.ilsoft.co.uk/ColourOLED.aspx

Wiring

Display Driver gpio name Raspberry Pi Remark
GND GND
VCC 5V
D\C dc GPIO25 Command/data
SDI MOSI
SCK SCLK
CS CE0 Chip Select
RES reset GPIO24

Freetronics OLED128

OLED

Product page: http://www.freetronics.com/products/128x128-pixel-oled-module

tinylcd35

tinylcd35

Product page: http://www.tinylcd.com/product.php?id_product=24

The seller won't give up info on the LCD controller used.

piwik

Generic 1.8"

generic18

Product Page: None - Generic Clone of this model: http://item.taobao.com/item.htm?spm=a1z10.1-c.w4023-822319401.14.TVowVl&id=26395496586

The version from eBay offers three different driver IS's,S6D02A1 / HX8353 / ST7735. 2 separate items from 2 different sellers (on different sites) both run using the HX8353.

Generic 7" SSD1963 controller, Parallel databus

generic7

Product page: http://www.ebay.com/itm/PCB-7-TFT-LCD-SSD1963-Touch-/370853025098?_ul=KZ

Wiring

Display Driver gpio name RaspberryPi2 Remark model B
3.3V 5V Can use 3.3V if R3 is shorted. See schematic
GND GND Ground
5V 5V Connect directly or with a apart source
LED led 3.3V Can't drive backlight directly. Use transistor (50mA) or GPIO X
RS dc GPIO3 GPIO1 rev 2
WR wr GPIO4 GPIO2 rev 2
RD 3.3V
DB0 db00 GPIO17
DB1 db01 GPIO27
DB2 db02 GPIO22
DB3 db03 GPIO6
DB4 db04 GPIO13
DB5 db05 GPIO19
DB6 db06 GPIO26
DB7 db07 GPIO20
DB8 db08 GPIO5
DB9 db09 GPIO8
DB10 db10 GPIO18
DB11 db11 GPIO23
DB12 db12 GPIO24
DB13 db13 GPIO21
DB14 db14 GPIO12
DB15 db15 GPIO16
CS cs GND Ground
RST reset GPIO2

Touch

Touchpanel

Wiring

Display RaspberryPi2 Note modelB
T_CLK SCLK
T_DIN MOSI
T_DOUT MISO
T_CS CE1
T_IRQ GPIO25 Set default RB Jessie