Categories
Raspberry Pi

SainSmart 2.8″ TFT LCD Display Touch Screen on Raspberry Pi

I have a SainSmart 2.8″ TFT LCD Display Touch Screen a couple of years ago from MicroCenter. I want to use it on the Raspberry Pi and was surprised that no one has posted how to do this. I looked into this a bit and it looks like it should be easy enough. One of the things that throws folks off is the display is 16 bit verses 8 bit that is typically used on these displays. You can still use them with only 8 bits of data. Unfortunately SainSmart does not provide information on their product pages to allow their products to be used with anything other that their adapters or other products.

Here are some useful links that will be used in this writeup.

  1. Product Page for SainSmart 2.8″ TFT LCD Display Touch Screen
  2. Discussion page on Raspberry Pi Forum
  3. Zip file mentioned in the Raspberry Pi Forum post by M15H
  4. Posts on Adafruit’s Leaning site
LCDRaspberry Pi
PinFunctionPinFunction
1GND6, 9, 14, 20, 25, 30, 34, 39GND
2VCC1, 173V3
3NC  
4RS12GPIO 18
5WR11GPIO 17
6RD 1, 173V3
7DB815GPIO 22
8DB916GPIO 23
9DB1018GPIO 24
10DB1119GPIO 10
11DB1222GPIO 25
12DB1321GPIO 9
13DB1423GPIO 11
14DB1524GPIO 8
15CS7GPIO 4
16F_CS  
17RESET26GPIO 7
18NC  
19LED-A1, 173V3
20NC  
21DB06, 9, 14, 20, 25, 30, 34, 39GND
22DB16, 9, 14, 20, 25, 30, 34, 39GND
23DB26, 9, 14, 20, 25, 30, 34, 39GND
24DB36, 9, 14, 20, 25, 30, 34, 39GND
25DB46, 9, 14, 20, 25, 30, 34, 39GND
26DB56, 9, 14, 20, 25, 30, 34, 39GND
27DB66, 9, 14, 20, 25, 30, 34, 39GND
28DB76, 9, 14, 20, 25, 30, 34, 39GND
29D_CLK-23- -GPIO 11-
30D_CS-26--GPIO 7-
31D_DIN-19--GPIO 10-
32D_BUSY  
33D_OUT-21--GPIO 9-
34D_Penirq  
35SD_OUT(F_SI)  
36SD_SCLK(F_SCK)  
37SD_DIN(F_SO)  
38SD_CS  
39F_WP  
40F_HOLD  
Raspberry Pi Pinouts
Raspberry Pi Pinouts (https://www.raspberrypi.org/)

ILI9325

http://www.anya.bagge.no/hacks/2018/02/17/tft-panel/

https://www.raspberry-pi-geek.com/Archive/2014/07/TFT-touchscreens-for-the-Raspberry-Pi

https://www.raspberrypi.org/forums/viewtopic.php?t=208264

By richteel

Software and hardware developer who likes learning new things with a passion of sharing knowledge with others.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d