Arduino Touch Screen TFT LCD Tutorial

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • In this tutorial we will learn how to programming the TFT LCD Touch Screen. I used 2.8" TFT Touch Display ILI9325 Module and Arduino Uno for this tutorial. The topics we will view in this tutorial, Required Libraries, Add Text, Text Color, Font Size, Print Text, Create Button, Button Click, Add Frame, Draw Rectangle and Background Color.
    Required Hardware
    TFT LCD Touch Screen + Arduino :
    goo.gl/JZHV0n
    amzn.to/39w8MQT
    amzn.to/39uvVmI
    Package included:
    1 x 2.8 Inch TFT LCD Shield Touch Display Module
    1 x UNO R3 ATmega328P Board with USB cable
    Recommended Items:
    Use Your Muscles in Project - amzn.to/3wdL45C
    37 Sensor & Module Packages - amzn.to/3m66WeQ
    Try this Robot Arm - amzn.to/3fq8DCl
    Best Resin 3D Printer - amzn.to/39tY8KB
    Arduino Compatible Kits - bit.ly/2J2AFF7
    Banggood Spring Sale - bit.ly/3slMbOn
    Download Source Code and Library:
    create.arduino...
    The next " LCD Touch Screen" videos will be about the following tutorials
    How to make "Distance Measurement" using Ultrasonic Sensor
    How to make "Serial Monitor" with LCD Touch Screen
    How to Control "Your LEDs" with LCD Touch Screen

