arduino 3.5 tft display ili9481 quotation

Displays are one of the best ways to provide feedback to users of a particular device or project and often the bigger the display, the better. For today’s tutorial, we will look on how to use the relatively big, low cost, ILI9481 based, 3.5″ Color TFT display with Arduino.

This 3.5″ color TFT display as mentioned above, is based on the ILI9481 TFT display driver. The module offers a resolution of 480×320 pixels and comes with an SD card slot through which an SD card loaded with graphics and UI can be attached to the display. The module is also pre-soldered with pins for easy mount (like a shield) on either of the Arduino Mega and Uno, which is nice since there are not many big TFT displays that work with the Arduino Uno.

The module is compatible with either of the Arduino Uno or the Arduino Mega, so feel free to choose between them or test with both. As usual, these components can be bought via the links attached to them.

One of the good things about this module is the ease with which it can be connected to either of the Arduino Mega or Uno. For this tutorial, we will use the Arduino Uno, since the module comes as a shield with pins soldered to match the Uno’s pinout. All we need to do is snap it onto the top of the Arduino Uno as shown in the image below, thus no wiring required.

This ease of using the module mentioned above is, however, one of the few downsides of the display. If we do not use the attached SD card slot, we will be left with 6 digital and one analog pin as the module use the majority of the Arduino pins. When we use the SD card part of the display, we will be left with just 2 digital and one analog pin which at times limits the kind of project in which we can use this display. This is one of the reasons while the compatibility of this display with the Arduino Mega is such a good news, as the “Mega” offers more digital and analog pins to work with, so when you need extra pins, and size is not an issue, use the Mega.

To easily write code to use this display, we will use the GFX and TFT LCD libraries from “Adafruit” which can be downloaded here. With the library installed we can easily navigate through the examples that come with it and upload them to our setup to see the display in action. By studying these examples, one could easily learn how to use this display. However, I have compiled some of the most important functions for the display of text and graphics into an Arduino sketch for the sake of this tutorial. The complete sketch is attached in a zip file under the download section of this tutorial.

As usual, we will do a quick run through of the code and we start by including the libraries which we will use for the project, in this case, the Adafruit GFX and TFT LCD libraries.

With this done, the Void Setup() function is next. We start the function by issuing atft.reset() command to reset the LCD to default configurations. Next, we specify the type of the LCD we are using via the LCD.begin function and set the rotation of the TFT as desired. We proceed to fill the screen with different colors and display different kind of text using diverse color (via the tft.SetTextColor() function) and font size (via the tft.setTextSize() function).

Next is the void loop() function. Here we basically create a UI to display the youtube subscribe button, using some of the same functions we used under the void setup() function.

The Adafruit library helps reduce the amount of work one needs to do while developing the code for this display, leaving the quality of the user interface to the limitations of the creativity and imagination of the person writing the code.

arduino 3.5 tft display ili9481 quotation

Hey guys, its Nick again, welcome once again to educ8s.tv a channel that is all about DIY electronics projects with Arduino, Raspberry Pi, ESP8266 and other popular boards. Today we are going to look at how to drive the low cost, big, Arduino 3.5″ Color TFT display. At the end of this tutorial, we would have learned how to use this interesting display with the Arduino Uno and Mega boards.

The display is quite big and offers a resolution of 480×320 pixels. It is based on the ILI9481 TFT driver, comes with an SD card slot at the back and it is pre-soldered with pins for easy mount on the Arduino Uno, which is nice since there are not many big TFT displays that work with the Arduino Uno.

Few weeks ago, I discovered this Arduino 3.5″ Color TFT display on Banggood.com and thought it will be useful in some of our projects because of its size and its low price. The price of the display is very low for such a big display, it costs 10$ and banggood.com were kind enough to send me a sample unit in order to test it and share my opinion about it with you.

As shown in the video, we will be performing simple tasks with the display to demonstrate how it works and how you can integrate it in your project. I will be performing demos such as showing how Images stored on an SD card and inserted into the SD slot of the display can be shown on the display.

Connecting the module to the Arduino is very easy. Since the module comes in a shield form, all we need to do is to snap it onto the top of the Arduino Uno as shown in the image below.

