2.2 tft lcd with touch screen ili9225 arduino setup brands

I am trying to find a demo sketch and the correct wiring to connect an OPEN-SMART 2.2” TFT LCD w/ Touch Screen (ILI9225) to an Arduino Uno clone or an Arduino Mega2560 clone. I have searched the web extensively to no avail. I would like to get it working so I could use it on a project I’m trying to make. I am a relative newbie to Arduino so I don’t know enough about C++ to alter some other sketch to make it work with this LCD and I have not been able to find a data sheet on it. If someone could direct me to the correct location for the wiring and sketch I would be most appreciative. By the way, the LCD has 16 pins on one end; they are: GND, 3V3, CS, RS(X-), WR(Y+), RD, RST, LED, DB0 to DB6(X+), DB7(Y-). I don’t know which of these pins to connect to which pins on the Uno or Mega.

When I purchased the LCD I was under the belief that there was multiple instances of using this LCD on the Web and certainly wiring schematics and sketches that I could use. Well, that’s just NOT the case, or I couldn’t find any. Had I known how tough it is to use this LCD I would not have purchased it. So, again, any help would be much appreciated.

2.2 tft lcd with touch screen ili9225 arduino setup brands

However, now the problem is the touch screen. I cannot calibrate. I used TouchScreen_Calibr_native, and pasted the results into Touch_shield_new, but it"s not working, only a part of the screen, left side, works. On the draw screen (Touch_shield_new), the screen only works in the upper left corner, and draws on the right side of the screen.

2.2 tft lcd with touch screen ili9225 arduino setup brands

Look at the back of the 2.2inch TFT LCD Display Module Touch Screen Shield from OpenSmart. These are not the same pins we saw with the 2.4inch ILI9341 which followed the MCUFRIEND layout.

Let"s go through the pinouts and see what they are. The UART and I2C ports are available and they are wired out to the face of the shield. A few pins are unused. The data leads for the LCD screen are spread about. Schematics say the SPI pins are standard.

When I ordered my board the vendor gave me a link to GoogleDocs where I downloaded a zip file. The Zip file was for more than one product. Inside the ILI9225 shield folder were two arduino libraries for Arduino TouchScreen and UTFT.

When you restart your Arduino IDE there will be menus for TouchScreen and UTFT added to your examples. Look inside the examples folder in the library and you will see several TFT screen products are listed.

Let"s open the example TFT_2in2_176x220_Demo and compile to make sure everything is working. Error messages do contain useful information about what you have to repair.

Upload the sketch and the Demo program will run on the screen. There are two more example sketches for our shield: TFT_2in2_Show_bmp and TouchScreen_2inch_9225.

Let us try another sketch. This one is very basic and you should change parameters around to see what you get. Change colours, change locations.// Demo of Graphics on OpenSmart ILI9225 2.2inch shield 176x220

We are using release 2.78 of the UTFT library from 2014. OpenSmart has modified the library to support their boards. That is why they gave me a download.

The UTFT library was produced by Rink Dink Electronics and you can download the latest release 2.83 from 2018. Unfortunately, this version of the library will not work with our board. It does not have files to work with the ILI9225. But we can still use the examples if we modify them.

Open the sketch UTFT_ViewFont and find the constructor. Comment out the line UTFT myGLCD(ITDB32S, 38, 39, 40, 41) because it is for a different display type on a different Arduino board.

2.2 tft lcd with touch screen ili9225 arduino setup brands

This is a library for the ILI9225 based 2.2" 176x220 TFT LCD shields commonly found on eBay, originally forked from the screen_4D_22_library library. The ability to use GLCD fonts has been added and the syntax has been changed to match the Adafruit libraries somewhat.

Extract the ZIP file to the library folder your arduinosketchfolder/libraries/ folder. You may need to create the libraries subfolder if it"s your first library.

2.2 tft lcd with touch screen ili9225 arduino setup brands

No! For about the price of a familiar 2x16 LCD, you get a high resolution TFT display. For as low as $4 (shipping included!), it"s possible to buy a small, sharp TFT screen that can be interfaced with an Arduino. Moreover, it can display not just text, but elaborate graphics. These have been manufactured in the tens of millions for cell phones and other gadgets and devices, and that is the reason they are so cheap now. This makes it feasible to reuse them to give our electronic projects colorful graphic displays.

There are quite a number of small cheap TFT displays available on eBay and elsewhere. But, how is it possible to determine which ones will work with an Arduino? And what then? Here is the procedure:ID the display. With luck, it will have identifying information printed on it. Otherwise, it may involve matching its appearance with a picture on Google images. Determine the display"s resolution and the driver chip.

Find out whether there is an Arduino driver available. Google is your friend here. Henning Karlsen"s UTFT library works with many displays. (http://www.rinkydinkelectronics.com/library.php?i...)

