Description
3.5 inch TFT Touch LCD Screen Display Module For Arduino UNO R3 , Resolution 480 x 320
- R61509 and ili9327 controller
- 5V compatible! Use with 3.3V or 5V logic
- On board 3.3V at 300mA LDO regulator
- 4 white LED back light. On by default but you can connect the transistor to a digital pin for back light control
- 4-wire resistive touchscreen.
Sample Test code:
ILI9327:
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
Reviews
There are no reviews yet.