Arduino TFT LCD Touch Screen Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 เม.ย. 2024
  • In this Arduino Tutorial we will learn how to use TFT LCD Touch Screen with Arduino.
    howtomechatronics.com/tutoria... ► Find more details, circuit schematics and source codes here.
    Collection of Arduino Projects: howtomechatronics.com/arduino-...
    If you enjoy and find the content that I make useful, please consider supporting me on Patreon: / howtomechatronics
    Parts list (check website article for full list, affiliate links):
    Amazon.com:
    3.2″ TFT Touch Display: amzn.to/32n91sO
    TFT Display Mega Shield: amzn.to/3fN6a39
    Arduino Board: amzn.to/2Ccd5kC
    Banggood.com:
    3.2″ TFT Touch Display: bit.ly/2LZQ4sh
    TFT Display Mega Shield: bit.ly/3o8Gm3S
    Arduino Board: bit.ly/2YioMjH
    Visit HowToMechatronics.com for more Tutorials, Tips, Projects and How It Works videos:
    ► howtomechatronics.com/
    Like my page on Facebook:
    ► / howtomechatronics
    Music: Aduro by Jens Kiilstofte (machinimasound.com/music)

ความคิดเห็น • 448

  • @HowToMechatronics
    @HowToMechatronics  3 ปีที่แล้ว +14

    I hope you enjoyed this video and learned something new! If you'd like to support me making more content like this, please consider supporting me on Patreon: www.patreon.com/howtomechatronics

    • @Bekir_ts
      @Bekir_ts 3 ปีที่แล้ว +1

      why now ? after 5 years :D

    • @santhosh__440
      @santhosh__440 ปีที่แล้ว

      Please provide documentation

  • @FamilyManMoving
    @FamilyManMoving 6 ปีที่แล้ว +4

    Love the way you just dive right in on your videos. No excess talking - you just get to work. Thank you for showing the TFT/Touch interfaces in such a concise manner. You saved me a lot of reading.

  • @lookalterno3591
    @lookalterno3591 7 ปีที่แล้ว +25

    I like your "split screen" approach for presenting the code and the result at the same time. Also, your code is clean and informative about the capabilities of both TFT display and libraries. It tell a lot about what we can do with these hardware.

  • @fernandolunadev
    @fernandolunadev 8 ปีที่แล้ว +5

    So, this is a perfect tutorial!
    Thanks a lot for sharing with us.
    You have the capability to "drive easyly" with words, the complex world of LCDTFT programming! :)
    Best regards from Argentina!

  • @waleedalrashed1411
    @waleedalrashed1411 7 ปีที่แล้ว +25

    First Arduino tutorial that I watch, and the instructor finally cares about the code much more than the electronics part 😎

  • @yngvai777
    @yngvai777 7 ปีที่แล้ว +16

    Thanks for making this video. You explained the subject very clearly.

  • @paulhendrix8599
    @paulhendrix8599 8 ปีที่แล้ว +3

    This guy again! I always stumble upon your videos searching for something. Pretty cool.

  • @shivamsuri138
    @shivamsuri138 2 ปีที่แล้ว +4

    This is what i've been looking for for my past 1 hour of searching for arduino projects. Thank you!
    (the RGB led one really hooked me)

  • @Just_Ignorant
    @Just_Ignorant 7 ปีที่แล้ว +3

    This is an excellent tutorial. A big thank you from a mechatronics engineering student. Great work

  • @verlainemaeflores9697
    @verlainemaeflores9697 4 ปีที่แล้ว

    Very clear speaking voice. I really love the way you explained. Thanks a lot.

  • @skmaltare5890
    @skmaltare5890 4 ปีที่แล้ว +1

    its wonderful tutorial to see , three tutorials combined to gather. and a good example of combining programs. thanks for sharing.

  • @rc-wingman5719
    @rc-wingman5719 5 ปีที่แล้ว +2

    VERY VERY GOOD TUTORIAL!
    Your tutorials are going like butter. everything is very clear!
    myGLCD is the best library for Arduino TFT touch screens

  • @JulianMakes
    @JulianMakes 4 ปีที่แล้ว +18

    Brilliant tutorial (as usual!), i will be watching it again when my TFT turns up tomorrow :) cheers o/

  • @derkatwork33
    @derkatwork33 8 ปีที่แล้ว

    Very detailed and easy to understand. I like that you go over things slowly. Very good video.

  • @tfeezy
    @tfeezy 5 ปีที่แล้ว +6

    My project would not be what it is now if I had never found this channel. The core of my program is based off this project. Thanks for all the info. I will also share my project to hopefully help others.

    • @santhosh__440
      @santhosh__440 ปีที่แล้ว

      Bro Provide project document

  • @huseyinmen9507
    @huseyinmen9507 8 ปีที่แล้ว +2

    well done !!!! congratulations.ı have some question about how did you make this project ...
    question 1: which pins did you use on arduino mega and tft touch panel
    question 2: where did you get tft panel ,can you share link.
    thanks

  • @boogiman007
    @boogiman007 8 ปีที่แล้ว +2

    You're a genius, thanks for all these great videos. just wish i had more time to develop all this cool stuff.

  • @ElectricMotorWerks
    @ElectricMotorWerks 7 ปีที่แล้ว

    Nice tutorial, thanks! I have a question, I need to a really small arduino, the "pro mini". Which TTF screen recommend? I need about 4" diagonal and touch screen. Do they come with manuals, like how do I connect them without a shield?
    Thanks

  • @hubertmargreiter3508
    @hubertmargreiter3508 4 ปีที่แล้ว

    Great work just like all your others. Do you allow 2 questions, please. First, what needs to be changed in case I want to use the "Waveshare 4" TFT-Touchscreen? And further, is it complicated to use the TFT Touchscreen as an I/O device?

  • @mitsos306ify
    @mitsos306ify 2 หลายเดือนก่อน

    Great video, great tutorial. I appreciate that you explain the code and i loved the split screen approach!

  • @amanchander7837
    @amanchander7837 6 ปีที่แล้ว

    Great Job!!
    please let me know whether i can use this LCD with arduino UNO or not ?

  • @ayaabiya787
    @ayaabiya787 3 ปีที่แล้ว +4

    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

  • @bobbyhockey93
    @bobbyhockey93 7 ปีที่แล้ว

    Thanks for being so straight forward, and commenting out your code, it been a real help to me, and i really like your quiz of knowledge app. I'm having some trouble with the arduino flappy bird project. what happened to winzip? i can't just reinstall it anymore. where are these libraries at? do i have to download them as well. or is it just the image thats stopping me from compiling? i didn't really look through the code yet, its a lot to digest and i'm pretty sick right now.

  • @billfield8300
    @billfield8300 8 ปีที่แล้ว +1

    Another great video. Very informative and to the point. Also lots of good code example. Thanks.

  • @beatrute2677
    @beatrute2677 ปีที่แล้ว +1

    I really like your teaching style, thank you for taking the time to make this video

  • @janardhanjd4175
    @janardhanjd4175 6 ปีที่แล้ว

    Hi, great thanx from india, can we use this oven to increase and decrease the temperature

  • @mphaan
    @mphaan 4 ปีที่แล้ว +1

    Dude you just made my day. At 1:55 the double pin headers trick. Thanks for sharing. :)

  • @MatthewAustengopro
    @MatthewAustengopro 2 ปีที่แล้ว

    Brilliant !!! Thank you for creating the edit very easy to follow

  • @CharlesSnyder
    @CharlesSnyder 7 ปีที่แล้ว

    Great project and tutorial! Just what I'm looking for, I think. I need to run about a 1000 rgb leds, would the arduino mega have enough cpu power to run the screen and that many leds? If not I wonder if using two megas would work, splitting up the work.

  • @kugurgoles
    @kugurgoles 6 ปีที่แล้ว

    Wow creating shapes real time with code. Very good job!

  • @beymeephanlom1246
    @beymeephanlom1246 8 ปีที่แล้ว +1

    Thanks Dejan, Great Tutorial brings me very good idea to continue my work and design next. How is Mega with 7" LCD Display, intermittent display ?? I don't wanna switch to Arduino Due, Since i only use touch screen as button, no graphic display.

  • @chitrakshvarma8270
    @chitrakshvarma8270 6 ปีที่แล้ว +1

    Mr Dejan i am making this for my science project could u please recommend any other expansion board for arduino since the one in the video is out of stock

  • @PeterFloyd678
    @PeterFloyd678 7 ปีที่แล้ว

    Excellent tutorial. I will definitely need to try this out and see if I can get it working.

  • @TrashPandamonium
    @TrashPandamonium 7 ปีที่แล้ว

    Great tutorial, Dejan! Thanks for sharing these :)

  • @birboy3871
    @birboy3871 3 ปีที่แล้ว +2

    Wow it’s great, I have made it and now I am modifying it. Do you know how I can add a Dallas 18D20 or a DH11 sensor on the home screen? It would be really nice if I got any answer. Thank you in advance!

  • @XanCraft21
    @XanCraft21 5 ปีที่แล้ว

    Omg you just gave me more info for a plan I had for a custom lcd and driver! Thanks!

  • @shifty51008
    @shifty51008 8 ปีที่แล้ว

    great job, love your video's. very informative. keep up the great work

  • @ralitsaharizanova
    @ralitsaharizanova 6 ปีที่แล้ว

    Браво, много интересен клип!

  • @tomneto8791
    @tomneto8791 3 ปีที่แล้ว

    Excellent !, I never tried Arduino, it seems a lot of work. - Congrats.

  • @tmc200527
    @tmc200527 8 ปีที่แล้ว

    Great tutorial bringing together the arduino, inputs and outputs and displaying information.

  • @reatoruv
    @reatoruv 7 ปีที่แล้ว

    You are a good teacher and have a good channel, So you get a new follower. Thanks.

  • @disabledOtter
    @disabledOtter 8 ปีที่แล้ว +1

    this is a great tutorial, thank you

  • @jjawads88
    @jjawads88 7 ปีที่แล้ว

    all your project are awesome and easy to built. good thing I like that you share all step and code
    thanks

  • @AmateurInventor
    @AmateurInventor 5 ปีที่แล้ว +1

    hey instead of using that sheild for display, can we diretly plug the display on arduino duo??? reply fast

  • @chinnappaninnasu2721
    @chinnappaninnasu2721 7 ปีที่แล้ว

    Very good Tutorial!----From Kerala,India

  • @dioutoroo
    @dioutoroo ปีที่แล้ว

    Thank you for your Tutorial. I have a question, can we used Arduino Uno and tft lcd touchscreen to display a sensor data?

  • @JulianMakes
    @JulianMakes 4 ปีที่แล้ว

    UTFT myGLCD(ILI9341_16, 38, 39, 40, 41);
    URTouch myTouch( 6, 5, 4, 3, 2);
    were the parameters that worked for me (purchased from your link and using a Mega)

  • @pitus26
    @pitus26 7 ปีที่แล้ว +1

    I realy like this tutorial, thanks im going to try it.

  • @ZainabAlAli94
    @ZainabAlAli94 6 ปีที่แล้ว +1

    Can this be implemented on a larger screen and where can I find one?

  • @rajeshtakyar8057
    @rajeshtakyar8057 7 ปีที่แล้ว

    Very Good Job......very detailed presentation..Thanks Dejan....keep up.

  • @RahulKumar-yl3uf
    @RahulKumar-yl3uf 4 ปีที่แล้ว +1

    Awesome tutorial! however i am getting error "Error compiling for board Arduino Mega or Mega 2560." Do i need to change anything?

  • @saqroomi
    @saqroomi 8 ปีที่แล้ว

    greatly explained, precise and focused. sir you are a superb tutor.

  • @MinecraftLPAlex
    @MinecraftLPAlex 4 ปีที่แล้ว +1

    Awesome tutorial! Does anyone have information about the lifespan in a 24/7 use?

  • @apzeiroturbo
    @apzeiroturbo 7 ปีที่แล้ว +3

    your are crazyyyyyy!!! Love your projects!!!!!!

  • @BinhNguyen-lg7mh
    @BinhNguyen-lg7mh 5 ปีที่แล้ว +1

    at time 6:17, what font did you use for the text "003"

  • @mosheashkenazi9766
    @mosheashkenazi9766 5 ปีที่แล้ว

    Hi great job! Is this code will work with arduino deu?

  • @WagonLoads
    @WagonLoads 4 ปีที่แล้ว

    WOW Thanks! Can this display be used on the esp8266 or Arduino NANO

  • @AkatlaLet
    @AkatlaLet 8 ปีที่แล้ว +16

    Good job! Thx Dejan!

    • @Engineer.Critics
      @Engineer.Critics 7 ปีที่แล้ว

      Mr Dejan Nedelkovski i want to learn ardiuno code. i have seen so many online tutorial and books but didnt get too much...can guide me kindly or upload easy way...all start from blinking led project.but i need more detail before writing code.i am sill confused how to start and what to do. you have great projector. i am associate electronics engineer but zero in coding or programming

    • @Joshua10902
      @Joshua10902 6 ปีที่แล้ว

      tip... dont start with something as advanced as this. id highly recommend giving these a watch first: th-cam.com/video/5F054MNB1QI/w-d-xo.html and th-cam.com/video/nL34zDTPkcs/w-d-xo.html

  • @ronwalker3000
    @ronwalker3000 2 หลายเดือนก่อน

    Hello,
    I have recently purchased a 4" TFT (NT35510) which has the advantage of plugging directly into an Arduino Mega, but have encounted a few problems applying your wonderfully clear tutorial. I set the model to NT35510 and the touch parameters accordingly but the library UTouch has been replaced by URtouch (which I have included). I don't know if the new library is backwardly comparable as I get a page of RED when I try to compile. Do you have any thoughts.

  • @jeffreynwankwo7912
    @jeffreynwankwo7912 4 ปีที่แล้ว

    This video was published in 2015! I'm just seeing this. HowtoMechatronics!

  • @VincentCheng
    @VincentCheng 8 ปีที่แล้ว

    Thanks for your great contribution!

  • @zaryabrizvi9658
    @zaryabrizvi9658 4 ปีที่แล้ว

    If we are using custom ics is there any protocol that we will have to use for interfacing of touch screen and ic?

  • @yenerdemir2912
    @yenerdemir2912 6 ปีที่แล้ว +8

    YOUR channel is very usefull.

  • @ausprobierendannweisstdues8686
    @ausprobierendannweisstdues8686 6 ปีที่แล้ว

    Very professional tutorial Thank you

  • @LSilva270
    @LSilva270 4 ปีที่แล้ว

    Hello. Can you tell me where I can buy this module? There are several modules similar to this. I want this one exactly. Thank you very much!!!

  • @MagivaIT
    @MagivaIT 5 ปีที่แล้ว

    finally a video that is very useful. love it

  • @luiseduardojatarmontano1983
    @luiseduardojatarmontano1983 3 ปีที่แล้ว

    Hello this is a very useful tutorial, but can you please explain how can I add an image to one of the main pages?

  • @vmtvince2
    @vmtvince2 7 ปีที่แล้ว

    woow this is beautiful!Is it possible to connect the arduino to a display wirelessly, like with bluetooth?

  • @m3lateef
    @m3lateef ปีที่แล้ว

    thanks for sharing . may i ask what is the best battery to power it? if we want create something permanent like a video game for children

  • @SirJohnatan
    @SirJohnatan 4 ปีที่แล้ว

    Hi, its posibile to use another lcd display? For example an 10 inch netbook display ? Or works with dedicated arduino display ?

  • @danniiiist
    @danniiiist 8 ปีที่แล้ว

    Well explained! Thanks!

  • @elbande77
    @elbande77 6 ปีที่แล้ว

    Hi, did you ever try that LCD with a NODE MCU (ESP8266-E12) ? do you think you can wire it?

  • @ozielromancantulopez7880
    @ozielromancantulopez7880 4 ปีที่แล้ว

    Hello, i'm building a portable vsm for school. could you tell me which simulator you are using in this video? I kind of recognize tinkercad but that one doesn't has all those components

  • @arta2870
    @arta2870 5 ปีที่แล้ว

    Thanks for the great instruction. Now to find a way to incorporate that to a motorcycle finger print ignition start up

  • @gustavozaraza6456
    @gustavozaraza6456 6 ปีที่แล้ว

    Excellent project, you're the best

  • @greywolf271
    @greywolf271 4 ปีที่แล้ว

    Thanks mate. Lots of useful info here.

  • @FIXDIY
    @FIXDIY 3 ปีที่แล้ว +1

    Loved it ❤️

  • @chitrakshvarma8270
    @chitrakshvarma8270 6 ปีที่แล้ว +1

    Will this work with Arduino uno r3

  • @themelodicguy2022
    @themelodicguy2022 7 ปีที่แล้ว

    really great job this video helps me a lot Thanks for making this video!

  • @thesloable
    @thesloable 8 ปีที่แล้ว

    Great tutorial! Thanks!

  • @RH-zn7mp
    @RH-zn7mp 8 ปีที่แล้ว

    Is the code the same for every type of screen? I saw a cheap screen from sainsart and i would also like to use a mega controller from sainsart.

  • @estivaliz155
    @estivaliz155 6 ปีที่แล้ว

    Hi great job!!! Sorry my english it's bad, when you show the distance on the screen as a seven segments display, you get the distance with entire numbers, i need the distance with the complete variable, with decimal numbers, how can i do that? now i use your project to size mass, it's very very good.

  • @ccricers
    @ccricers 8 ปีที่แล้ว

    What's the contrast ratio like in this display? I might get it instead of a OLED if the blacks are very dark (and to save money).

  • @S0K0N0MI
    @S0K0N0MI 3 ปีที่แล้ว

    Old video, but I hope you can still help. ;)
    The shield eats up the entire 40 pin header, but does it really use them all?

  • @FordFlatheadRat
    @FordFlatheadRat 7 ปีที่แล้ว

    At 3:33 minutes in your video and on line 76 of the Arduino sketch - drawHomeScreen(); // Draws the Home Screen. How do I make the home screen background a different color besides black?

  • @alien4ufo364
    @alien4ufo364 7 ปีที่แล้ว

    Thank you Dejan. may I ask where can I get full code for this?

  • @navindias7108
    @navindias7108 7 ปีที่แล้ว

    can we use qt to deign our ui for this project using the same touch screen module?

  • @jorgejsw3899
    @jorgejsw3899 7 ปีที่แล้ว +6

    Where the library goes down

  • @chrisknechtel
    @chrisknechtel 7 ปีที่แล้ว +1

    Thank You for the great videos! Please keep them coming.
    I loaded the sketch and only get a white screen. Can you offer any guidance, Please?

    • @chrisknechtel
      @chrisknechtel 7 ปีที่แล้ว

      After reviewing tutorial I realized I have a TFT_320QDT_9341 and not the TFT_320QVT. I can only assume it requires a different controller. Can't find solution in YT comments or web so I'll order the correct unit and trash this unit, thx

  • @alanw5879
    @alanw5879 2 ปีที่แล้ว

    Hello, do you have any code for using the 2.8" display to monitor DC voltage that I can use for my solar project? It would be a big help, thanks..

  • @alexanderk.3838
    @alexanderk.3838 3 ปีที่แล้ว

    Very nice video. Thanks. I gotta made meteostation With this display and BME280.

  • @sarahcarrol275
    @sarahcarrol275 หลายเดือนก่อน

    Do you have a video on how to connect the circuit. Where does the pin headers go?

  • @milanjovanovic8708
    @milanjovanovic8708 3 ปีที่แล้ว

    If distance sensor is used also for something else, eg. If distance is less than 5cm turn on the red led, will that still work 8f u go to main menu?

  • @raifhanna1120
    @raifhanna1120 5 ปีที่แล้ว

    good job,how to use Touch Screen to put a specific distance in mm and let the Motor goes to that length (I mean a digital ruler)

  • @dr.xx1
    @dr.xx1 วันที่ผ่านมา

    Amazing channel ❤

  • @surajchothave4485
    @surajchothave4485 7 ปีที่แล้ว

    Thanks Dejan it was helpfull

  • @alptekinakturk4185
    @alptekinakturk4185 4 ปีที่แล้ว

    Thank you amazing tutorial.

  • @althuelectronics5158
    @althuelectronics5158 5 ปีที่แล้ว

    wery happy to waching this video
    sooper warking ant your xperiyanse wery naise
    thanks sir

  • @VladaNish
    @VladaNish 7 ปีที่แล้ว

    Bravo Dejane, super tutorijal.

  • @Lamoboos223
    @Lamoboos223 4 หลายเดือนก่อน

    can i connect it to arduino uno? also, does the libraries work on arduino uno and does the code work for other screen sizes like 3.6?