Přidat otázku mezi oblíbenéZasílat nové odpovědi e-mailem TFT LCD 3.5 inch Display Touch Screen Module Arduino UNO R3

Zdravím.
Koupil jsem si s ali displej pro arduino uno a nemužu ho rozchodit.
Našel jse něco tady.
index.php

Na netu pišou že se ma nahrat do arduina LCD_ID_readreg.ino a přes serial monitor to vypiše info o displeji.
Neporadí někdo?

Read Registers on MCUFRIEND UNO shield
controllers either read as single 16-bit
e.g. the ID is at readReg(0)
or as a sequence of 8-bit values
in special locations (first is dummy)

reg(0x0000) 00 00	ID: ILI9320, ILI9325, ILI9335, ...
reg(0x0004) 00 00 00 00	Manufacturer ID
reg(0x0009) 00 00 00 00 00	Status Register
reg(0x000A) 08 08	Get Powsr Mode
reg(0x000C) 66 66	Get Pixel Format
reg(0x0061) 00 00	RDID1 HX8347-G
reg(0x0062) 00 00	RDID2 HX8347-G
reg(0x0063) 00 00	RDID3 HX8347-G
reg(0x0064) 00 00	RDID1 HX8347-A
reg(0x0065) 00 00	RDID2 HX8347-A
reg(0x0066) 00 00	RDID3 HX8347-A
reg(0x0067) 00 00	RDID Himax HX8347-A
reg(0x0070) 00 00	Panel Himax HX8347-A
reg(0x00A1) 00 00 00 00 00	RD_DDB SSD1963
reg(0x00B0) 00 00	RGB Interface Signal Control
reg(0x00B4) 00 00	Inversion Control
reg(0x00B6) 00 00 00 00 00	Display Control
reg(0x00B7) 00 00	Entry Mode Set
reg(0x00BF) 01 01 22 15 81 00	ILI9481, HX8357-B
reg(0x00C0) 00 00 3B 00 02 00 01 00 43	Panel Control
reg(0x00C8) 00 00 00 00 00 00 00 00 00 00 00 00 00	GAMMA
reg(0x00CC) 00 00	Panel Control
reg(0x00D0) 00 00 00	Power Control
reg(0x00D2) 03 03 24 04 00	NVM Read
reg(0x00D3) 03 03 24 04	ILI9341, ILI9488
reg(0x00DA) 00 00	RDID1
reg(0x00DB) 00 00	RDID2
reg(0x00DC) 00 00	RDID3
reg(0x00E0) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00	GAMMA-P
reg(0x00E1) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00	GAMMA-N
reg(0x00EF) 00 00 00 00 00 00	ILI9327
reg(0x00F2) 07 07 00 00 00 00 00 00 00 00 00 00	Adjust Control 2
reg(0x00F6) 00 00 00 00	Interface Control

Předmět Autor Datum
Kazdy display ma nejaky datasheet, a nasledne podla toho kam je to zapojene mozes s nim komunikovat.…
MM.. 25.09.2016 11:42
MM..
Na netu pišou že se ma nahrat do arduina LCD_ID_readreg.ino a přes serial monitor to vypiše info o d…
marek.j 25.09.2016 12:46
marek.j
On sa ta, ale pytal. ci to mas vobec spravne zapojene. Ty uz chces komunikovat a este si neskontrolo…
fleg-sk 25.09.2016 13:41
fleg-sk
Tak toto jsem moc nepochopil. Displej ma natvrdo piny, ktere se zastrčí do arduina. Popřehazovat to…
marek.j 26.09.2016 07:42
marek.j
A to co tam pisu si uz skusal? LCD_Write_COM(0xE9); LCD_Write_DATA(0x20); LCD_Write_COM(0x11); //Ex…
MM.. 26.09.2016 07:46
MM..
http://forum.arduino.cc/index.php?topic=37960.5;wa p2 ? P.S. datasheet pre ILI9327 je hned prvy odk…
MM.. 26.09.2016 07:48
MM..
Hm.Tak to je už mimo mně :-( Kamoš mi pujčil takový. http://www.banggood.com/3_5-Inch-TFT-Color-Scre… poslední
marek.j 26.09.2016 09:37
marek.j

A to co tam pisu si uz skusal?

LCD_Write_COM(0xE9);
LCD_Write_DATA(0x20);
LCD_Write_COM(0x11); //Exit Sleep
delay(100);
LCD_Write_COM(0xD1);
LCD_Write_DATA(0x00);
LCD_Write_DATA(0x71);
LCD_Write_DATA(0x19);
LCD_Write_COM(0xD0);
LCD_Write_DATA(0x07);
LCD_Write_DATA(0x01);
LCD_Write_DATA(0x8);
LCD_Write_COM(0x36);
LCD_Write_DATA(0x48);
LCD_Write_COM(0x3A);
LCD_Write_DATA(0x05);
LCD_Write_COM(0xC1);
LCD_Write_DATA(0x10);
LCD_Write_DATA(0x10);
LCD_Write_DATA(0x02);
LCD_Write_DATA(0x02);
LCD_Write_COM(0xC0); //Set Default Gamma
LCD_Write_DATA(0x00);
LCD_Write_DATA(0x35);
LCD_Write_DATA(0x00);
LCD_Write_DATA(0x00);
LCD_Write_DATA(0x01);
LCD_Write_DATA(0x02);
LCD_Write_COM(0xC5); //Set frame rate
LCD_Write_DATA(0x04);
LCD_Write_COM(0xD2); //power setting
LCD_Write_DATA(0x01);
LCD_Write_COM(0x44);
LCD_Write_COM(0xC8); //Set Gamma
LCD_Write_DATA(0x04);
LCD_Write_DATA(0x67);
LCD_Write_DATA(0x35);
LCD_Write_DATA(0x04);
LCD_Write_DATA(0x08);
LCD_Write_DATA(0x06);
LCD_Write_DATA(0x24);
LCD_Write_DATA(0x1);
LCD_Write_DATA(0x37);
LCD_Write_DATA(0x40);
LCD_Write_DATA(0x03);
LCD_Write_DATA(0x10);
LCD_Write_DATA(0x8);
LCD_Write_DATA(0x80);
LCD_Write_DATA(0x0);
LCD_Write_COM(0x2A);
LCD_Write_DATA(0x00);
LCD_Write_DATA(0x00);
LCD_Write_DATA(0x00);
LCD_Write_DATA(0xeF);
LCD_Write_COM(0x2B);
LCD_Write_DATA(0x00);
LCD_Write_DATA(0x00);
LCD_Write_DATA(0x01);
LCD_Write_DATA(0x3F);
LCD_Write_COM(0x29); //display on
LCD_Write_COM(0x2C); //display on

Datasheet pre ILI9327 si uz skusal hladat?

Zpět do poradny Odpovědět na původní otázku Nahoru