2.2 inch tft lcd display spi ili9341 made in china
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 can operate with 1.65V ~ 3.3V I/O interface voltage and an incorporated voltage follower circuit to generate voltage levels for driving an LCD.
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
ILI9341 is a 262,144-color single-chip SOC driver for a-TFT liquid crystal display with resolution of 240RGBx320 dots, comprising a 720-channel source driver, a 320-channel gate driver, 172,800 bytes GRAM for graphic display data of 240RGBx320 dots, 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). The moving picture area can be specified in internal GRAM by window address function. The specified window area can be updated selectively, so that moving picture can be displayed simultaneously independent of still picture area.
You can find ILI9341-based TFT displays in various sizes on eBay and Aliexpress. The one I chose for this tutorial is 2.2″ length along the diagonal, 240×320 pixels resolution, supports SPI interface, and can be purchased for less than $10.
Note that we will be using the hardware SPI module of the ESP8266 to drive the TFT LCD. The SPI communication pins are multiplexed with I/O pins D5 (SCK), D6 (MISO), and D7 (MOSI). The chip select (CS) and Data/Command (DC) signal lines are configurable through software.
For ILI9341-based TFT displays, there are some options for choosing the library for your application. The most common one is using Bodmer. We will use this library in this tutorial. So go ahead and download the
The library is based on the Adafruit GFX and Adafruit ILI9341 libraries and the aim is to retain compatibility. Significant additions have been made to the library to boost the speed for ESP8266 processors (it is typically 3 to 10 times faster) and to add new features. The new graphics functions include different size proportional fonts and formatting features. There are a significant number of example sketches to demonstrate the different features.
Configuration of the library font selections, pins used to interface with the TFT and other features is made by editting the User_Setup.h file in the library folder. Fonts and features can easily be disabled by commenting out lines.
Now you are all set to try out tons of really cool built-in examples that come with the library. The following output corresponds to the TFT_Pie_Chart example.
My favorite example is TFT terminal, which implements a simple “Arduino IDE Serial Monitor” like serial receive terminal for monitoring debugging messages from another Arduino or ESP8266 board.
Hello i been having a hard time figuring out how to program the ILI9341 2.4 inch lcd touch on a arduino due currently not using the touch part just the lcd. so i looked around and around and found this website and had to translate it to englsh. https://translate.google.com/translate?sl=auto&tl=en&js=y&prev=_t&hl=en&ie=UTF-8&u=http%3A%2F%2Fhetpro-store.com%2FTUTORIALES%2Farduino%2Fpantallas-lcdtft%2Fpantalla-tft-rgb-2-2%2F&edit-text=&act=url so i wired it up like they did even use the same library of adafruit the Adafruit_ILI9340 library with the adafruit_GFX library and that seem to work i tried other libraries but none of them seem to work on the due. but here is where I"m having the problem this setup is made for a 2.2 inch screen and i have a 2.4 inch screen so at the top of the screen there is a area that is missing blank i have posted a image below. If someone has came across this problem and fix it can help me with some pointers on how i can do the same? thank you.