Arduino TFT LCD Touch Screen Tutorial

Поділитися
Вставка
  • Опубліковано 10 вер 2024

КОМЕНТАРІ • 451

  • @HowToMechatronics
    @HowToMechatronics  3 роки тому +15

    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 2 роки тому

      Please provide documentation

  • @lookalterno3591
    @lookalterno3591 7 років тому +30

    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.

  • @waleedalrashed1411
    @waleedalrashed1411 7 років тому +25

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

  • @FamilyManMoving
    @FamilyManMoving 7 років тому +5

    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.

  • @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)

  • @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

  • @tfeezy
    @tfeezy 6 років тому +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.

  • @fernandolunadev
    @fernandolunadev 8 років тому +6

    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!

  • @Just_Ignorant
    @Just_Ignorant 8 років тому +3

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

  • @paulhendrix8599
    @paulhendrix8599 8 років тому +3

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

  • @yngvai777
    @yngvai777 7 років тому +16

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

  • @JulianMakes
    @JulianMakes 5 років тому

    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)

  • @JulianMakes
    @JulianMakes 5 років тому +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.

  • @skmaltare5890
    @skmaltare5890 4 роки тому +1

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

  • @beatrute2677
    @beatrute2677 2 роки тому +1

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

  • @mitsos306ify
    @mitsos306ify 7 місяців тому

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

  • @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

  • @verlainemaeflores9697
    @verlainemaeflores9697 5 років тому

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

  • @rajgarg555
    @rajgarg555 Рік тому +1

    How can we attach voltage Base sancers with this system

  • @InFAMOUSPS4_19
    @InFAMOUSPS4_19 4 роки тому +1

    So one thing that isn't said is that the ID of the LCD does matter, when initializing the "myGLCD" method the display could be "SSD1289" OR "CTE32_R2" if your code compiles but doesn't show up on the display, try this fix. Also, the error of C++ nnot being able to convert string to char is normal and will still operate normally.

  • @tmc200527
    @tmc200527 8 років тому

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

  • @XanCraft21
    @XanCraft21 6 років тому

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

  • @jeffreynwankwo7912
    @jeffreynwankwo7912 5 років тому

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

  • @billfield8300
    @billfield8300 8 років тому +1

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

  • @mphaan
    @mphaan 5 років тому +1

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

  • @jjawads88
    @jjawads88 8 років тому

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

  • @kugurgoles
    @kugurgoles 6 років тому

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

  • @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.

  • @MatthewAustengopro
    @MatthewAustengopro 3 роки тому

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

  • @PeterFloyd678
    @PeterFloyd678 7 років тому

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

  • @tomneto8791
    @tomneto8791 3 роки тому

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

  • @reatoruv
    @reatoruv 7 років тому

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

  • @saqroomi
    @saqroomi 8 років тому

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

  • @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!

  • @alexanderk.3838
    @alexanderk.3838 3 роки тому

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

  • @arta2870
    @arta2870 5 років тому

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

  • @VladaNish
    @VladaNish 7 років тому

    Bravo Dejane, super tutorijal.

  • @chinnappaninnasu2721
    @chinnappaninnasu2721 7 років тому

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

  • @sirazulislamsiraz7631
    @sirazulislamsiraz7631 7 років тому

    hi there... I am connecting ILI9341 display with ardunio uno. i am able to get image. but I can see this from angle. the display seems very bright. what can i do to solve this problem? thanks

  • @featurenerds5739
    @featurenerds5739 3 місяці тому

    hello. Been working on a small project of mine. May I just ask if you know how to salvage old phone screens and use it for this

  • @rajeshtakyar8057
    @rajeshtakyar8057 7 років тому

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

  • @maciejgaus4505
    @maciejgaus4505 2 роки тому

    Hello,
    How would i change the code for
    // Draws a rectangle with the latest color combination
    myGLCD.setColor(xRC, xGC, xBC);
    myGLCD.fillRoundRect(175, 87, 310, 119);
    to display number values instead. For example, the slider starts are zero and goes in increments of 0.5 every time you slide it to the right.
    Thanks in advance!

  • @user-cb5hi7oc3q
    @user-cb5hi7oc3q 2 роки тому

    Hi,
    i keep getting this error message : error compiling for board Arduino or Mega 2560 ? could you please advise me on how to correct this issue.
    Thank you

  • @muhammedselimcavas5772
    @muhammedselimcavas5772 3 роки тому

    thank very much i am ot from english i from Turkey but i understand thank u

  • @AmateurInventor
    @AmateurInventor 5 років тому +1

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

  • @khalidwaleed4627
    @khalidwaleed4627 3 роки тому +3

    4:34 best crack in the universe

  • @mtabboud
    @mtabboud 7 років тому

    Hi, I am not able to get the text sharp as it is in the video. I m using a shield but seems like each character has a shadow. Any help?

  • @shivpatil9434
    @shivpatil9434 7 років тому

    hey..... i am trying to interface 7 inch ssd1963 tft with aurdino mega2560... is UTFT library is compatible with it?... or else what i have to do please help me to slove this problem....

  • @MagivaIT
    @MagivaIT 5 років тому

    finally a video that is very useful. love it

  • @themelodicguy2022
    @themelodicguy2022 7 років тому

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

  • @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

  • @ralitsaharizanova
    @ralitsaharizanova 6 років тому

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

  • @quantafoto
    @quantafoto 7 років тому

    Excellent tutorial. Was a little surprised that you skipped over the slider code as that's probably the least obvious. I'm guessing that you just draw a rectangle whose width is based on the integer value.

  • @pitus26
    @pitus26 7 років тому +1

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

  • @YFTOUCH
    @YFTOUCH Рік тому

    Wonderful and useful!Tks for your sharing!

  • @greywolf271
    @greywolf271 5 років тому

    Thanks mate. Lots of useful info here.

  • @SirJohnatan
    @SirJohnatan 4 роки тому

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

  • @Vagubando
    @Vagubando Рік тому

    I have letters inverted vertically on such a display. I have tried many libraries, but there is no result. Advise me where to dig ?????

  • @user-ew5hm9wt7o
    @user-ew5hm9wt7o 3 роки тому

    Thank you. The idea is very good.

  • @yenerdemir2912
    @yenerdemir2912 6 років тому +8

    YOUR channel is very usefull.

  • @shifty51008
    @shifty51008 8 років тому

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

  • @TheBypasser
    @TheBypasser 5 років тому

    Seems like an ARM - and no antialiasing. God! Did alike on AVR (no Arduino there, of course), and AA worked just fine (as well as alpha and stuff).

  • @ausprobierendannweisstdues8686
    @ausprobierendannweisstdues8686 6 років тому

    Very professional tutorial Thank you

  • @500arend
    @500arend 8 років тому

    Hello dejan nedelkovski
    i rally like what you have done, and tryed it to modifyed it for myself.
    but.. every "drawFrame"" that is in the code is "not declared" do i something wrong?
    Can u give a some advise where to look at?
    thank you!

    • @500arend
      @500arend 8 років тому

      +500arend it took me really 4 hours, and i did everything again for the 3 time. till i saw i made a grammar mistake and dit drawFFrame... xD

  • @ronwalker3000
    @ronwalker3000 7 місяців тому

    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.

  • @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?

  • @kchoudri
    @kchoudri 4 роки тому

    This is best explained tutorial. Well done.

  • @dago2259
    @dago2259 8 років тому

    wow... I am learning to programming arduino¡, thanks, I will study the code.

  • @TrashPandamonium
    @TrashPandamonium 7 років тому

    Great tutorial, Dejan! Thanks for sharing these :)

  • @IsaacC20
    @IsaacC20 8 років тому

    Was it difficult to build the GUI? I've done some processing and GUI programming with Matlab and it's very tedious.

  • @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?

  • @Jai_Lopez
    @Jai_Lopez 8 років тому

    can we display all serial communication on here? "port.write();/serialWrite();/Serial.println(); & radioWrite(); ?" i have a processing sketch i will like to use here and see my processing web camera in here lcd

  • @ChathuYasas
    @ChathuYasas 7 місяців тому

    Great tutorial. I am very interested in working with ESP32/TFT display.

  • @adams_adams4219
    @adams_adams4219 4 роки тому +1

    Thanks

  • @mertkankoca5416
    @mertkankoca5416 3 роки тому

    is it possible to make this project using PIC ?
    my class project is to control servo with touchpad by using PIC help pls

  • @adityani0609
    @adityani0609 4 роки тому

    can i use HiLetgo 3.5" IPS TFT LCD Display ILI9486/ILI9488 480x320 36 Pins for Arduino Mega2560 instead of the model which you have used.

  • @Cristian-gu1st
    @Cristian-gu1st 4 роки тому

    thanks for explaining the code

  • @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

  • @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

  • @sarahcarrol275
    @sarahcarrol275 6 місяців тому

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

  • @MinecraftLPAlex
    @MinecraftLPAlex 5 років тому +1

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

  • @disabledOtter
    @disabledOtter 8 років тому +1

    this is a great tutorial, thank you

  • @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).

  • @jrvc505
    @jrvc505 7 років тому

    HI!! I'm searching information about how to make a program for this touch screen but using the STM32F103C8. Can this library be applied there? and if it isn't true, would you please give me an orientation of how can I do it?? Thank you

  • @drakeabel5948
    @drakeabel5948 7 років тому

    so i followed your code and everything went well, but my characters were displayed backwards and it wasn't centered. Any possible solutions?

  • @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

  • @FIXDIY
    @FIXDIY 4 роки тому +1

    Loved it ❤️

  • @gustavozaraza6456
    @gustavozaraza6456 7 років тому

    Excellent project, you're the best

  • @S0K0N0MI
    @S0K0N0MI 3 роки тому

    Whenever I use this library it complains about using strings, is this normal?

  • @pinqizhu5761
    @pinqizhu5761 4 роки тому

    hey , I wanna ask a qustion about arduino. Lately I was trying to display picture on the TFT touch screen ,and what I want to achieve is when time goes by the picture will blur and you have to touch the screen the way just like you wipe the dust off you picture frame in order to make the picture as sharp as before.... How am I gonna code this ,and which direction should I go for.... A million thxs ahead !

  • @VincentCheng
    @VincentCheng 8 років тому

    Thanks for your great contribution!

  • @usmanazmat7949
    @usmanazmat7949 8 років тому

    Hello Dejan Nedelkovski!
    I am try to show decimal point value on this LCD. But "myGLCD.print()" function is not accepting float value to display. It only accepts "int" value. Can you please help me in any way?
    Thanks
    Usman Azmat

    • @usmanazmat7949
      @usmanazmat7949 8 років тому

      Thank you so much Dejan!....You were very helpful to me!

  • @lofiifishstudio7818
    @lofiifishstudio7818 2 роки тому

    how did you add a tft screen in fritzing? I dont find it :((

  • @SalmanKhan-pu6sc
    @SalmanKhan-pu6sc 4 роки тому

    I love ur videos. Bcz u alwz explain the code

  • @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?

  • @ItsGosho
    @ItsGosho 2 роки тому +1

    It is more responsive than most luxury cars's touch screens

  • @thesloable
    @thesloable 8 років тому

    Great tutorial! Thanks!

  • @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?

  • @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?