'ST7781'에 해당되는 글 1건

  1. 2016.09.26 2.4 Inch TFT Touch LCD Shield (ST7781) [D001]

2.4 Inch TFT Touch LCD Shield (ST7781) [D001]



Loading Graphic : https://www.youtube.com/watch?v=GYCeGMsrbFA


Draw :  https://www.youtube.com/watch?v=PJ1l4Nn3UVw


* GitHub https://github.com/rdiot/rdiot-d001.git


* Specs

There’s no doubt Arduino has quickly become the world’s most popular do-it-yourself microcontroller board system, thanks to its simplicity, versatility and surprisingly low cost. But the key to that versatility is its Shield header that allows daughter boards or ‘shields’ to extend the Arduino’s functionality. In the last project, we built a digital clock project using the popular 1602 alphanumeric LCD shield and it’s hopefully had your mind ticking over with other ideas and possibilities. This month, we’re going a step further, introducing a new low-cost shield that incorporates a 320 x 240-pixel TFT LCD touchscreen.


The ST7781 is a single-chip controller/driver for 262K-color, graphic type TFT-LCD. It consists of 720 source line and

320 gate line driving circuits. This chip is capable of connecting directly to an external microprocessor, and accepts,

8-bits/9-bits/16-bits/18-bits parallel interface. Display data can be stored in the on-chip display data RAM of 240x320x18

bits. It can perform display data RAM read/write operation with no external operation clock to minimize power

consumption. In addition, because of the integrated power supply circuits necessary to drive liquid crystal, it is possible to

make a display system with the fewest components. 


Driver Output:

- 720ch Source Outputs (240 X RGB)

- 320ch Gate Outputs

- Common Electrode Output 


Single Chip Display RAM:

-Capacity: 240x320x18 bit 


Support Display Color

- 65K Color

- 262K Color

- 8-color (Idle Mode) 


Supported LC Type Option

- MVA LC Type

- Transflective LC Type

- Transmissive LC Type 


Supported MCU Interface

- 8/9/16/18-bit Interface with 8080-Series MCU 


Display Features

- Partial Display Mode

- Resizing Function (x1/2, x1/4)


Build-in Circuit

- DC/DC Converter

- Adjustable VCOM Generation

- Oscillator for Display Clock Generation

- Timing Controller

- Non-volatile Memory for Factory Default Value

- Line Inversion, Frame Inversion 


Non-Volatile Memory

- 7-bits for ID Code

- 5-bits for VCOM Adjustment 


Supply Voltage Range

- Analog Supply Voltage (VDD) Range: 2.5V to 3.3V

- I/O Supply Voltage (VDDI) Range: 1.65V to 3.3V


Output Voltage Level

- GVDD – AGND: 3V to (AVDD-0.5) V

- AVDD – AGND: 4.5V to 5.6V

- VCL – AGND: -2.0V to -3.0V

- VCOMH – AGND: 3.0V to (AVDD-0.5) V

- VCOML – AGND: (VCL+0.5) V to 0.0V

- VGH – AGND: 10V to 16.5V

- VGL – AGND: -5V to -14V 


Lower Power Consumption

- CMOS Compatible Inputs

- Optimized Layout for COG Assembly

- Operate Temperature Range: -30 ℃ ~ +85℃



* Contents

- DataSheet : http://www.rockbox.org/wiki/pub/Main/SansaFuzePlus/ST7781.pdf

- Library1 : https://github.com/samuraijap/TFTLCD-Library  

- Library2 : https://github.com/adafruit/Adafruit-GFX-Library


- Tested Library : TFTLCD_Rack_Dongari_tftpaint_fixed.zip

modify 

ili9341(2.4inch 240x320)

#define TFTWIDTH   240

#define TFTHEIGHT  320

//#define TFTWIDTH   320

//#define TFTHEIGHT  480


identifier == 0x9325

uint16_t identifier = tft.readID();

TFT size is 240x320

Found ILI9325 LCD driver 


- Connect / Pin Map

A0 LCD_RD

A1 LCD_WR / TS_YP

A2 LCD_RS / TS_XM

A3 LCD_CS

A4 LCD_RST

D8 LCD_D0

D9 LCD_D1

D2 LCD_D2

D3 LCD_D3

D4 LCD_D4

D5 LCD_D5

D6 LCD_D6 / TS_XP

D7 LCD_D7 / TS_YM

D8 SD_SS

D9 SD_DI

D10 SD_DO

D11 SD_SCK

Posted by RDIoT
|