tft lcd panel with capacitive touch free sample
Capacitive touch screen to help the emergence of iPhone has changed the world, its principle is to determine the specific location of one or more fingers by detecting the capacitive touch screen surface changes, including support for complex gestures, complete multi touch function, the reaction speed is extremely sensitive, for the user to bring extraordinary experience.
Beijing DWIN Technology is a world-leading high-tech industrial automation enterprise which is dedicated to the research, development, manufacture and sales of UART LCM. The head office of DWIN is located in the core area of China"s "Silicon Valley" Zhong Guan Cun. The company has set up offices in many provinces of China (Beijing, Suzhou, ChangSha, GuangZhou and ShenZhen etc.), established the effective sales channels and branches in Northern Europe, America, India, Turkey, Brazil and Korea. The manufacturing center of the company is seated at DWIN Hunan Technology Park covering 28000 m2. The manufacturing centers are equipped with high cleanliness assembly lines, quality improvement centers, laboratories and aging test workshops. A 4500-square-metre Application Support Center has been built in Guangzhou for providing technical support. Established in 2003, DWIN advocates its operation philosophy of "Professional, Creditable, and Successful". The company believes that only by creating value for the clients, could DWIN realize its idea of "Double win", and therefore could meet its need to grow and expand. Relying on the competitive advantage of its product in function, quality, service and price, DWIN plays a major role in the market of Industrial UART LCM, especially in the market of the construction machinery, healthcare instrument, and electronic equipment for export, which are products focused on high reliability. As a result, DWIN has already won the trust and support from clients like SANY Group, GE and SIEMENS. Creating value for the clients is DWIN"s belief; Technology innovation is DWIN"s focus; "Double Win" and mutual development are DWIN"s spirit!
Spice up your Arduino project with a beautiful large touchscreen display shield with built in microSD card connection. This TFT display is big (5" diagonal) bright (18 white-LED backlight) and colorful 800x480 pixels with individual pixel control. As a bonus, this display has a capacitive touch panel attached on screen by default.
The shield is fully assembled, tested and ready to go. No wiring, no soldering! Simply plug it in and load up our library - you"ll have it running in under 10 minutes! Works best with any classic Arduino Mega2560.
This display shield has a controller built into it with RAM buffering, so that almost no work is done by the microcontroller. You can connect more sensors, buttons and LEDs.
Of course, we wouldn"t just leave you with a datasheet and a "good luck!" - we"ve written a full open source graphics library at the bottom of this page that can draw pixels, lines, rectangles, circles and text. We also have a touch screen library that detects x,y and z (pressure) and example code to demonstrate all of it. The code is written for Arduino but can be easily ported to your favorite microcontroller!
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 next example is controlling an RGB LED using these three RGB sliders. For example if we start to slide the blue slider, the LED will light up in blue and increase the light as we would go to the maximum value. So the sliders can move from 0 to 255 and with their combination we can set any color to the RGB LED, but just keep in mind that the LED cannot represent the colors that much accurate.
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.
As the code is a bit longer and for better understanding I will post the source code of the program in sections with description for each section. And at the end of this article I will post the complete source 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.
Next is the distance sensor button. First we need to set the color and then using the fillRoundRect() function we will draw the rounded rectangle. Then we will set the color back to white and using the drawRoundRect() function we will draw another rounded rectangle on top of the previous one, but this one will be without a fill so the overall appearance of the button looks like it has a frame. On top of the button we will print the text using the big font and the same background color as the fill of the button. The same procedure goes for the two other buttons.
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.
In order the code to work and compile you will have to include an addition “.c” file in the same directory with the Arduino sketch. This file is for the third game example and it’s a bitmap of the bird. For more details how this part of the code work you can check my particular tutorial. Here you can download that file:
NMLCD-4008-V2is a color active matrix LCD module incorporating amorphous silicon TFT (Thin Film Transistor). It is composed of a color TFT-LCD panel, driver IC, FPC and a back light unit. The module display area contains 480X800 pixels. This product accords with RoHS environmental criterion.
7. Customer’s satisfaction is very important to us. If you have any problem or question regarding our transaction, please contact us by Email or online. It will be responded within 24 hours.
Shenzhen SLS Industrial Co.,ltd established in 2003, is a professional LCD module manufacturer and solution provider. We have 1 full-auto COG assembly line, 2 semi-auto assembly line, backlight assembly line, no dust TP bonding line and manufacturing tech support, we can provide unique, innovative and cost effective LCD module development and manufacturing. Our product range includes: middle-small size TFT LCD, industrial capacitive touch panel... Our LCD products have been widely used in communications, GPS, Equipment, electronic audio-visual, instrumentation, household appliances, PDA and other industries.
Worldwide,Asia,Europe,Africa,North America,South America,Oceania,Afghanistan,Bahrain,Bangladesh,Bhutan,Brunei,Burma (Myanmar),Cambodia,China,East Timor,India,Indonesia,Iraq,Japan,Jordan,Kazakhstan,Kuwait,Kyrgyzstan,Laos,Malaysia,Maldives,Mongolia,Nepal,Oman,Pakistan,Philippines,Qatar,Russian Federation,Saudi Arabia,Singapore,South Korea,Sri Lanka,Taiwan,Tajikistan,Thailand,Turkmenistan,United Arab Emirates,Uzbekistan,Vietnam,Yemen,Albania,Andorra,Armenia,Austria,Azerbaijan,Belarus,Belgium,Bosnia and Herzegovina,Bulgaria,Croatia,Cyprus,Czech Republic,Denmark,Estonia,Finland,France,Georgia,Germany,Greece,Hungary,Iceland,Ireland,Israel,Italy,Latvia,Liechtenstein,Lithuania,Luxembourg,Macedonia,Malta,Moldova,Monaco,Montenegro,Netherlands,Norway,Poland,Portugal,Romania,San Marino,Serbia,Slovakia,Slovenia,Spain,Sweden,Switzerland,Turkey,Ukraine,United Kingdom,Vatican City,Algeria,Angola,Benin,Botswana,Burkina,Burundi,Cameroon,Cape Verde,Central African Republic,Chad,Comoros,Democratic Republic of Congo,Djibouti,Egypt,Equatorial Guinea,Eritrea,Ethiopia,Gabon,Gambia,Ghana,Guinea,Guinea-Bissau,Ivory Coast,Kenya,Lesotho,Liberia,Libya,Madagascar,Malawi,Mali,Mauritania,Mauritius,Morocco,Mozambique,Namibia,Niger,Nigeria,Rwanda,Sao Tome and Principe,Senegal,Seychelles,Sierra Leone,Somalia,South Africa,Swaziland,Tanzania,Togo,Tunisia,Uganda,Zambia,Zimbabwe,Antigua and Barbuda,Bahamas,Barbados,Belize,Canada,Costa Rica,Dominica,Dominican Republic,El Salvador,Grenada,Guatemala,Haiti,Honduras,Jamaica,Mexico,Nicaragua,Panama,Saint Kitts and Nevis,Saint Lucia,Saint Vincent and the Grenadines,Trinidad and Tobago,United States,Argentina,Bolivia,Brazil,Chile,Colombia,Ecuador,Guyana,Paraguay,Peru,Suriname,Uruguay,Venezuela,Australia,Fiji,Kiribati,Marshall Islands,Micronesia,Nauru,New Zealand,Palau,Papua New Guinea,Samoa,Solomon Islands,Tonga,Tuvalu,Vanuatu Active Discovery kit with STM32F769NI MCU STM32 Discovery Kits ST 32F769IDISCOVERY
We are experienced manufacturer. Wining the majority from the crucial certifications of its market for 12.1 High Brightness Lcd Monitor, high brightness broadcast field monitor, Portable Monitor For Macbook Pro, You may find the lowest price here. Also you will get high quality products and excellent service here! Please do not hesitate to contact us!
Factory Free sample 8 Inch Touch Screen Touch Monitor - 779GL-70NP/C/T _ 7 inch high brightness capacitive touch montior – LILLIPUT Detail:
We stay with our company spirit of "Quality, Performance, Innovation and Integrity". We goal to create more value for our clients with our abundant resources, advanced machinery, experienced workers and superb solutions for Factory Free sample 8 Inch Touch Screen Touch Monitor - 779GL-70NP/C/T _ 7 inch high brightness capacitive touch montior – LILLIPUT , The product will supply to all over the world, such as: Mauritania, Auckland, Costa rica, High output volume, top quality, timely delivery and your satisfaction are guaranteed. We welcome all inquiries and comments. If you are interested in any of our products or have an OEM order to fulfill, please feel free to contact us now. Working with us will save you money and time.