Download and install the driver library. On a Linux machine, as root, copy the library archive file to the /usr/share/arduino/libraries directory and untar or unzip it.

Load an example sketch into the Arduino IDE, and then upload it to the attached Arduino board with wired-up TFT display. With luck, you will see text and/or graphics.

We"ll begin with a simple one. The ILI9163 display has a resolution of 128 x 128 pixels. With 8 pins in a single row, it works fine with a standard Arduino UNO or with a Mega. The hardware hookup is simple -- only 8 connections total! The library put together by a smart fella, by the name of sumotoy, makes it possible to display text in multiple colors and to draw lines.

Note that these come in two varieties, red and black. The red ones may need a bit of tweaking to format the display correctly -- see the comments in the README.md file. The TFT_ILI9163C.h file might need to be edited.

It is 5-volt friendly, since there is a 74HC450 IC on the circuit board that functions as a level shifter. These can be obtained for just a few bucks on eBay and elsewhere, for example -- $3.56 delivered from China. It uses Henning Karlsen"s UTFT library, and it does a fine job with text and graphics. Note that due to the memory requirement of UTFT, this display will work with a standard UNO only with extensive tweaking -- it would be necessary to delete pretty much all the graphics in the sketch, and just stay with text.

on the far side of the display. It has 220x176 resolution (hires!) and will accept either 3.3 or 5 volts. It will work hooked up to an Uno, and with a few pin changes, also with a Mega. The 11-pin row is for activating the display itself, and the 5-pin row for the SD socket on its back.

This one is a 2.2" (diagonal) display with 176x220 resolution and parallel interface. It has a standard ("Intel 8080") parallel interface, and works in both 8-bit and 16-bit modes. It uses the S6D0164 driver in Henning Karlsen"s UTFT library, and because of the memory requirements of same, works only with an Arduino Mega or Due. It has an SD card slot on its back

This one is a bit of an oddball. It"s a clone of the more common HY-TFT240, and it has two rows of pins, set at right angles to one another. To enable the display in 8-bit mode, only the row of pins along the narrow edge is used. The other row is for the SD card socket on the back, and for 16-bit mode. To interface with an Arduino ( Mega or Due), it uses Henning Karlsen"s UTFT library, and the driver is ILI9325C. Its resolution is 320x240 (hires!) and it incorporates both a touch screen and an SD card slot.

Having determined that a particular TFT display will work with the Arduino, it"s time to think about a more permanent solution -- constructing hard-wired and soldered plug-in boards. To make things easier, start with a blank protoshield as a base, and add sockets for the TFT displays to plug into. Each socket row will have a corresponding row next to it, with each individual hole "twinned" to the adjacent hole in the adjoining row by solder bridges, making them accessible to jumpers to connect to appropriate Arduino pins. An alternative is hard-wiring the socket pins to the Arduino pins, which is neater but limits the versatility of the board.

In step 5, you mention that the TFT01 display can"t be used with the UTFT library on an Arduino Uno because of its memory requirements. It can - all you have to do is edit memorysaver.h and disable any display models you"re not using.

I think you should add a disclaimer that the code might make the Arduino Uno unprogrammable afterward (due to use up the two 0 and 1 pin) and link to how to fix it: https://stackoverflow.com/questions/5290428/how-to-reset-an-arduino-board/8453576?sfb=2#84535760

Not at all - it was your Instructable that got me going with the display to begin with! We all build off each other"s work, to the benefit of everyone.0

Tho I realize this is quickly becoming legacy hardware, these 8,16 bit parallel spi with 4 wire controller 3.2in Taft touch display 240x380. It has become very inexpensive with ally of back stock world wide so incorporating them into any project is easier then ever. Sorry to my question. I’m having difficulty finding wiring solution for this lcd. It is a sd1289 3.3 and 5v ,40 pin parallel 8,16 bit. I do not want to use a extra shield,hat or cape or adapter. But there’s a lot of conflicting info about required lvl shifters for this model any help or links to info would be great .. thank you. I hope I gave enough information to understand what I’m adoing

#1 you need a data sheet for the display and pinout and the i/o board attached to the cable.Than before you buy check for a driver for this chip Raydium/RM69071.if no driver lib are you able to write one and do you have the necessary tools to work on this scale to wire it up ..if you answer no than search for an arduino ready product.WCH0

hooking up and adding a lib is no piece of cake insure the screen you buy is arduino ready and sold by a reputable shop with step by step directions...WCH0

I"m sorry that I can"t help you with this. You"ll have to do your own research. See if you can identify the chipset and find out if there"s an Arduino driver for it.0

Thanks for the wealth of knowledge! It is amazing at what is possible with items the average person can easily acquire. I hope to put some of your tips to use this winter as I would like to build sensors and other items for home automation and monitoring. Being able to have small displays around the house in addition to gathering and controlling things remotely will help the family see room conditions without going to the computer. The idea of a touchscreen control for cheap is mind blowing.