hiletgo 3.2 ips tft lcd display ili9481 manufacturer

HiLetgo is located in China. We are a Big & Professional Electronics Modules, Sensors and Robort Parts Manufacturer, we have our own Brand "HiLetgo", products including Develop Boards like Uno, MEGA, Pro mini, Nano, ESP8266, ESP32, Power & Drive modules, Sensors, Breadboards, Connectors and Jumper Wires etc.We are committing ourselves to provide the Newest products with High quality and competitive price to the people at all over the world!

hiletgo 3.2 ips tft lcd display ili9481 manufacturer

Features: 1.Brand new and high quality. 2.Module Size: 89.92 (w) * 54.25 (L) (mm) 3.Within the series SN: 6013801320059 4.Effective display size: 67.68 * 45.12mm 5.Screen size: 3.2 inches 6.Backlight Type: bright white 6LED 7.Screen resolution: 480 * 320 (Pixel) 8.Power: 80-110 (mA) 9.Screen type: TFT 10.Module power supply: 5V / 3.3V 11.Touch Function: None 12.Driver IC: HX8357C 13.Data Bus: 16-bit parallel bus 14.Module Interface: 36Pin pin (compatible with Arduino Mega2560) Package Included: 1*3.2" IPS TFT LCD Display

hiletgo 3.2 ips tft lcd display ili9481 manufacturer

This 262K color 320 x 480 resolutions LCD module uses a thin-film-transistor liquid crystal display (TFT LCD) to improve image qualities. With controller HX8357B included in the screen, it supports a 16-wires Data Bus Interface. This module also includes a 5V-3.3V power conversion circuit and a level conversion circuit. 100% compatible with Mega2560, it can be directly inserted into the Mega 2560 Board. Additionally, it comes with SD card socket and SPI flash circuit. Definitely a powerful module for your projects!

hiletgo 3.2 ips tft lcd display ili9481 manufacturer

This display can be mounted on an Arduino Mega or Due. It has a fairly high resolution of 320*480 pixels and is also quite large with 3.2 inch LCD size.

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.

hiletgo 3.2 ips tft lcd display ili9481 manufacturer

In this Arduino touch screen tutorial we will learn how to use TFT LCD Touch Screen with Arduino. You can watch the following video or read the written tutorial below.

As an example I am using a 3.2” TFT Touch Screen in a combination with a TFT LCD Arduino Mega Shield. We need a shield because the TFT Touch screen works at 3.3V and the Arduino Mega outputs are 5 V. For the first example I have the HC-SR04 ultrasonic sensor, then for the second example an RGB LED with three resistors and a push button for the game example. Also I had to make a custom made pin header like this, by soldering pin headers and bend on of them so I could insert them in between the Arduino Board and the TFT Shield.

Here’s the circuit schematic. We will use the GND pin, the digital pins from 8 to 13, as well as the pin number 14. As the 5V pins are already used by the TFT Screen I will use the pin number 13 as VCC, by setting it right away high in the setup section of code.

I will use the UTFT and URTouch libraries made by Henning Karlsen. Here I would like to say thanks to him for the incredible work he has done. The libraries enable really easy use of the TFT Screens, and they work with many different TFT screens sizes, shields and controllers. You can download these libraries from his website, RinkyDinkElectronics.com and also find a lot of demo examples and detailed documentation of how to use them.

After we include the libraries we need to create UTFT and URTouch objects. The parameters of these objects depends on the model of the TFT Screen and Shield and these details can be also found in the documentation of the libraries.

So now I will explain how we can make the home screen of the program. With the setBackColor() function we need to set the background color of the text, black one in our case. Then we need to set the color to white, set the big font and using the print() function, we will print the string “Arduino TFT Tutorial” at the center of the screen and 10 pixels  down the Y – Axis of the screen. Next we will set the color to red and draw the red line below the text. After that we need to set the color back to white, and print the two other strings, “by HowToMechatronics.com” using the small font and “Select Example” using the big font.

hiletgo 3.2 ips tft lcd display ili9481 manufacturer

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.

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.

hiletgo 3.2 ips tft lcd display ili9481 manufacturer

If using the UTFT library from RinkyDink electronics, open up their initlcd.h file. In the section for Memory Access Control (lines 85-86 in version I have), change the write to: