3.2 inch tft lcd screen module ultra hd 320x480 factory

※ Price Increase NotificationThe TFT glass cell makers such as Tianma,Hanstar,BOE,Innolux has reduced or stopped the production of small and medium-sized tft glass cell from August-2020 due to the low profit and focus on the size of LCD TV,Tablet PC and Smart Phone .It results the glass cell price in the market is extremely high,and the same situation happens in IC industry.We deeply regret that rapidly rising costs for glass cell and controller IC necessitate our raising the price of tft display.We have made every attempt to avoid the increase, we could accept no profit from the beginning,but the price is going up frequently ,we"re now losing a lot of money. We have no choice if we want to survive. There is no certain answer for when the price would go back to the normal.We guess it will take at least 6 months until these glass cell and semiconductor manufacturing companies recover the production schedule. (Mar-03-2021)

ER-TFT032-2 is 240x320 dots 3.2 " color tft lcd module display with ILI9320 controller and optional 4-wire 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 16-bit parallel interface. .FPC is soldering type,there is no need for zif connector.Lanscape mode is also available.

3.2 inch tft lcd screen module ultra hd 320x480 factory

I purchased 2 screens and both have similar issues with colors. They are displaying content, but problem is that colors are not correct most of the time. It looks like always one of the RGB component is missing or not intensive enough, and it is totally random. Every time I turn on LCD it shows different spectrum and stays in that spectrum until next power cycle. I"m sure that it is not problem with libraries or my code because in rare occasions these panels shows correct colors and stays in correct color spectrum until next power off/on. I have others LCD screens which physically look like these (both 3.5" and 3.2") and these work correct all the time. I take photos of 4 consecutive powering of the same display. The most prominent difference can be seen on bar graph on the left (it should be pale yellow in original and here colors are from pale grey to yellow-greenish to purple-bluish). I cannot blame seller for this problem because displays came in OEM packaging and undamaged.

Ok, I played couple of days with these screens trying to achieve good and consistent color spectrum. I think that I finally made it to work. It seems that these displays came from factory with somehow wrong default settings for gamma and refresh rate. If you experience similar issues try to change data values in following commands: C0h, C1h, E0h, E1h, E2h, E3h and 36h. For example, I changed values for C0h to 0x1F for first register (sets VREG1OUT for positive gamma to 5.500V) and 0x01 for second (sets VREG2OUT for negative gamma to 3.625V). Please look at new picture below. It is much better than before. According to these new findings I will rate this product with 4 stars now...

3.2 inch tft lcd screen module ultra hd 320x480 factory

Fully assembled 3.2inch display with 320×240 pixels TFT LCD and a resistive touch overlay. Just plug it on top of ODROID-C4 / N2 / N2+ / C1 / C1+ / C0.

3.2 inch tft lcd screen module ultra hd 320x480 factory

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.

For this tutorial I composed three examples. The first example is distance measurement using ultrasonic sensor. The output from the sensor, or the distance is printed on the screen and using the touch screen we can select the units, either centimeters or inches.

The third example is a game. Actually it’s a replica of the popular Flappy Bird game for smartphones. We can play the game using the push button or even using the touch screen itself.

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.

Next we need to define the fonts that are coming with the libraries and also define some variables needed for the program. In the setup section we need to initiate the screen and the touch, define the pin modes for the connected sensor, the led and the button, and initially call the drawHomeSreen() custom function, which will draw the home screen of the program.

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.

Now we need to make the buttons functional so that when we press them they would send us to the appropriate example. In the setup section we set the character ‘0’ to the currentPage variable, which will indicate that we are at the home screen. So if that’s true, and if we press on the screen this if statement would become true and using these lines here we will get the X and Y coordinates where the screen has been pressed. If that’s the area that covers the first button we will call the drawDistanceSensor() custom function which will activate the distance sensor example. Also we will set the character ‘1’ to the variable currentPage which will indicate that we are at the first example. The drawFrame() custom function is used for highlighting the button when it’s pressed. The same procedure goes for the two other buttons.

So the drawDistanceSensor() custom function needs to be called only once when the button is pressed in order to draw all the graphics of this example in similar way as we described for the home screen. However, the getDistance() custom function needs to be called repeatedly in order to print the latest results of the distance measured by the sensor.

Here’s that function which uses the ultrasonic sensor to calculate the distance and print the values with SevenSegNum font in green color, either in centimeters or inches. If you need more details how the ultrasonic sensor works you can check my particular tutorialfor that. Back in the loop section we can see what happens when we press the select unit buttons as well as the back button.

Ok next is the RGB LED Control example. If we press the second button, the drawLedControl() custom function will be called only once for drawing the graphic of that example and the setLedColor() custom function will be repeatedly called. In this function we use the touch screen to set the values of the 3 sliders from 0 to 255. With the if statements we confine the area of each slider and get the X value of the slider. So the values of the X coordinate of each slider are from 38 to 310 pixels and we need to map these values into values from 0 to 255 which will be used as a PWM signal for lighting up the LED. If you need more details how the RGB LED works you can check my particular tutorialfor that. The rest of the code in this custom function is for drawing the sliders. Back in the loop section we only have the back button which also turns off the LED when pressed.

3.2 inch tft lcd screen module ultra hd 320x480 factory

Fully assembled 3.2inch display with 320x240 pixels TFT LCD and a resistive touch overlay. Just plug it on top of ODROID-C1. 2x13 tall female header is already soldered on the PCB.