How to create a simple Touchscreen GUI || Arduino LCD & Touchscreen Tutorial
Vložit
- čas přidán 18. 08. 2018
- Only $2 for 10pcs PCBs (10cm*10cm): jlcpcb.com
Previous video: • DIY Plasma Arc Speaker
Multiplexing video: • Electronic Basics #5: ...
Facebook: / greatscottlab
Twitter: / greatscottlab
Support me for more videos: www.patreon.com/GreatScott?ty=h
You can download my example code here: / 20817428
You can get an 8-Bit Parallel TFT LCD here: (affiliate links)
Aliexpress: s.click.aliexpress.com/e/_d7b...
Ebay: rover.ebay.com/rover/1/711-532...
Amazon.de: amzn.to/2BkQnb8
Websites which were shown in the video:
cdn-shop.adafruit.com/datashe...
github.com/adafruit/TFTLCD-Li...
github.com/adafruit/Adafruit_...
www.nxp.com/wcm_documents/tec...
www.sparkfun.com/datasheets/L...
In this video I will show you how TFT LCDs and resistive touchscreens work and how we can utilize an Arduino in order to control them. At the end I will then show you how to create a simple GUI for an Arduino project which has a touchscreen as an input.
Thanks to JLCPCB for sponsoring this video
Visit jlcpcb.com to get professional PCBs for low prices
Music:
2011 Lookalike by Bartlebeats - Věda a technologie
Thank you. I just bought one and was getting very frustrated with its partial function. Simple things such as knowing it’s supposed to be used in a vertical orientation make a big difference! I don’t expect to fully understand the complex theoretical bits, it’s not not my day job, impressed that you do though. More impressed by your consistent ability to explain the relevant bits of complexity in order to use the product, across all of your videos. Very useful and solidly reliable, a ‘go to’ site where you’ve published for anything I’ve bought. Phil
Sir - I rarely comment on videos - HOWEVER today I chose to make an exception. I have watched MOST of your videos, and they rank among the best most informative learning activities I think anyone interested in electronics can choose to spend their time doing. What great work! Thank YOU!!!
9:37
GreatScott - *all we had to do *
My brain - *was follow the damn train cj*
Huh?
@@peterhimmelman9241 GTA San Andreas Reference
You literally read my mind. A few days back I was also thinking about a touch screen display for my arduinos and now you made a video about them. Wow amazing you are awesome.
One thing to consider is that while the parallel interface requires fewer clock cycles to set the data it may actually take more clock cycles on the microcontroller because many microcontrollers offer hardware SPI, I2C, and UART modules which operate independently of the rest of the processor.
What I like from each of your video is how you end up your video 👍,
"stay creative" that's so GREAT
I say wow Great Scott! As a newbie in electronics I'm learning a lot watching your videos. I've started from your into to electronics. Thanks.
Thank you! I've been passively brainstorming how I'm going to implement my touchscreen UI for one of my projects.
I really love how you always make projects about things what I am fancying to try :D Love you man (nohomo), keep up the good work!
The great tutorial video that I haven't watch before. That was so explicit. Good job man
I understand 5% but enjoy 100%. Thanks!
JustGame ....Understand that I'm 65 and still in an analog world. Fortran IV is the only computer language I ever "learned." I'm am ordering an Arduino training kit when I can afford it. Digital here I come!!!
Bud Brady you will pick it up the more you watch, I know when I first started watching GS I was just getting into electronics and barely understand anything but just hearing the terms used and working on my own projects I have a much deeper understanding of these videos
Bud Brady That's great to know. May I ask where are you from?
Anirudh Appala northern Indiana USA
Bud Brady Okay. I'm from India. Not sure how the logistics is going to work but I'd love to sponsor a basic kit for you!
Am always looking forward to your videos. they're all GREAT
Like Frosted Flakes!
czcams.com/video/O6EcMSWRpms/video.html
Thank you, GreatScott for this very informative and helpful video! It will definitely help me with using my LCD touch screen shields, which I bought just a few days ago. :)
Thank you for all the work you put into your videos. I learn very easily from your teaching technique. Thank you.
bro, I feel like every project I start working on, you already have a video about it! Amazign!
Great video again! Is always welcome to have in-depth explanation of technologirs used.
This is just much more than great Mr Great Scott I needed such a video since so long cause I love to make everything from scratch even an LCD or anything
Thank you so much for this
You're welcome :-)
Very well detailed and instructive!!! The layout of the information and presentation are prefect. Much thanks and keep it coming.
You actually bringing really important and usable information to us.
Thank you very much
Perfect video. I love your videos. Just keep like this. The world needs people like you.
Thank you very much :-)
Many thanks for this video, I've been trying to wrap my head around how to use tft displays for a while. I need to get one of those shields for testing now. Thanks!
No words. Really found a better person. Well done ...
I really like those zoomed in views of the LCD, could watch that all day :O
I can't wait until you get 1 million subscribers. I've been watching your videos for 2.5 years now!
Awesome videos man so glad you are still making more!
Keep up the awesome vids. Highest quality go-to channel for any electronics project
Glad you like them :-)
Although those screens are listed as 5V tolerant, they work with 3.3volts. You need to use a level converter such as BSS138 mosfet in order to use SPI interface.
Hello Scott.. thanks for the video... You have taken exact examples with the gist of the codding and basic working.. thanks a lot for presenting variety of projects..
The serial one works great with the Raspberry pi, because the kernel has the needed FBTFT driver built in. There is a driver for the touch panel, too so you can use it to run the normal Xorg gui on it.
Really interesting video. Looking forward to 1 million video special!
Inspiring videos! Great channel! You make the projects not scary, and that's excellent for electronic beginners! Thanks!!
Your tutorials is always interesting and useful. Thanks.
As always...liked your video, detailed explanation, links to material and the last but not the least...learnt something!
usually I hate it when youtubers are sponsored, but when it's something that is related, like your electrical engineering and JLCPCB I find it very likable
actually I hate sponserships from mobile games, website builders and audible
fuck audible
Great! Now time to apply this to my Raspberry Pi Rover so I can access controls on competition day!
Really enjoyed this! You are really a super person sharing your knowledge, thank you for helping everyone. I’d love to see more videos using these screens if possible. I’ve got to get some first. :-) Thank You 🙏🏻!
Well deserved million subscribers, btw
that looks so cool! gotta try it! btw roard to 1 million!
A great creative video as always! 👌👌
definitely was searching for such vid!!!
thanks a lot scott!!!!!
You're welcome :-)
This... is... exactly what i needed!!
Thx for the video!!
I have always wanted to put one of these on my rc car but i didnt know how to implament it, Great vid scott!
I have learned pretty much everything I know about electronics from you... Thank you so much!
Glad you enjoy the videos and learn something new. Thanks for watching :-)
Every time I see you writing, using highlighters, and rulers it reminds of school in Germany. I lived in Germany and attended school until the 5th grade. I really am amazed at how much better schools are in Germany. I was so far ahead when I started school in the US. Ahead in everything, but English that is. Anyways, sorry for the off-topic rant, keep up the great videos.
88HD even schools between states in the us vary massively.
Moved a few times as a kid, pretty much did 4th grade twice.
In the Philippines, they use different colored pens to highlight.Not barging...sorry
Irony: Most parents and kids think the school system and quality in germany is bad and needs to be renewed.
Brilliant
Thank you very much. Your work is extremely informative and easy to understand!
Your 1 million subscribers coming soon
Well, it will take some time. But we will get there.
Ok
I'm your Big Fan
Clasher King Ayan very soon
GreatScott! Yes
Great video as always sir. Gives me many ideas to put into my own projects. Thank you.
Really enjoyed your tft lcd theory breakdown
Good tut on colour touch screens for Arduino projects - thanks! Nice handwriting btw.
Highlighter used upto it's maximum capacity 😉
The video is very very good. I watched other videos also. Your video gives information of about 100 videos in one.
Great tutorial - very informative as always.
Absolutely excellent information as always! Thank you.
Very professional!wonderful! Thanks for your sharing!
Thank you so much, I have been wanting to know this for so long, Thank you sir
Very nice. Like always. I like your videos. Just a small correction: it should be 0-239 and 0-319 at 7:39.
A programmer once said "We are celebrating our 0th year wedding anniversary"
Love your videos. However, i don't understand most of them. I find it amazing how you use all those formulas to figure out everything.
Great video, very informative, exactly what I needed.
Very useful video....... GreatScott! ..
Keep continuing .....
Your videos are always cool we always learn something new fro. ur videos keep uploading
it is such a coincidence that I ordered my first a TFT colour LCD display on AliExpress on today morning : )
Sssssssssstay creative and I will see you next time! great video as always!
Very nice and clear information!
thank you...I was programming one!
Hi Scott! Nice video as always. I used these displays in the past, than I discovered nextion displays and my life changed 😂 I suggest you to try these displays... You can do amazing things with them easier 😏
sehr gut erklärt!! Vielen Dank für die tolle Anregung... Daumen hoch!
You are great teacher and good voice, thank you very much
Amazing as always!!!
as usual a nice video. good work
More touchscreen projects, please. Love your videos.
Excellent content as always
thanks for make this guide
you rock greatscott!
Great as always!
I had the same issues with 4 wire SPI version, switch to libraries, you can use all Adafruit commands with little or no changes to sketch.
Thanks for this great Video from Germany !
GreatScott is a Great Channel..... so amazing,,so smart,, wonderfull,,
What equipment and knowledge will I need to become a pro at designing display panels?
the money shot: "How the hell can we provide a total of 1040 control lines for the Arduino?" I just love your videos. Thanks so much for enlightening me.
I would like to have seen you try the serial interface module as well.
To see if it's just too slow, or fast enough at least for limited applications.
Hey, Scott! Do you think you can make your own Smart Glass? Like the dimmable transparent glass. Would love to see a video on it!
The issue you had with the first screen was logic level voltage. Try putting a 10k resistor on all the data lines and it will work.
You are truly a great Scott. Thats Amazing,, Thanks a lot, man.
I have been able to use Arduino Uno's and Nanos with those types of screens but you have to use series resistors with all pins connected to the display simply because those displays are native 3.3 volt and don't like the 5-volt signals
Very nice video. NASA level research...
a lot work there, big bravo to you 💪💪💪💪👍👍👍👍👍
great video! i would love to find out what goes on in those screen driver chips! Do the pixels just represent what is in the video ram? i wonder how circles and polygons drawn on the screen. I bet lots and lots of trigonometry!
yeah brand new video!!!!
You are great. I don't have words to express my gratitude. In my mother tongue " ඔයාට බොහෝමත්ම ස්තූතියි".
Unless mentioned before, cheapo screens like the SainSmart are likely to lose touch functionality after a year or so unless you add a protective shield (like a phone display cover) and protect the flat-cable by putting something hard on top of it, or repeated use/clicks will lead to intermittent failure due to material stress. They're cheap and good for experimenting with, but go with a tougher-quality display if it's meant to be used over a long period of time, or in rough environments such as being carried around in a pocket.
Im still wondering how these people with 10 million subscribers like Unbox Therapy can get that popular with doing very simple videos (just unboxing things) and you, Scott, (only!) 800.000 Subscribers...
Because those channels focus on mass audiences who just watches videos without any indepth knowledge on anything and at best case be aware of the specs list of whatever being advertised and say it back like a parrot. They are the type of people who will tell you the ram of a phone that's 8gb is the same as a pc 8 gb because they only know that aspect but rather not know anything about bus speed etc.
Thanks a lot for this amazing videos.
It is very informative
Thank you...
I learned a lot of new things.
Nuwan, from Sri Lanka.
Hi. Very great video.
Is it possible to connect HMI DELTA to microcontroller?
I would like if you make microcontrollers tutorials. Please consider that :c
I love how you explain things.❤️
Thank u for this information . Can u use the micro controller for operate this screen
GreatScott! is addicted to highlighters haha
FYI:
The Display you tied on @5:42 is 3.3V only. Although it claims to be 5V tolerant, it is NOT.
Mine was not working as well, so I used a Level-Converter and... "voila", it works perfectly. (You can also use a couple of resistors, but that turned out to be not reliable at all)
You can use 3.3V Arduino boards.
I use a Bluepill STM32 board now with the ADAFRUIT_GFX_AS and Adafruit_ILI9341_STM libraries and this is fast as lightning.
But thanks for the great video!!!
i used to watch jefree star youtube vids and now im watching scott's! and i luv itttt
Very useful ! Thanks for sharing !
Your the best greatscott
Thanks for sharing 😀👍
Nice project 👍