2.2 spi tft display in stock
Module Size:67mm(length)*40mm(width)*4mm(thickness), Active Area: 47.5mm(Length)x36.5mm(Width)Package Included:1*2.2" 2.2 inch 4-Wire SPI TFT LCD Display ModuleHow to use it?1. use 5v to led pin, 3.3v to vcc and 1k / 1.5k resistor voltage dividers to get it to work. 1k resistor in series from Arduino to tft logic pin, 1.5k from tft pin to ground.
1. use 5v to led pin, 3.3v to vcc and 1k / 1.5k resistor voltage dividers to get it to work. 1k resistor in series from Ar-duino to tft logic pin, 1.5k from tft pin to ground.
ER-TFT022-1 is 240x320 dots 2.2" color tft lcd module display with ILI9341 controller,optional capacitive touch panel with controller FT6236U and resistive touch panel,superior display quality,super wide viewing angle and easily controlled by MCU such as 8051, PIC, AVR, ARDUINO ARM and Raspberry PI.It can be used in any embedded systems,industrial device,security and hand-held equipment which requires display in high quality and colorful image.It supports 8080 8-bit,9-bit,16-bit,18-bit parallel,3-wire,4-wire serial spi interface. FPC with zif connector is easily to assemble or remove.Lanscape mode is also available.
Of course, we wouldn"t just leave you with a datasheet and a "good luck!".Here is the link for 2.2"TFT Shield with Libraries, Examples.Schematic Diagram for Arduino Due,Mega 2560 and Uno.For 8051 microcontroller user,we prepared the detailed tutorial such as interfacing, demo code and Development Kit at the bottom of this page.
ILI9341 is a 262144-color single-chip SOC driver for a TFT liquid crystal display with resolution of 240x320 dots (RGB), comprising a 720-channel source driver, a 320-channel gate driver, 172800 bytes GRAM for graphic display data of 240x320 dots (RGB), and power supply circuit.
ILI9341 supports parallel 8-/9-/16-/18-bit data bus MCU interface, 6-/16-/18-bit data bus RGB interface and 3-/4-line serial peripheral interface (SPI).
ILI9341 supports full color, 8-color display mode and sleep mode for precise power control by software and these features make the ILI9341 an ideal LCD driver for medium or small size portable products such as digital cellular phones, smart phone, MP3 and PMP where long battery life is a major concern.
Specifications:Resolution: 240x320Driver IC: ILI9341Input Voltage: 5V/3.3VSize 2.2 inch, It has PCB backplane with power IC, SD card socketLED Numbers 4 LEDs, Driver IC: ILI9341, Color Depth 262K/65KModule Size:67mm(length)*40mm(width)*4mm(thickness), Active Area: 47.5mm(Length)x36.5mm(Width)How to use it?1. use 5v to led pin, 3.3v to vcc and 1k / 1.5k resistor voltage dividers to get it to work. 1k resistor in series from Arduino to tft logic pin, 1.5k from tft pin to ground.2.#define TFT_DC 9#define TFT_CS 10#define TFT_MOSI 11#define TFT_CLK 13#define TFT_RST 12#define TFT_MISO 83.// Use hardware SPI (on Uno, #13, #12, #11) and the above for CS/DC//ILI9341 tft = ILI9341(TFT_CS, TFT_DC);4.// If using the breakout, change pins as desiredILI9341 tft = ILI9341(TFT_CS, TFT_DC, TFT_MOSI, TFT_CLK, TFT_RST, TFT_MISO).Serial monitor output:1-- ILI9341 Test!Display Power Mode: 0x94MADCTL Mode: 0x48Pixel Format:0x5ImageFormat: 0x80Self Diagnostic: 0xC0Benchmark Time (microseconds)2-- Screen fill 18159720Text 921664Lines 8537648Horiz/Vert Lines 1485756Rectangles (outline) 946520Rectangles (filled) 37689232Circles (filled) 5325780Circles (outline) 3725412Triangles (outline) 1944508Triangles (filled) 12525852Rounded rects (outline) 1782700Rounded rects (filled) 40989648
TFT LCD module has always been one of the hot products in DIY industry and LCD is basically the necessary products during all projects, at the same time, serial port modules are also the popular ones, because it takes few IO and the usage is simple. This section of the 2.2 inch TFT LCD serial SPI integrated features of compact, SPI interface.
The LCD drive ic is ILI9341. It"s a 240 * 320 (resolution), 2.2 inch TFT LCD screen. The LCD has a wide viewing angle, the contrast is also very suitable.
Use this 2.2" Color TFT LCD Display to add a vibrant color display to your Raspberry Pi projects. Just wire up your display and use the SPI protocol to communicate with your TFT. This is more advanced than our Raspberry Pi LCD shields since you have to wire using a breadboard and use the fbtft Raspberry Pi Library when configuring so we recommend it for intermediate users.
For Arduino users, this display is also Arduino compatible however we recommend our 11 Pin 2.2" TFT LCD Display which can be plugged directly into an Arduino UNO or Mega so you don"t have to use a breadboard.
Specifications:Resolution: 240x320Driver IC: ILI9341Input Voltage: 5V/3.3VSize 2.2 inch, It has PCB backplane with power IC, SD card socketLED Numbers 4 LEDs, Driver IC: ILI9341, Color Depth 262K/65KModule Size:67mm(length)*40mm(width)*4mm(thickness), Active Area: 47.5mm(Length)x36.5mm(Width)How to use it?1. use 5v to led pin, 3.3v to vcc and 1k / 1.5k resistor voltage dividers to get it to work. 1k resistor in series from Arduino to tft logic pin, 1.5k from tft pin to ground.2.#define TFT_DC 9#define TFT_CS 10#define TFT_MOSI 11#define TFT_CLK 13#define TFT_RST 12#define TFT_MISO 83.// Use hardware SPI (on Uno, #13, #12, #11) and the above for CS/DC//ILI9341 tft = ILI9341(TFT_CS, TFT_DC);4.// If using the breakout, change pins as desiredILI9341 tft = ILI9341(TFT_CS, TFT_DC, TFT_MOSI, TFT_CLK, TFT_RST, TFT_MISO).Serial monitor output:1-- ILI9341 Test!Display Power Mode: 0x94MADCTL Mode: 0x48Pixel Format:0x5ImageFormat: 0x80Self Diagnostic: 0xC0Benchmark Time (microseconds)2-- Screen fill 18159720Text 921664Lines 8537648Horiz/Vert Lines 1485756Rectangles (outline) 946520Rectangles (filled) 37689232Circles (filled) 5325780Circles (outline) 3725412Triangles (outline) 1944508Triangles (filled) 12525852Rounded rects (outline) 1782700Rounded rects (filled) 40989648
Use this 2.2" Color TFT LCD Display to add a vibrant color display to your Raspberry Pi projects. Just wire up your display and use the SPI protocol to communicate with your TFT. This is more advanced than our Raspberry Pi LCD shields since you have to wire using a breadboard and use the fbtft Raspberry Pi Library when configuring so we recommend it for intermediate users.
For Arduino users, this display is also Arduino compatible however we recommend our 11 Pin 2.2" TFT LCD Display which can be plugged directly into an Arduino UNO or Mega so you don"t have to use a breadboard.
The DT022BTFT uses the same connections as the DT022CTFT, with the exception of the backlight (which has connections shown in the Displaytech datasheet).
The provided display driver example code is designed to work with Microchip, however it is generic enough to work with other micro-controllers. The code includes display reset sequence, initialization and example PutPixel() function. Keep the default values for all registers in the ILI9341, unless changed by the example code provided.
4-wire 8-bit Serial Data Interface II is the correct mode to use based on the microprocessor pins available. This mode is closest to standard SPI port operation with a few minor exceptions.
Note that the WR pin becomes the D/CX signal in serial mode. CS is used to initiate a data transfer by pulling it low. At the end of the data transfer, pull the CS pin high to complete the transaction. The timing diagram indicates that you can pull the CS pin high in between the command byte and data bytes within a transfer, but it is unlikely needed if the display is the only device on the SPI bus. To keep things simple, we suggest to leave it low during the entire transaction.
The 2.2 inch TFT display is equipped with an ILI9341 driver and can easily be accessed using the SPI port of your Arduino or microcontrollers. The LCD module has a QVGA resolution and displays 320 x 240 pixels with a range of 262,000 colors.
Features:This is a new 2.2-inch S-P-I series color display module. Supports analog S-P-I and S-P-I hardware. Designed with socketforsd card. With P C B plate (including IC power supply, SD), compatible with 5110 interface. Compatible with 5V, use with 3.3V or 5V logic.
The graphic display coordinates and the text display coordinates of the 2.2”screen are two different coordinates systems. The origin of the graphic display coordinates begin from the centre point of the screen while that of the later one begins from the top left hand side of the screen.
The following codes are just one part of the API funciotn description. For more information, please refer to ST7687S Library Introduction and Display Library Introduction.
* @The formal parameter size refers to the text size based on the font(6×8). Size is rounded to the integer greater than 0; if size is 1, the pixel points the font occupied will be 6×8. if it is 2, that will be 12×16. The text out of the screen cannot be displayed;
The function of the program: realize the refreshing of the background color of the 2.2”screen and the switching of background color among red, white and black; there are 19 common defined color in the library, and users can also customize 4-bit hexadecimal code or decimal color code (0~65535) to alter the background color of the screen.
The function of the program: taking the centre point of the 2.2”screen as the starting point(note: the graphic display coordinates and the text display coordinates are two different coordinates, the centre point of the graphic display coordinates is (64, 64) while that of the later one is (0, 0)), display a character string ”fire” with red text background box, white font and the size of the font 2 on the screen. The formal parameter size of the function to set font size tft.setTextSize (uint8_t size) should be greater than 0 and the text out of the screen cannot be displayed.
The function of the program: use the software image2lcd.exe to extract the bitmap of one image and display it on the centre part of the 2.2”screen(note: for the reason of UNO’s internal memory, the following demo cannot be accepted on UNO since the image file is too large, but it can be displayed on ESP32. So you’d better choose small image file if you want to display it on UNO. ) The parameter selection of the software is provided below.