One of the few downsides to this display is the amount of the Arduino pins it uses. If we don’t use the SD card slot, we will be left with 6 digitals pins and one analog pin which can be connected to other modules or sensors. but when we use the SD card module part of the display, we will be left with just 2 digital and one analog pin which at times limits what we the kind of project for which we can use this display but fortunately, this display is also compatible with the Arduino Mega board which offers many more digital pins to work with, so when you need extra pins, and size is not an issue, use the mega. Unfortunately, this display does not work with some other Arduino Uno form factor based boards like the Arduino Due or the Wemos D1 ESP8266 board due to pin compatibility and library Issues. The Wemos D1, in particular, has just one analog pin and the display requires 5.

To use this display, we will need the libraries which can found on the product page on banggood.com. All we have to do is to install the library and load any of the examples that are designed for this shield. Since the display uses the familiar Adafruit libraries, we can easily build several impressive projects. I have developed a simple program just to demonstrate how easy it is to use the display thanks to the Adafruit libraries! It uses some of the basic functions in order to display text and simple graphics. You can download the code of this simple example for the Arduino 3.5″ Color TFT display by clicking on the download link below or by clicking on the link in the description of the video.

With this done, we then write the void setup() function. To begin we clear the LCD of previous settings, then set the type LCD we are using via the LCD.begin function. With this done, we set the rotation of the TFT and proceed to fill the screen with different colors.

The void loop section basically echoes some of the things we tried under the void setup function. The idea behind all of this is to show you what is possible with this wonderful display.

arduino 3.5 tft display ili9481 quotation

I have posted a brand new TFT_HX8357_Due library for the Due on my GitHub repository. The display supported by the library is 16 bit with 480 x 320 pixels and is available at low cost from a number of sources for example from Banggood:

Performance is quite good (320x240 UTFT demo completes in less than 1.4s) despite the fact that the 16 bit bus to the TFT is mapped to 4 different ports and pretty random processor register bits, so a lot of register bit juggling has to be performed that wastes time.

Sometimes the vendors supply a different controller, probably an ILI9481, even though the advert states HX8357B, so the library also supports that controller by selecting the ILI9481 driver in the User_Setup.h file within the library.

arduino 3.5 tft display ili9481 quotation

This 3.5 inch TFT LCD Module can be can be easy controlled by MCU such as 8051, PIC, AVR, ARDUINO, and ARM .It can be used in any embedded systems which require display high quality colorful image. Please see the sample pictures, they are taken directly from the LCD display. The Module include a 5V>3.3V regulator, touchpad IC, PWM circuit and SD card slot.

This 3.5 inch TFT LCD Module is not an ordinary 3.5 inch Module, this module has a high resolution of 480x320, Ordinary 3.2 inch has only 320x240 resolution. This module has an double resolution and extremely fine dot pitch (0.139mmx0.139mm). It also include a touchpad and 12bit onboard touchpad controller. This LCD module is suitable for user require high resolution, brilliant display quality.

The TFT LCD Module has embedded Flash IC, which contain fonts of 10 sizes and 236 icons. The LCD module support Henning Karlsen"s UTFT library, which can be downloaded here.

arduino 3.5 tft display ili9481 quotation

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.

arduino 3.5 tft display ili9481 quotation

Note: The appearance of this display may differ slightly because our supplier may supply a slightly different version where the circuit board size is different. However, this is mostly similar and are controlled in the same way.

arduino 3.5 tft display ili9481 quotation