Комментарии • 170

  • @maker101io
    @maker101io  3 года назад +3

    Source Code: create.arduino.cc/editor/mertarduinotech/1be3c860-46ff-4e7a-98f3-1519a64c01f5/preview
    Recommended Items:
    Use Your Muscles in Project - amzn.to/3wdL45C​
    37 Sensor & Module Packages - amzn.to/3m66WeQ​
    Try this Robot Arm - amzn.to/3fq8DCl​
    Best Resin 3D Printer - amzn.to/39tY8KB​
    Arduino Compatible Kits - bit.ly/2J2AFF7​
    Banggood Spring Sale - bit.ly/3slMbOn

    • @javierkannon8934
      @javierkannon8934 3 года назад

      I realize Im kinda randomly asking but does anybody know a good place to stream newly released movies online ?

    • @warrenoakley589
      @warrenoakley589 3 года назад

      @Javier Kannon I would suggest FlixZone. You can find it on google =)

    • @emiliozahir3427
      @emiliozahir3427 3 года назад

      @Warren Oakley yup, have been watching on flixzone for months myself :)

    • @javierkannon8934
      @javierkannon8934 3 года назад

      @Warren Oakley Thanks, I signed up and it seems to work :D Appreciate it!

    • @warrenoakley589
      @warrenoakley589 3 года назад

      @Javier Kannon happy to help :D

  • @Dr.Bob.
    @Dr.Bob. 3 года назад

    I searched 3 Days for a good Video! Here it is! Thank you very very mutch! It´s the best video i saw on youtube to this project! Thanks!

  • @tahaenesmelek5876
    @tahaenesmelek5876 4 года назад

    gördüğüm en açık anlaşılır ve basit tft ekran kullanımı videosuydu.

  • @majstercom
    @majstercom 4 года назад

    You are the only one who explained how to draw a rectangle thanks a lot

  • @jlr3636
    @jlr3636 Год назад

    Thanks, without using words you did an excellent job of explaining, by following closely it was clear what everything represented.
    I appreciate your time

  • @CRETEJOE
    @CRETEJOE 2 года назад +1

    Thank you for this. I've been trying to get my newly arrive screen working. This has helped a lot. John

  • @programcoffee1080
    @programcoffee1080 4 года назад +1

    Wooow!!! Thank you so much for the explanation! I was searching for something very simple and straightforward and you've nailed it!!! Congratulations!

  • @ayaabiya787
    @ayaabiya787 3 года назад +1

    Thanks it so helpful just I encountered a little problem when I compile (redefinition of ' Touchscreen ts') thank you another time ,it's so interesting I will wait your answer as soon as possible .

  • @marko9885
    @marko9885 7 лет назад +6

    As always - awesome video! Would be interesting to see power relays connected to Arduino with few examples.

  • @fabiocabella5612
    @fabiocabella5612 4 года назад

    Nice video!
    I find Nextion displays having a much easier and effective approach: you create your screens with a PC based IDE and download them to the display, then you control it with arduino via commands and events.

  • @user-hi9yo4dt3r
    @user-hi9yo4dt3r 2 года назад +1

    Thank you very much. Great tutorial. Goodluck.

  • @braylenhammond12
    @braylenhammond12 Год назад

    cool! This will definitely help out with my little video game i am making

  • @FreddyBNL
    @FreddyBNL 3 года назад +1

    Very good. I instandly ordered a set to experiment with 👍

  • @YFTOUCH
    @YFTOUCH Год назад

    Wonderful tutorial!You help solve the problem.Nice sir,Thank you very much!

  • @ELMAESTROTARASCO
    @ELMAESTROTARASCO 5 месяцев назад

    Hola , ne gusta este diseño, deseo hacer un pwm controlado con touchscreen, onda cuadrada. El ajuste de duty y ekeccion de frecuencia. Pueee ayudarme? De antenano gracias

  • @user-vz6fq4sn4f
    @user-vz6fq4sn4f 2 года назад +1

    Good morning. I have this screen "3.5inch TFT Touch Shield (320x480 Pixel / XPT2046 Touch controller)" and I want to connect it to Arduino uno R3… I want to connect the DHT11 & MQ-3 sensors and control them from the screen but see temperature / humidity / Gas. I tried according to the video but it only shows me a white screen. Please if you can help me. Thanks in advance!

    • @BosasoEiko
      @BosasoEiko 23 дня назад

      Mee too, whenever i want to show something on the screen, it goes white

  • @ph0non
    @ph0non 3 года назад

    "Touch_Screen_TFT_LCD:1:10: fatal error: Adafruit_TFTLCD.h: No such file or directory" I'm new to arduino and I have no clue why I dont have that file in my directory when I downloaded the sketch you put in the description. Help would be appreciated. I dont even have all of the library folders that you showed on the screen, my Touch_Screen_TFT_LCD file only includes a "sketch.json" file and a "Touch_Screen_TFT_LCD.ino" file.

  • @alucardzd2594
    @alucardzd2594 5 лет назад +1

    Hello, how can we add more boutons ? i created 2 boutons, but i don't know what to do next, for exemple, ( speed , position ) if we press position, we'll have to chosse position parameters and if we press speed, we'll change speed parameters. thanks

  • @bitoku7304
    @bitoku7304 7 лет назад +1

    i love your videos ! good tutorial thank you !!! A french suscriber ;)

  • @EraZz187
    @EraZz187 5 лет назад

    Best Video on RUclips!!!!!!!!!!!!!

  • @lorenzofrancisco9339
    @lorenzofrancisco9339 4 года назад

    Could you help me so that there is communication of an LCD screen JM320240E-5V with the arduino, sending graphics to the screen.
    I don't know what the controller is.
    Thank you

  • @lade-pause416
    @lade-pause416 6 лет назад +3

    Hi, nice video.
    Please can you make a video --> how control led with touch display.
    Best Regards
    Ch.

  • @e.k.o5412
    @e.k.o5412 4 года назад +1

    is there a way to type directly onto the lcd?
    I'm trying to make my LCD basically a type of scheduler

  • @heathm7015
    @heathm7015 2 года назад

    Hi, I followed your tutorial, code uploaded without issues but I only have blank white screen showing. Any idea why?

  • @reatoruv
    @reatoruv 4 года назад +1

    The link does not working. Impossible, does not donwload nothing.

  • @sayantanmaiti2513
    @sayantanmaiti2513 7 лет назад

    This one was really really nice sir!!! This helped me a lot..thanks for this tutorial

  • @MlexTheJustine
    @MlexTheJustine 5 лет назад +1

    hello, can we create a button to go to the PREVIOUS page ?

  • @Omar.bin.khattab
    @Omar.bin.khattab 7 лет назад

    good job man .... 4
    but i think using this alternative way as below
    BLuetooth Module
    Any Tablet or Mobile
    use the touch screen of the tablet or mobile to send commands over bluetooth to arduino is easy and wireless touchscreen
    and need any html + javascript programming
    or just
    android programming to make the magic
    best regards

  • @RixtronixLAB
    @RixtronixLAB 5 месяцев назад

    Creative video, thanks :)

  • @kvlpnd
    @kvlpnd 7 лет назад +1

    nice with video with good explaining of code.

  • @ugurokur
    @ugurokur 7 лет назад

    çok açıklayıcı bir video olmuş , eline sağlık

  • @CB-zv4bi
    @CB-zv4bi 4 года назад

    I have AS7341 Sensor, ARDUINO UNO and Adafruit 2.8" TFT Display.
    Can you please tell me, how to read sensor data and display on TFT?

  • @user-tp9bh8zx2e
    @user-tp9bh8zx2e 6 лет назад

    I managed to get an ILI9486 3,5' TFT work with this code, using tft.begin(0x9341); instead of the "identifier" procedure or tft.begin(0x9486); (these cause white screen) . But the screen flickers intensely, although only static text is displayed; no text in loop. Any suggestion appreciated

  • @diytronics-diy3133
    @diytronics-diy3133 7 лет назад

    thank u for this video it is very useful to me

  • @almirbajsini
    @almirbajsini 4 года назад

    Hi i have an old phone tft display MP1.3 is it possable to use it with arduino i know i can buy one for cheap but i want to use this one if its possable.

  • @mindtrip3429
    @mindtrip3429 Год назад

    after pinmode XM/YP, OUTPUT
    can i make new buttons for more text ?

  • @45secondes-info
    @45secondes-info 7 лет назад

    You are the best !
    thank you

  • @ahmedsaman3070
    @ahmedsaman3070 7 лет назад +2

    Truly happiness comes when I see the notification, from the channel's best channel ❤️

  • @Samuka9289
    @Samuka9289 2 года назад

    Thanks for this vídeo!!!!

  • @chernoblyat1901
    @chernoblyat1901 2 года назад

    Question, are the libraries you typed in your code supposed to be orange or just black text?

  • @herrbanane
    @herrbanane 6 лет назад

    The touch function does not work for me with a realtimeclock or other changing values on screen. What am I doing wrong?

  • @kavithakonda9602
    @kavithakonda9602 6 лет назад

    i am using arduino id 0x5408 software and mcufriend library. tftlcd display is shows that mirror text .then what can i do . please send replay

  • @JoelCardoso-mw1ps
    @JoelCardoso-mw1ps Год назад

    I can't find the libraries, where can they be downloaded ??

  • @abhisheksnair825
    @abhisheksnair825 5 лет назад

    Hai nice tutorial, which explains everything in detail.
    And please say how to display the files from a sd card in a ILI9341_16 UTFT display. Where, the card must insert in the inbuilt card port in the shield.

  • @tbelt602
    @tbelt602 4 года назад +1

    its telling me that the "textsize" was not declared in the scope. plz help i need help.

    • @tbelt602
      @tbelt602 4 года назад

      @BigCheese Gaming Thank you for your advice but sadly it didn't work

  • @kunalpandhram7501
    @kunalpandhram7501 2 года назад

    Hello sir, how can I calibrate MINX and MAXY value my ili9486 TFT touchscreen?

  • @arduinoproject9234
    @arduinoproject9234 4 года назад

    2.8" TFTLCD Arduino not working in Mega and Same LCD Same Code working in Arduino UNO Please help me

  • @nitebook
    @nitebook 5 лет назад

    I'm trying to get this to work on Arduino Uno. Tried to follow your instructions to open touchscreendemo from File/Examples/TouchScreen, but there is no such menu item in my IDE. I added the 3 libraries manually to the library folder prior to that.

  • @ametheshlgp74
    @ametheshlgp74 7 лет назад +1

    again the first and an another wonderful video

  • @sonikasonika5952
    @sonikasonika5952 4 года назад

    Thanks bro , now I also can make this

  • @TBBLOXANIMATES
    @TBBLOXANIMATES Год назад

    can somebody tell me where to download the library files because I cant find it

  • @Alexey_Grig_Chuvashiya
    @Alexey_Grig_Chuvashiya 3 года назад

    У меня проблема с дисплеем, не зависимо какой СКЕТЧ загружаешь - всегда белый экран. Что мне делать?

  • @mustafamontaser4955
    @mustafamontaser4955 3 года назад

    Can I use it with only 4 bit parallel data (D0 - D3) instead of using 8bit ??

  • @samopal11
    @samopal11 7 лет назад

    Good tutorial i don´t wait for de distance measurement jeje thanks ......go ahead!

    • @samopal11
      @samopal11 7 лет назад

      jeje i can´t wait...

  • @strayedtoofar5775
    @strayedtoofar5775 6 лет назад +4

    How would I change the code to fit a 3.5 touchscreen?

  • @KIVPush
    @KIVPush 6 лет назад +1

    How can I add a new button to the second screen? Can you add a button that takes you back to the first screen?

  • @k2icc
    @k2icc 5 лет назад

    Do the C++ and other .ino code had to be unzipped to a specified folder?

  • @steveb1307
    @steveb1307 3 года назад

    Informative Video. I bought 3 complete units which I can calibrate but when running the program the touch does not work. I have tried all combinations, they all calibrate but that is as far as I can go. Any Ideas???

  • @aniskhai6807
    @aniskhai6807 7 лет назад

    good job all time and perfect music continue please

  • @mauriziomoris769
    @mauriziomoris769 4 года назад

    hi, morning
    very good video
    it is possibile to use the sketch with ILI9341 ?
    what i have to change?
    ty very much

  • @pkjsampath555
    @pkjsampath555 7 лет назад

    great work. littlebit I am understand

  • @saliksheraz6236
    @saliksheraz6236 5 лет назад

    very nice tutorial

  • @syazwanramli12
    @syazwanramli12 6 лет назад

    im using 3.2'" tft lcd touch but it still white screeen .. can anyone help me ? how to solve it

  • @prashilwankhede1
    @prashilwankhede1 6 лет назад

    good tutorial for beginner but in my case text orientation reverse how can i change it? please help me to solve this problem.

  • @garipadam8256
    @garipadam8256 6 лет назад

    Eski evde olan dokunmatik ekrana telefon anakartı baglayabilirmiyiz

  • @juanmas07
    @juanmas07 6 лет назад

    it it using all the pins? what is it for then?

  • @JOHNSMITH-ug2mt
    @JOHNSMITH-ug2mt Год назад

    Nice Vid, I wish it worked with the Arduino Mega2560.

  • @stickystick6969
    @stickystick6969 5 лет назад

    hello there! we have a group project for school that needed something like this. i was wondering if i can command motors with this tft lcd and arduino uno?

    • @ronibal8098
      @ronibal8098 4 года назад +1

      it is fairly possible to command motors with a touch display. I don' t know if you can use exactly this type of lcd module since it is a shield-version . Looking on the pictures of the given link i doubt that you can add additional parts to it (but I can't tell 100% correctly). Furthermore you might need an arduino with more digital pins (like the arduino mega or due) since the shield might occupy all pins of the arduino uno.

  • @sayantanmaiti2513
    @sayantanmaiti2513 7 лет назад

    Sir..which pins are actually not used by this shield?? I mean is there any pin which I can use for attaching any other hardware??

  • @CediKayable
    @CediKayable 4 года назад

    Are all Pins used up with the TFT?

  • @sreekuttysreeku268
    @sreekuttysreeku268 5 лет назад

    Can we send messages/files using Arduino,TFT and HC 05 modules???????
    Please reply????

  • @loic2179
    @loic2179 6 лет назад

    Hello, thanks for the videos they are really great. But I would have a concern about the TFT LCD DISPLAY, I would like to know how to connect it to an OV7670 camera to the arduino and the screen to have real-time images. Thank you

  • @MrEndo100
    @MrEndo100 6 лет назад +1

    Hello, what if you want to make 2 pages +?

  • @divyamjain2377
    @divyamjain2377 6 лет назад

    Is the stylus is included with touch screen

  • @OLIVIERTR42
    @OLIVIERTR42 3 года назад

    Abi ben bu kodu attığımda arduino hata veriyor ne yapabilirim

  • @mertcapkin7263
    @mertcapkin7263 6 лет назад

    Bir sorum var abi, bunda Türkçe yazi nasil yapabiliriz acaba? video için tesekkür ederim, her seyi çok net anladim. :)

  • @user-wi3le5id4k
    @user-wi3le5id4k 3 года назад

    What is the type of this screen

  • @minravex9919
    @minravex9919 2 года назад

    If u are less busy....I need lcd display for project........a speaker.....so I need to display the following
    Name of speaker
    Model
    Battery level
    Charging indicator

  • @hayalci_33
    @hayalci_33 4 года назад

    How to turn off and dim the tft screen light?

  • @emreilgntamturk6497
    @emreilgntamturk6497 5 лет назад

    Reis sensörlerden aldıgımız degerlerı buna yazdırabılırmıyız

  • @omercenikli2654
    @omercenikli2654 6 лет назад +4

    Kardeşim emeğine sağlık ama başlık Türkçe video İngilizce

  • @prem7805
    @prem7805 6 лет назад

    Hello thank you so much for the video but one question can we change font?

  • @chaithra95
    @chaithra95 3 года назад

    Will it be compatible with arduino due

  • @shaheenbarcha9193
    @shaheenbarcha9193 7 лет назад +2

    please add a video for CNC plotter from old drives

  • @saifriad1679
    @saifriad1679 7 лет назад

    Great work ^_^

  • @robcairns186
    @robcairns186 4 года назад

    Very nice tutorial. I can't get the button to work though?

  • @JohnSmith-ed1sr
    @JohnSmith-ed1sr 6 лет назад

    i Just found a mistake in his code. If anyone is having trouble look up the definition of the "map" function , he has the values in the wrong place.
    Here is what it should be
    p.x = map(p.x, TS_MAXX, TS_MINX, 240, 0);
    p.y = map(p.y, TS_MAXY, TS_MINY, 320, 0);

  • @oussamahadoune6850
    @oussamahadoune6850 5 лет назад

    how did you find the coordinate of 50 260 180 270??

  • @carlosdanielvillarruelsoli8329
    @carlosdanielvillarruelsoli8329 7 лет назад

    puedes activar un servo motor con el touch screen para abrir puertas?
    y una pregunta mas con el servo motor azul se puede abrir una puerta o se necesita uno mas potente

    • @samopal11
      @samopal11 7 лет назад

      Es buena tu pregunta pero por favor escribel en ingles ya que mert radica en gran bretaña..ok

    • @carlosdanielvillarruelsoli8329
      @carlosdanielvillarruelsoli8329 7 лет назад

      Can you activate a servo motor with the touch screen to open doors?
      And one more question with the blue servo motor can open a door or you need a more powerful

    • @carlosdanielvillarruelsoli8329
      @carlosdanielvillarruelsoli8329 7 лет назад

      gracias javier ramires

  • @Amicojoule
    @Amicojoule 5 лет назад

    what is the name of the music you put in the video?
    Thank you

  • @martipaulet5413
    @martipaulet5413 5 лет назад +1

    Why when I click on the top left corner the serial monitor displays me the Minimum values

  • @PhatPeatTube
    @PhatPeatTube 5 лет назад

    How can I adapt this to a serial display?

  • @francescosavoja2249
    @francescosavoja2249 7 лет назад +1

    Nice

  • @asifafarooqi6417
    @asifafarooqi6417 4 года назад

    Can we add image to background?

  • @orbitx16
    @orbitx16 2 года назад

    Unknown LCD driver chip: 9595
    ............... my code is not working

  • @CN-kc3em
    @CN-kc3em 5 лет назад

    How to type Word??? are there connect key board?

  • @Dancopymus
    @Dancopymus 5 лет назад

    Very good tutorial, teaching by figures and subtitles, especially for those who do not understand English perfectly.
    Can this sketch be used with a 3.2 inch ILI9341 Touch Display? If so, what should be changed?
    Thank you; I'll sign up for the channel.

    • @oncledan282
      @oncledan282 5 лет назад

      Hi Dan.
      I wish he would actually TALK instead of just putting this stupid music .. and at least make videos in full HD (1080p) so one could at least see what's written on his screen. Have a nice day!

    • @Dancopymus
      @Dancopymus 5 лет назад

      @@oncledan282 Actually, the quality is not very good but, in particular, the caption/legend helped a lot because I have difficulties in English because it is not my native language.

    • @jlr3636
      @jlr3636 Год назад

      @@oncledan282 I’m still waiting for your video in HD in multiple languages explaining this topic…. And just think all YOU have to do is put words to what he took the time to work out… shouldn’t take you more than a few weeks, let us know when you’re finished.

  • @brianmoore5454
    @brianmoore5454 4 года назад

    Mert...I have been trying to solve a problem with my set-up for this video but have a problem which I can't seem to solve. Do you have an email address where I can send the info to for you to have a look at?? From a guy rapidly losing his hair !!!!.

  • @ABID5
    @ABID5 7 лет назад +1

    nice from 3:24

  • @kimeraparlAMTE
    @kimeraparlAMTE 4 года назад

    i need help my code it does not work