Arduino Tutorial: 2.8" TFT LCD Touch Screen ILI9325 with Arduino Uno and Mega from Banggood.com

  Рет қаралды 215,045

educ8s.tv

educ8s.tv

Күн бұрын

Пікірлер: 209
@tonyblewitt6159
@tonyblewitt6159 6 жыл бұрын
This was a great help in getting the 2.8 TFT touchscreen to work (the one from Bangood )! I did however struggle for some time with the dreaded white screen . The driver for the device, I just received from them. Needs to be ILI9341. which is not on their information .I initial tried for a good while with the ILI9325 driver which sort of half works half works on the above tutorial ......so if you are struggling with one of these Bangood displays try entering 9341
@syther20
@syther20 7 жыл бұрын
Can you make a video on how to use the SD card slot in the display for displaying pictures and stuff!
@julioverne3825
@julioverne3825 6 жыл бұрын
Hello, Nick. This is my first comment, although I see all your videos. I think in the code there's an error in the use of the "map" function. The correct lines should be: p.x = map(p.x, TS_MINX, TS_MAXX, 0, 320); p.y = map(p.y, TS_MINY, TS_MAXY, 0, 240); This is because in the map function you have to put first the low value, and then, the high value. Thank you for all your great work!
@edwatters6377
@edwatters6377 7 жыл бұрын
Nick...I was having a problem with the display I purchased on eBay running your code. There are different drivers for 2,8" TFTs ....they may look the same but are not. For me I had to change the "identifier". In my case it was 0x8230. After that every thing worked great. Your videos are great... keep up the good work.
@alan.millington
@alan.millington 8 жыл бұрын
I'd love to see a simple touchscreen controller for the little robot you built a few weeks ago. You could send commands via bluetooth and show the direction arrows on screen, could be very neat :)
@parasbhanot
@parasbhanot 8 жыл бұрын
you can build Line chart or Bar-graph according to sensor values .
@BananaScience
@BananaScience 6 жыл бұрын
Extremely helpful tutorial! Thanks!
@obALlhashmi
@obALlhashmi 5 жыл бұрын
why does mine keep giving the error unable to complie for arduino uno/genuino?
@robertocuevas2038
@robertocuevas2038 4 жыл бұрын
Anyone solve your question
@mbaksa
@mbaksa 8 жыл бұрын
How well does the touchscreen work? I see that it is a resistive type, which I hoped are the thing of past, since capacitive touchscreens are today's standard, and they work great.
@Educ8s
@Educ8s 8 жыл бұрын
From my experience, it works pretty well. I didn't faced any problems at all!
@MarcRitzMD
@MarcRitzMD 8 жыл бұрын
Resistive is not all bad. You get higher sensor resolution with them and you can use any tip on them. That is why using a fine tip pen can be used very accurately. The Nintento 3DS was thus able to use these cheap plastic pens
@legoscratch
@legoscratch 7 жыл бұрын
mbaksa I thought the same but was very impressed! The screen is very responsive and you can change the amount of pressure detected
@ForeverMods
@ForeverMods 7 жыл бұрын
For Arduino I find that resistive touch is better cause there is less tendency to hit other points on the display.
@AzharKhan-ek3ri
@AzharKhan-ek3ri Жыл бұрын
can we somehow use this display with an esp 32
@ForeverMods
@ForeverMods 7 жыл бұрын
Is it just me or do you also find that he goes too fast ? Like why modified library ? However the links are very detailed and you should really check them out. I find this channel to be awesome.
@brunovarotta
@brunovarotta 6 жыл бұрын
Could you tell me if this will work on a 3.5'' TFT touch LCD shield. I can see it uses the same pins
@JoBest94
@JoBest94 6 жыл бұрын
Great video!, helped a lot with my project, I really like the part where you show ordinally what part of codes do what on the display
@cad3175
@cad3175 8 жыл бұрын
..a 3-option menu with 2-option sub-menus would be useful for many projects, like on a 3D printer, just a suggestion, thanks
@Richie_
@Richie_ 3 жыл бұрын
Subscribed. I need to learn how to use these screens.
@AakashSom
@AakashSom 8 жыл бұрын
I am looking forward to some possible projects with this!!! I really can't figure out a proper project I can make with it!
@eduardoschlichta431
@eduardoschlichta431 7 жыл бұрын
will be cool put a image on display and using the touch screen apply you reduce the zoom
@dilsonferreirasouza5814
@dilsonferreirasouza5814 8 жыл бұрын
Do you have some example with more pages and botton? I'd like to learn more about it.
@chernoblyat1901
@chernoblyat1901 3 жыл бұрын
Question, I've seen some KZbinrs use the TFT Adapter Board for this project, is it a must to use the TFT Adapter Board?
@florisbollen3770
@florisbollen3770 7 жыл бұрын
Hi, I've been looking all over the internet for some libraries that work with my arduino uno, and my touch screen shield, and you're the first that gets something on the screen, but I've got strange coloured lines all over the display, and a lot of snow in the background, how do I fix this?
@pass6123
@pass6123 6 жыл бұрын
Hi, I also have the same problem. I would like to know if you could fin a solution.
@amitrdevece
@amitrdevece 7 жыл бұрын
can you make an oscilloscope with this display and uno ? what will be the maximum bandwidth and frequency range for this oscilloscope? will it be more useful than DSO138 mini oscilloscope ?
@thesavagedog28t61
@thesavagedog28t61 7 жыл бұрын
here www.jaycar.com.au/oscilloscope
@petera_sha
@petera_sha 2 жыл бұрын
I would be interested to see this display working as a monitor through Hdmi or as second display for laptops or smartphones. Cheers!
@riccardofinotti1019
@riccardofinotti1019 6 жыл бұрын
Hi, would you know how to connect this shield to a Ramps 1.4 shield? I would like to use the touchscreen in my 3d printer
@hmdmddh
@hmdmddh 7 жыл бұрын
Hello thanks for the explaination, can we use this Touch screen and an arduino uno to build an oscilloscope?
@peterwebster3076
@peterwebster3076 8 жыл бұрын
hey nother great video I want to use this project to create a digital photo frame but unsure how to do this ie changing the code if you know what I mean any help would be great cheers pete uk
@fcolpz9071
@fcolpz9071 7 жыл бұрын
Hey!! I have the same touchscreen, I have seen the others tutorials with nextion, its possible to use nextion with this model of touchscreen ??
@legoscratch
@legoscratch 7 жыл бұрын
What are the pin holes on the right for? They aren't marked
@chronobot2001
@chronobot2001 4 жыл бұрын
Can you still use devices with the SPI or I2C interfaces or does the screen prevent it?
@youpattube1
@youpattube1 8 жыл бұрын
hello - another excellent video tutorial. you asked what kind of projects we want, well I would like you to take this one to the next step : make a simple arduino touch screen calculator.
@rosazuniga8012
@rosazuniga8012 8 жыл бұрын
hello, I want to make a matrix of a few buttons sort of like dial pad. I saw you created one button how to do more than one, ( on/off , and numbers ) like to control LEDs, and stuff.
@augustoduccio
@augustoduccio 7 жыл бұрын
really very interesting I am using this display with numbers but i am not able to cancel the previous number so in fews steps they are impossible to read. suggestions ?
@Come_with_me9
@Come_with_me9 7 жыл бұрын
good job keep going! sd card slot using ?
@mitropoulosilias
@mitropoulosilias 7 жыл бұрын
that screen as a clock digital numbers with ds3231RTC with multi alarm function, sounds or songs on alarm, Why it does not work with due?
@yadavraveendra6922
@yadavraveendra6922 6 жыл бұрын
Thank You for the tutorials.
@adamfox6529
@adamfox6529 7 жыл бұрын
Dear Nick I downloaded your modified Adafruit library and everything works fine, thank you !! I Why doesn't the standard (non-modified) Adafruit TFT libray work with this LCD ?
@adsads7054
@adsads7054 4 жыл бұрын
please make with displacement tranducer and pressure tranducer and record the peak
@killboysenior9763
@killboysenior9763 8 жыл бұрын
how long is the ribbon cable attaching the lcd to the module
@shaunxthexmod777
@shaunxthexmod777 Жыл бұрын
hi can the touch screen ,Arduino Uno play. a gif animation ?
@vishalprajapati823
@vishalprajapati823 7 жыл бұрын
i have 2.4 tft screen with 9335 written on back i had tried same instruction but it just ended giving a white screen .. what chnges should i do
@rajainayat
@rajainayat 3 жыл бұрын
Hello Mik Nice simple tutorial. I want you to make program like Sine wave graph or other graphs. Thanks
@64bittz93
@64bittz93 7 жыл бұрын
does the screen use pin 13 of arduino uno?
@pauldusa
@pauldusa 7 жыл бұрын
Hi, simple is shields, u should do a 2.8 spi video
@PDGAF
@PDGAF 7 жыл бұрын
You need to do a tutorial on the MPU6050 ran off the Arduino Uno. P
@josephkidd3622
@josephkidd3622 6 жыл бұрын
How many pins are left when used with the mega?
@tokyoposted
@tokyoposted 7 жыл бұрын
all i get is a white screen im not sure why this is. there are 3 other people with the same issue
@DPVTECHNOLOGY
@DPVTECHNOLOGY 7 жыл бұрын
It is due to the unknown driver. first, you have to find out the unknown driver.Then you will be able to solve it.If you give me your email address, I can send aa absolutely free link to solve this problem.
@julioverne3825
@julioverne3825 6 жыл бұрын
I solved this issue with Lawrence Menten answer (change line 46 to tft.begin(0x9341), or the code of your controller).
@gaspersavle161
@gaspersavle161 6 жыл бұрын
@@julioverne3825 now i get an upside down version of the image
@LabnehJr
@LabnehJr 5 жыл бұрын
@@DPVTECHNOLOGY I stopped the white screen but the touch doesnt work.
@debeerpaul
@debeerpaul 5 жыл бұрын
Julio Verne You're a genius! Solved my white block of death.
@tom_the_jaffa_muncher9576
@tom_the_jaffa_muncher9576 4 жыл бұрын
I keep running into the same error: "Error compiling for board Arduino Uno." where am I going wrong?
@robertocuevas2038
@robertocuevas2038 4 жыл бұрын
anyone solve your question
@tom_the_jaffa_muncher9576
@tom_the_jaffa_muncher9576 4 жыл бұрын
No not yet
@allanalbrecht3112
@allanalbrecht3112 4 жыл бұрын
@@tom_the_jaffa_muncher9576 , I got the same error. I wonder if it's the version of the IDE?
@diegorincon811
@diegorincon811 8 жыл бұрын
Great example, thank you. I was thinking to implement this display to show daily exchange rate between USD and other currencies. Is there a way to make arduino download daily exchange rates from internet o from a file on the web and display it on the TFT? (with a wifi or ethernet shield) Again, thank you
@VK2AHB
@VK2AHB 3 жыл бұрын
Hi Nick, I have two questions: 1) I have the blue 2.8" and a red 2.8". The blue one works fine, the red one is mirror reversed. How can I turn it right way round? Second question: With most of the pins taken up by the display, how can I add sensors like DS18B20 or DHT22?
@BGLENN-dp4tx
@BGLENN-dp4tx 5 жыл бұрын
Where to find out about using the integrated SD card? Thanks.
@ProjectGuns
@ProjectGuns 8 жыл бұрын
Hi Nick, great video. how about a project with this display making a .bMP photo display that will advance the photos from the SD card using the touch screen. Regards, Stan
@ci3jk4
@ci3jk4 8 жыл бұрын
Hi, Could you please make a tutorial on how to make a simple menu with pages? I did figure out all the rest but I'm stuck on how to make the screen go to next page when (one of 3) button is pressed, to show different data. I know that the code behind this is quite simple, but cant figure it out... Just like jimbob dooley mentioned, a month ago :)
@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
@360_tours
@360_tours 6 жыл бұрын
My screen seems to be shifted down. When I change the origin and read the data point from the serial is doesn't change. Do you know of any solutions?
@xTheTechLegendx
@xTheTechLegendx 7 жыл бұрын
Hi , great job , keep it up :) . I have a question since i am new with Arduino product , is it possible to control RGB leds through the LCD touch screen ?
@Educ8s
@Educ8s 7 жыл бұрын
Yes of course
@xTheTechLegendx
@xTheTechLegendx 7 жыл бұрын
Oh that's nice , can you create a simple example for that with 3.5 LCD and RGB strip ?
@thanasisathanasi4965
@thanasisathanasi4965 5 жыл бұрын
Re file, me afto to papari mporeis na kaneis skip forward me kapia commands?
@lokeshkulhari5045
@lokeshkulhari5045 2 жыл бұрын
Sir, I have tried the same programme but the screen not indicating anything
@Granpepinillox
@Granpepinillox 8 жыл бұрын
I have a problem. When I upload an example of de Touchscreen library, it dosen't work, the screen becomes white and the program is stop. But the Adafruit GFX works perfectly. How can I solve the mistake?
@robertochavero4542
@robertochavero4542 8 жыл бұрын
Not sure if you figured it out yet. But I was getting the same issue. I changed the "tft.begin(0x9325);" to "tft.begin(0x9481);" and "tft.setRotation(1);" to "tft.setRotation(3);" not sure what they do but they worked. hope that helps
@Satyendrakumar-sm3np
@Satyendrakumar-sm3np 7 жыл бұрын
Can you make video on how to take input from touch screen and store it in file
@RTOHIO
@RTOHIO 4 жыл бұрын
I cannot get the example to compile, it says A2 is not defined in this scope. The comment in line says must be analog use An notation. I can find no info on how to use that notation in Arduino sketches. Github says if you are using the shield use TFTpaint_shield.ino but I cannot find that ino file either. Since it wont compile I cannot calibrate the screen. Any ideas? Been a subscriber for a while and like your approach.
@asmaklad
@asmaklad 8 жыл бұрын
Great Video . you could make a clock alarm .
@Educ8s
@Educ8s 8 жыл бұрын
Hello Ahmed! Yes, that's a very good idea!
@irfanaslam5859
@irfanaslam5859 8 жыл бұрын
sir what displays do you prefer
@Educ8s
@Educ8s 8 жыл бұрын
Hello! I have published an article about the best Arduino displays. You can check it here: educ8s.tv/tutorials/best-arduino-display/
@antoniobruno3670
@antoniobruno3670 7 жыл бұрын
Tks for sharing your knowledge ! regards, Bruno.
@daleafboi_8315
@daleafboi_8315 3 жыл бұрын
Hi, when i try to upload the code to the Arduino, it doesn't do anything. It just sits with a blank screen. What should i do?
@fermarioav6473
@fermarioav6473 6 жыл бұрын
Hello, I want to manufacture my own electric scooter, for this I want to add an LCD panel adafruit, I want to control the engine for acceleration and the three modes, Eco, Normal, and fast, for this I do not want it to be a touch screen but a Joistick, I want that show battery level, and acceleration, what would you recommend, do you know a similar project? Thank you
@mellee3436
@mellee3436 3 жыл бұрын
Hi Nick. I recently purchased this board from Banggood and attached to a Uno purchased as well. The sketch compiles and uploads without trouble. The screen displays but the touch screen doesn't seem to work. The serial monitor displays Starting ... - but nothing more. Can you offer some advice please ? Arduiono IDE is 1.8.16. Regards, Mel
@mellee3436
@mellee3436 3 жыл бұрын
Lines 22-26 of your code.
@valerioguagnelliscanzani643
@valerioguagnelliscanzani643 6 жыл бұрын
Is it possible to use SD card as data logger?
@acmgj8536
@acmgj8536 7 жыл бұрын
Make FM radio and watch with it I wud like to see and make also if u provide complete guide for project
@nsahaassam
@nsahaassam 5 жыл бұрын
Sir Can we use the display in FPV Camere
@nihadabbikar5788
@nihadabbikar5788 2 жыл бұрын
Can you do screen mirroring from a mobile phone using Arduino??
@chemicalvamp
@chemicalvamp 7 жыл бұрын
Create an arduino uno serial monitor, so you can view Serial.print("Hello World!"); from your projects without using a computer.
@brianmoore5454
@brianmoore5454 6 жыл бұрын
Nick...I am using the same 2.8" TFT LCD Arduino Shield as yourself in the video. However, I have tried downloading every combinations of Sketches and none of them work. I have followed most of your other videos and they nearly all work straight away but this TFT Shield is bugging me as I have a project waiting for a working screen menu. Any help would be most appreciated
@alexandreallais5447
@alexandreallais5447 7 жыл бұрын
sorry but my tft don't work with my arduino mega... do you have an idea why ?
@CristianoAlmeida
@CristianoAlmeida 7 жыл бұрын
Unfortunately this LCD does not have its own editor program like nextion.
@andywalker8540
@andywalker8540 8 жыл бұрын
Great video) Maybe you can build a simple game for arduino for the next saturday?
@Educ8s
@Educ8s 8 жыл бұрын
Yes, I have already thought of a game that we can build with this display!
@andywalker8540
@andywalker8540 8 жыл бұрын
that's great)
@ElectroCoderEC
@ElectroCoderEC 3 жыл бұрын
error: 'textsize' was not declared in this scope
@zacpackman9186
@zacpackman9186 7 жыл бұрын
i wonder if you could make it run doom ?
@Kenneth548
@Kenneth548 4 жыл бұрын
2.8" TFTLCD Arduino display with white colour only after install the code on UNO. Please help
@adlaneaitamrane2740
@adlaneaitamrane2740 6 жыл бұрын
tftbmp isn't working with my arduino mega, does someone have a solution ? if i use the soft spi i have an error because this is a modified TFTLCD Library . Thanks
@batorkiss7593
@batorkiss7593 2 жыл бұрын
what app can i program with?
@robertovaldez-castaneda6281
@robertovaldez-castaneda6281 2 жыл бұрын
HEllo, im just trying to run your program about the ARduino mega 2560 and the 2.8 TFT LCD touch screen but there an error code on the line : TouchScreen ts = TouchScreen(XP, YP, XM, YM, 300); Can you explain this please? it says that "XP" was not declared on the scop > PLEASE HELP !!
@abhi-rg4ky
@abhi-rg4ky 8 жыл бұрын
sir can we play videos using digital pins ...... sir plzzzz help me with this ......
@Jindraxx20
@Jindraxx20 8 жыл бұрын
Hello educ8s.tv is it possible to tell me how much programm memory is consumed for this demo program ?
@Educ8s
@Educ8s 8 жыл бұрын
It is 42% of the program memory of the Arduino Uno.
@muhammadhuseinkarbala8696
@muhammadhuseinkarbala8696 5 жыл бұрын
I using driver ili9338. It works. But it can't touch. No respond when i touch every side. Can you help me please
@deepsavani5785
@deepsavani5785 8 жыл бұрын
can you help me make a speedometer display using tft and arduino??
@annibot5124
@annibot5124 4 жыл бұрын
My screen is just blank. pls tell what to do.
@ningarkumar389
@ningarkumar389 7 жыл бұрын
sir how to use like button for lamps
@onesteffen
@onesteffen Жыл бұрын
how can i use the display with a arduino micro?
@yacovcohen3913
@yacovcohen3913 6 жыл бұрын
How can we disable the display to save electricity ?
@alejandrofernandez-bo3fy
@alejandrofernandez-bo3fy 2 жыл бұрын
I would like to know how I make buttons with images. I mean, a button that is an image. I would also like to know how I make a slider
@payaldas5597
@payaldas5597 6 жыл бұрын
Can we use the same code for 2.4'tft lcd to get the same output....plz rly sir
@wlasov
@wlasov 5 жыл бұрын
I think 2.4 is the same shit)
@tokyoposted
@tokyoposted 7 жыл бұрын
I only get a white screen when putting in code, why is this?
@DPVTECHNOLOGY
@DPVTECHNOLOGY 7 жыл бұрын
It is due to the unknown driver. first, you have to find out the unknown driver.Then you will be able to solve it.If you give me your email address, I can send an absolutely free link to solve this problem.
@adriaud4884
@adriaud4884 6 жыл бұрын
You lunch the graphictest in EXEMPLE and take the value of your driver like ILI9341 you set tft.begin(0x9341)
@elvi7549
@elvi7549 6 жыл бұрын
hi i have only a white screen but im unable to find out where or what is the unknown driver
@julioverne3825
@julioverne3825 6 жыл бұрын
I solved this issue with Lawrence Menten answer (change line 46 to tft.begin(0x9341), or the code of your controller).
@AbdolazimHasseli
@AbdolazimHasseli 5 жыл бұрын
I get compiler error when compiling your codes for my Arduino Mega2560 device...
@Reemabby94
@Reemabby94 5 жыл бұрын
Fix to the code issue: The 1.5.4 release of the Adafruit_GFX broke compatibility with the Adafruit_TFTLCD library. You'll need to roll back to Adafruit_GFX 1.5.3: Sketch > Include Library > Manage Libraries Wait for the download to finish In the "Filter your search..." box, type "adafruit_gfx". Press Enter. From the search results, click on "Adafruit GFX Library by Adafruit". From the dropdown version menu, select 1.5.3. Click the "Install" button. Wait for the installation to finish. Click the "Close" button. After that, the sketch should compile. If you have updatable library notifications enabled in the Arduino IDE, it will occasionally prompt you to update your Adafruit_GFX library to the new version. You will need to refrain from doing so, otherwise, you'll be back to the same compilation error again when you use the Adafruit_TFTLCD library.
@halfdanlegarth
@halfdanlegarth 7 жыл бұрын
Display works with all arduinos????
@alexhuang1645
@alexhuang1645 6 жыл бұрын
no
@josemoreira1012
@josemoreira1012 5 жыл бұрын
i run all the examples and keeps saying error why?
@acmgj8536
@acmgj8536 7 жыл бұрын
nice video sir but speech is very quick ... amazing video ... i m new and want to make projects by using arduino .. uno ..
@nitlendghar
@nitlendghar 6 жыл бұрын
Helloo sir, im trying to learn touch screen photo frame based on arduino forward reverse pause. As like audio video player. Pls
@ivanvictor457
@ivanvictor457 7 жыл бұрын
Good night, my display doesn't work right, the screen is white and some dots.. you know what's happing?
@DPVTECHNOLOGY
@DPVTECHNOLOGY 7 жыл бұрын
It may be due to the unknown driver. first, you have to find out the unknown driver.Then you will be able to solve it.
@guidovlaere
@guidovlaere 8 жыл бұрын
Thanks a lot! This is a really good tutorial...! It is really very helpful! It would be nice to make a screen with several buttons what you can use for example as a light switch. Maybe it is an idea for next tutorials? I will check all other tutorials from you! Again, thank you very much!!!
@jeanfrancoishoussou6293
@jeanfrancoishoussou6293 7 жыл бұрын
hello nick.Nice to meet you. sorry for my bad English .I am trying to resolve my white screen problem. I have try all library whithout solution. now i think that it's about my register and i upload LCD_ID redreg library to show a different values of my registers and i found this:Unknow LCD driver C0C0. i am using a 2.4 TFT SPI 240x320 whith arduino uno. I need help.
@goned216
@goned216 6 жыл бұрын
Can you teach us how to make a simple OS with clock. calculator and that stuff with just An arduino R3, Ethernet Shield and this LCD TFT Touchscreen Please? Very Very Please?
The BEST Mechanical Display You've EVER Seen!!!
13:51
Tin Foil Hat
Рет қаралды 536 М.
$1 vs $500,000 Plane Ticket!
12:20
MrBeast
Рет қаралды 122 МЛН
I'VE MADE A CUTE FLYING LOLLIPOP FOR MY KID #SHORTS
0:48
A Plus School
Рет қаралды 20 МЛН
GIANT Gummy Worm #shorts
0:42
Mr DegrEE
Рет қаралды 152 МЛН
I put ChatGPT on a Robot and let it explore the world
15:24
Nikodem Bartnik
Рет қаралды 1,2 МЛН
Уроки Ардуино. ПИД регулятор
28:57
Заметки Ардуинщика
Рет қаралды 487 М.
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
Arduino Touchscreen Display - Using a Resistive Touchscreen
38:51
DroneBot Workshop
Рет қаралды 416 М.
Arduino Touch Screen TFT LCD Tutorial
9:10
Maker 101
Рет қаралды 263 М.
$1 vs $500,000 Plane Ticket!
12:20
MrBeast
Рет қаралды 122 МЛН