LilyGo T-Display TOUCH- free examples
Vložit
- čas přidán 20. 08. 2024
- I finally got a LILYgo t-display with a touch display. I usually prefer push buttons , but i need to admit this is also cool and it can be used in many
projects.In this video i will help you to use this board, i will share with you my examples.
You can check T-Display Boards here: www.lilygo.cc/...
Here are my examples: github.com/Vol...
If you want to support my work you can buy me coffee/beer here:
ko-fi.com/volo...
#Arduino , #ESP32, #TDisplayS3, #LilyGo
Excellent work!
LILYgo should hire you to create the official examples for their products!
You create beautiful demonstration projects and you understand what people are looking for to use these products. Thank you!
They are already using his examples on their website.
I agree to this %100. This man is brilliant and a genius!
Tnx man. Maybe they will one day.
Hello. I am writing you this message with translate. I follow your youtube channel. I bought a t-display s3 touch version card. I want a little help. I have not started displaying images on the screen of this card. Which library should I use with a video from you? What settings should I make? If you just show a test code for the screen. I would be grateful to you. Please .one text and one color on the screen of this card. How can I do it exactly? Make a video. Help me please.
You have been my main instructor for getting these products to work for my cyber themed "laptop"
i hope you will share wit us your laptop :)
I've been getting into micro-controllers for the last month or two. This has been my main learning board. Just yesterday I decided to get touch working. You saved me a bunch of time going through the examples when all I need is basic X/Y data. Thanks!
Great, i ma glad i helped :)
Just got my boards in the mail last night. Will try these out this weekend. Thanks for documenting all your awesome projects.
Supernice interface! I ordered one of these for an incoming project & I'll use this project as a reference. As allways, thanks for your job.
I would like to see you testing LVGL & Squareline studio. I think could be also interesting. I'm personally starting too.
please share your projects! Cheers!
Excellent example and a useful board that opens up more possibilities for more projects.
yes, now wee need more ideas :)
Always find your videos to be great.
I really enjoy your work. Keep it coming!
Tnx Malachi! i will.
I think I have to stop watching your videos because I will spend too much money on all of these beautiful dev boards! 😂😅
Hahah, i need to stop using internet for same reason :)
@@VolosProjects No, keep them coming!
I just found your channel and really enjoy your videos. A cool project for this device would be to put the graphics of a wall switch on the touchscreen and have it control devices via MQTT. It is just about the right size to fit the wall switch plates here in the US. I have one of these coming and plan on doing this project. I'm a newbie to this kinda board, so I'll see what I can do. I look forward to seeing more of your videos.
..brilliant, touch display will fit perfectly with your cool visual interfaces, thank you
I would really appreciate if you could do more videos of projects with the touch version of the T-DISPLAY-S3 boards.❤
Fantastic as always, very many thanks for this. I’m waiting for mine to arrive.
Great work as always!
Thank you so much for all your pilot work. I fully agree, we need more examples for touch! And Lilygo need better comments in their code. Anyhow, thanks for sharing your code. I learn a lot from you. Right now Im designing a 3d case in fusion360 for touch. Will share it too
Yes beautifull, I'll print it for sure
@@hansformation you can search in thingiverse for it now
Thanks for your various examples for this board. Got me going, recently made a Bluetooth MIDI pad out of this device (vid on my channel).
Thank you for all the inspiration! 🎉
Good work and canal! Thank you for doing something useful for everyone in this life.
Thank you Ajdar
Awesome! Thanks for posting this!!!!!!
Tnx Al.
Nice! I got that touch version of the S3 as well and flashed the sketch you made for the non touch that displays the Calendar, internet time and calculator on the left of screen. Works well except I don't have the small breadboard with extra buttons to use the calculator. I have it right next to my PC displaying time 24/7 with wifi connection. I wish you could make one for this touch with weather, time and date. Glad you are doing well and back producing videos. Stay safe and blessings. P.S. I found the battery to go with my devices on Amazon for a very cheap price and small form factor. If anyone needs a battery size to fit it like the one I found let me know and will direct you to it on Amazon...
Thank you Johnny, yes it is hard to find time for making videos. I hope you are doing fine. What you are using to charge battery?
@@VolosProjects To charge the battery I am charging it using the Esp32 usb and a power brick I use to charge my phones, etc.
Thank you fir explanation. Nice board, nice channel
Your videos are amazing ! Are you planning to do a vid on the s3 pro with the phone module!?
They look awesome 😳🖖🤗
That would make a nice watch, I wish they would be for the amazfit gts 2 watch(but not so expensive) like but with this 1.9in display 😳 🤗
It didn't work for me =/
Touch test nothing appeared on the screen.
TouchNumbers and TouchCalc generate compilation errors
Great project! Respect! Unfortunately, I can't get the TFT_eSPI and Touch.h libraries loaded into PlatformIO. Maybe someone has a tip for me?
very nice!
piva večeras?
Estoy intentando hacer lo mismo con el T-Display Amoled Touch y no puedo encender la pantalla RM67162. Sólo Micropython. ¿Alguien puede darme una luz?
I testet also one of this displays. But there some Problems. There is no way to fix this in front of a case. And there are to less Pins are left for your build. A good Board and Display, but useless.
Hello everyone,
I have a Lilygo T-Display-S3 CAP.Touch version.
I like and love everything but what I don't understand is how do you get the touchscreen working.I see all the boxes open board out connect to the usb-c sketch open and....... everything works. Did a lot of reading and modified the User_Setup.h from the TFT_eSPI and then the display works. MY PROBLEM is what and where do I adjust rules for the TOUCH Display. Who has a solution for this. kind regards from the Netherlands.
Henk
can you make one that can read temperature and humidity with DHT22 sensor?
I've been eyeballing that board for the last few months.
Now is the time to strat playing with it.
Hi! What would you recommend for this idea
I want to make an inclinometer (roll and tilt detection) for a camera, the data should be shown in a display at distance in the range of 0.5 - 2 meters, from a lot of reading I found out that a wired sensor at that distance could work but it's no ideal so I thought that maybe I'll need a wireless solution, there is a 2.4 Ghz module that seems could do the job, so I'll need 2 MCUs and 2 wireless modules, with this requirements: the one attached to the camera should weigh as little as possible and the one the display should have a proper way of using it disconnected from a power supply (with a nice way of recharging it).
so I came up with this: a raspberry pi pico(for it's price) connected to the gyro/accel sensor and the wireless module using a power supply from a battery (I'll use a V mount battery that have a usb connector) that combo would be attached to the camera. Then with me I'll have the some product from lilyGo with a display (probably the one that also has a battery slot and a charger circuit because I'll probably be using it attached to a monitor and a powerbank supply is too big) connected to the other wireless module so it could communicate my other device. I'm going with a lilygo here because i'll could use it for other things so spending more money here it's fine, the other MCU (the pico) will be used only for the inclinometer porpoise. Maybe you have recomendations for the MCUs and modules that I could check? I'm really a noob at this, I have experience with Python so I'll probably to with microPython but I think I could learn the basics from arduino IDE and make something useful. thanks in advance!
Hi Volos! Lilygo T Track !
great video. Wish I could try it out but I always get "(14) gpio: gpio_set_level(226): GPIO output gpio_num error" on my T-Display and it remains dark/black.
Hi Volos, I love your examples. They are very easy to understand and let you make very interesting projects. I'm working with my t-display s3 touch too and I'm loving it. I saw that in your examples you are not using the serial monitor and I'm not able to make it work. Is it a common issue? Do you have any suggestions? Thanks and have a nice day 😁
In case someone is having this issue too, i found the solution here: community.platformio.org/t/cannot-view-the-serial-monitor-on-vs-code-platformio-with-board-esp32-s3/29747/5
In short, i had to add in my project's platformio.ini file those lines:
build_flags =
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
touchMinimal won't build for me - I get errors about TOUCH_CS not being defined :(
where can i get schematic for this product? Its not available on github or lilygo?
Hello, is it possible to play videos of 15 seconds? Thanks, good work
Is it necessary to use x,y data to determine touch position, or is there a method like touch.sprite to detect if particular sprites are touched?
I am afraid it is, but you can implement function like that by yourself.
Are any of the lilygo products suitable for running stepper motors?
I really like the design but I can´t find a pwm output on any boards!?
Thank you for this demo. It is very easy to understand!
Can you provide idea about pin configurations?
I use Wire for I2C Port Expanders on SDA 43, CLK 44 with Interrupt on PIN 16.
I also have LED strip on PIN 21. And I have a button on PIN 18.
I hope to add Buzzer on PIN 17. So I made PCB to do this and it works great.
But now I want to add Touch Display after seeing your video!
But... I think I do not have enough PINs.
I can define PIN_TOUCH_INT on 4 and PIN_TOUCH_RES on 0.
But I would like to use PIN 18 for button (it is already traced on my PCB).
I tried to use PIN_IIC_SCL and PIN_IIC_SDA as 44 and 43 for TOUCH, but I was not successful.
Do you have a recommendation?
Thank you.
I dont understand you, touch display is builtin on this version, you cant add it, and you dont need additional pins for it
@@VolosProjects Sorry for my confusing comment. I was using non-touch version before and made PCB with I2C for pins 43,44. PCB also uses Pin 21 to control LED strip and Pin 18 for a button. I did not know about Touch version when I made the PCB.
But I would like to use it instead of non-touch version.
So I think I must now make new PCB with all I2C devices using Pins 17,18. Because with Touch version only Pins 43,44 are available for my LED strip and button. Is my thinking correct?
@@BlaineL now i see what you are talking, yes it seems tha touch screen is using pins 18 and 21, you are right, you will probably need to design new pcb
nice
I get TouchLib.h errors when I try your examples. where would I get the libraries from please
in git rep of this board
@@VolosProjects yes,I got it thanks
Where do I find the library pin_config.h ?
this is not library, this is header file , you can find it in code i posted in description, all files need to be in same folder. Your IDE probably made folder for your .ino file and now it can reach .h files
Why doesn't my touch screen respond? At 3:40, the "touchMinimal" code works for your Touch Display, but mine does not work. The green and yellow switches appear, but do not respond to touch. And Yes, I DO have the touch screen version. The LilyGo "touch_test" works on my Touch Display, but none of the 3 examples shown here do. Any ideas why?
Ir seems that there are two diferent versions of same board, compare first part of factory code with my code and you will probably find what you need to change
@@VolosProjects YES! That was it. Thank you!
Shared on my Twitter to friends (looks like you do not have Twitter presence? Please let me know, if you do, Thanks)
Thank you for share, you are right , i dont have twiter.. is twiter good for sharing thease kind of content
@@VolosProjects While Elon Musk (he bought Twitter) has been a disaster for Twitter, is still works, thank God :D
In my eyes, Twitter is "de facto" place for all kinds of creatives - artists, musicians, game developers, 3D artists, DIY makers, etc, etc.
How Yall got this to work?? I've been tryin ever since volos released this vid. Tried on 3 computers with 2 T-Display S3's been copying libraries for days now I just don't get it... All the while i'm messing up my T-Dongle S3 and my non touch T-displays with malfunctioning libs at the same time.... this shit's f*ed. Started fresh with a new computer, that failed completely. I have no idea what to do anymore... Finally got my T-dongle and non touch t-display back working but now I don't dare to mess with anything anymore. Can you pls describe how you set you IDE up for these little bstrds? Just whish I would understand what I'm doing aaaarggghhhhh
czcams.com/video/gpyeMjM9cOU/video.html just fallow this, and make sure that you have only one tft_espi (from t-display s3 github repo ) library in libraries folder, when you use another board you will need another versiin of tft_espi library
@@VolosProjects Ah ok.. Yeah figured it had to be something to do with those libs. Kinda weird you need different versions of the same libs for different lilygo stuff. Well I mean I shouldn't complain about that given the fact they have such cool devices for that money. It's just a little confusing from time to time. O.k. so just uploaded the TouchNumbers sketch. Screen works but now the same issue as before: No touchy touchy :/ I copied all libs (incl. the touchlib folder) from the T-Display-S3-main.zip file to the Libraries folder (that resolved the screen issue, however not the touch). I have this with all 3 examples: Touch doesn't work on both my boards... Already tried updating or installing the touchlib lib but to no avail... Think it's so weird you got this going without issues and I just run into issue after issue... If i manually add the touchlib with "include library" compiling fails with error it has no name for touchlib, and if I meant TouchLib_h. So do I need a touchlib from another source or something... I mean this library stuff is getting a bit weird....
I have installed your touchMininal code onto my Touch T-display which needs the "#define TOUCH_MODULES_CST_MUTUAL" command, but the switches are switching randomly even without me touching the display. It appears to be a CTS328 board. Do I have a defective touch screen? I have two of these modules and both do the same thing.
I dont know, is factory code working?
@@VolosProjects The factory code is showing the same thing. Random green text showing up saying that I touched the display while I did not. Looks likes both of the modules I ordered have this defect. I have contacted LilyGo. Let's see if they will sent replacements.
hmm free pins hope not just fly in air? i hear its most time for error problem , sorry bad englisch
why have so many here problems !?¿
Greetings,
I'm trying to load this up and am having issues you might be able to help with. When I try and compile, I get
error: 'TouchLib' does not name a type; did you mean 'TouchLib_h'?
TouchLib touch(Wire, PIN_IIC_SDA, PIN_IIC_SCL, CTS820_SLAVE_ADDRESS, PIN_TOUCH_RES);
It's not happy with the constructor "TouchLib touch", though the compiler seems to have found the header file OK. I'm not sure what's going on. I got the TouchLib.h header file off GitHub and placed in local directory as I assume you did (with #include "TouchLib.h"). Any ideas?
Does this example still work? Copied the code to my Platformio and it doesn't even compile. Can't find any touch library, issues a lot of missing definitions in TFT_eSPI.cpp and such. Libraries have got quite a few updates since your video and code was released? But I also miss the platformio.ini file in many of your projects.