Raspberry_LCD_ID_Reader
Read Registers on MCUFRIEND UNO shield for WiringPi.
It's the same outward appearance, but mcufriend has a lot of variations.
And Sailor's information makes a mistake in most cases.
Many drivers can distinguish in 0x0000 register.
There is typical driver ID below.
http://domoticx.com/arduino-library-tft-lcd-shield/
Wirering
TFT | Rpi/Opi | |
---|---|---|
LCD_RST | -- | Pin#7 |
LCD_CS | -- | Pin#3 |
LCD_RS | -- | Pin#5 |
LCD_WR | -- | Pin#26 |
LCD_RD | -- | Pin#28 |
LCD_D0 | -- | Pin#29 |
LCD_D1 | -- | Pin#31 |
LCD_D2 | -- | Pin#33 |
LCD_D3 | -- | Pin#35 |
LCD_D4 | -- | Pin#37 |
LCD_D5 | -- | Pin#32 |
LCD_D6 | -- | Pin#36 |
LCD_D7 | -- | Pin#38 |
5V | -- | 5V(*) |
3.3V | -- | 3.3V(*) |
GND | -- | GND |
*When a regulator(It's often AMS1117) is mounted on the back, it's operated 5V.
*When a regulator is NOT mounted on the back, it's operated 3.3V.
How to build
git clone https://github.com/nopnop2002/Raspberry_LCD_ID_Reader
cd Raspberry_LCD_ID_Reader
cc -o lcd_id lcd_id.c -lwiringPi -lpthread
sudo ./lcd_id
- example of ILI9325
- example of ILI9341
- example of ILI9342
- example of ILI9481
- example of spfd5408