{"id":4846767439943,"title":"3.5\" inch TFT LCD Touch Screen Display Board 480x320 For Arduino UNO R3 Mega2560","handle":"3-5-inch-tft-lcd-touch-screen-display-board-480x320-for-arduino-uno-r3-mega2560","description":"\u003cstrong\u003eFeatures:\u003c\/strong\u003e\u003cbr data-mce-fragment=\"1\"\u003e\n\u003cul\u003e\n\u003cli\u003e3.5 inch TFT LCD Module, Resolution 480x320, Controller ili9481 ili9468, ili9488 hx8357, or r61581.\u003c\/li\u003e\n\u003cli\u003eDesigned with a TF(Micro SD) card socket on the back of board so that you can conveniently insert a card.\u003c\/li\u003e\n\u003cli\u003eSupport touch screen function.\u003c\/li\u003e\n\u003cli\u003eThe test code is provided below.\u003c\/li\u003e\n\u003cli\u003eThis kit requires certain professional knowledge and ability, make sure you know how to use it, please. We cannot provide any technical assistance.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cstrong\u003eSpecifications:\u003c\/strong\u003e\u003cbr data-mce-fragment=\"1\"\u003e\n\u003cul\u003e\n\u003cli\u003eController: ili9481 ili9468, ili9488 hx8357, or r61581\u003c\/li\u003e\n\u003cli\u003eResolution: 480x320\u003c\/li\u003e\n\u003cli\u003eVoltage: 5V\/3.3V\u003c\/li\u003e\n\u003c\/ul\u003e","published_at":"2020-09-23T14:45:22+08:00","created_at":"2020-09-23T14:45:21+08:00","vendor":"DIYMORE","type":"","tags":[],"price":1199,"price_min":1199,"price_max":1199,"available":true,"price_varies":false,"compare_at_price":null,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":32576306151495,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"X30590","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"3.5\" inch TFT LCD Touch Screen Display Board 480x320 For Arduino UNO R3 Mega2560","public_title":null,"options":["Default Title"],"price":1199,"weight":0,"compare_at_price":null,"inventory_management":"shopify","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/X30590_1.jpg?v=1600843523","\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/X30590_2.jpg?v=1600843524","\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/X30590_4.jpg?v=1600843524","\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/X30590_5.jpg?v=1600843524","\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/X30590_3.jpg?v=1600843524","\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/X30590_6.jpg?v=1600843524"],"featured_image":"\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/X30590_1.jpg?v=1600843523","options":["Title"],"media":[{"alt":null,"id":7475166085191,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/X30590_1.jpg?v=1600843523"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/X30590_1.jpg?v=1600843523","width":1000},{"alt":null,"id":7475166117959,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/X30590_2.jpg?v=1600843524"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/X30590_2.jpg?v=1600843524","width":1000},{"alt":null,"id":7475166150727,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/X30590_4.jpg?v=1600843524"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/X30590_4.jpg?v=1600843524","width":1000},{"alt":null,"id":7475166183495,"position":4,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/X30590_5.jpg?v=1600843524"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/X30590_5.jpg?v=1600843524","width":1000},{"alt":null,"id":7475166216263,"position":5,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/X30590_3.jpg?v=1600843524"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/X30590_3.jpg?v=1600843524","width":1000},{"alt":null,"id":7475166249031,"position":6,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/X30590_6.jpg?v=1600843524"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/X30590_6.jpg?v=1600843524","width":1000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cstrong\u003eFeatures:\u003c\/strong\u003e\u003cbr data-mce-fragment=\"1\"\u003e\n\u003cul\u003e\n\u003cli\u003e3.5 inch TFT LCD Module, Resolution 480x320, Controller ili9481 ili9468, ili9488 hx8357, or r61581.\u003c\/li\u003e\n\u003cli\u003eDesigned with a TF(Micro SD) card socket on the back of board so that you can conveniently insert a card.\u003c\/li\u003e\n\u003cli\u003eSupport touch screen function.\u003c\/li\u003e\n\u003cli\u003eThe test code is provided below.\u003c\/li\u003e\n\u003cli\u003eThis kit requires certain professional knowledge and ability, make sure you know how to use it, please. We cannot provide any technical assistance.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cstrong\u003eSpecifications:\u003c\/strong\u003e\u003cbr data-mce-fragment=\"1\"\u003e\n\u003cul\u003e\n\u003cli\u003eController: ili9481 ili9468, ili9488 hx8357, or r61581\u003c\/li\u003e\n\u003cli\u003eResolution: 480x320\u003c\/li\u003e\n\u003cli\u003eVoltage: 5V\/3.3V\u003c\/li\u003e\n\u003c\/ul\u003e"}