How to Install and Setup TTGO T-Display ( Getting Started tutorial)

  Рет қаралды 68,529

Volos Projects

Volos Projects

Күн бұрын

Пікірлер: 152
@patufetselaer3651
@patufetselaer3651 Жыл бұрын
With W11, I repeat the same error: In file included from C:\Program Files (x86)\Arduino\1_mode_\TTGOAlienAttack-main\TTGOAlienAttack-main\TTGOAlienAttack\TTGOAlienAttack.ino:5:0: enemy.h:1:1: error: stray '\357' in program int frames=4; The enemy.h file is in "UTF-8 BOM" encoding, with the notebook open it and save it in "UTF-8" and it works perfectly. It is not necessary to delete blank lines. Now works fine , thank you !!
@rpecas
@rpecas Жыл бұрын
Thank you. This made it work in my case.
@dirkgiglot912
@dirkgiglot912 Жыл бұрын
Thank you. This should be on top or OP should change his code.
@kanekizlf
@kanekizlf 7 ай бұрын
Perfect, para os BR, pega o arquivo enemy.h abre com o bloco de notas ai vai em salvar como, na parte abaixo do nome, mude o formato para UTF-8, por padrao vai esta UFT-8 BOM
@rc0d3
@rc0d3 3 ай бұрын
If problem with ledcSetup in setup, change "ledcSetup(pwmLedChannelTFT, pwmFreq, pwmResolution); ledcAttachPin(TFT_BL, pwmLedChannelTFT);" to "ledcAttachChannel(TFT_BL, pwmFreq, pwmResolution, pwmLedChannelTFT);"
@RicardoPenders
@RicardoPenders Жыл бұрын
I finally got the TTGO T-Display board so now I can start learning how to code using your tutorials, you're the best developer online that I know of, keep up the good work.
@VolosProjects
@VolosProjects Жыл бұрын
tnx Ricardo, feel free to ask if you stuck
@RicardoPenders
@RicardoPenders Жыл бұрын
@@VolosProjects yeah I got stuck with an error when I'm compiling the code: Compilation error: stray '\357' in program It's in the ani.h file on line 1 I don't know what to do about it so I could use some help
@RicardoPenders
@RicardoPenders Жыл бұрын
@@VolosProjects Never mind, I got the issue solved already. The ani.h file has the wrong encoding, now it is encoded with UTF-8-BOM and it needs to be UTF-8, with Notepad++ I got it saved as UTF-8 and the issue went away.
@martinomara8879
@martinomara8879 Жыл бұрын
Thanks for this tutorial. I got it working on my T-Display. I went back and edited your code so that, when a score equal to or greater than 100 is achieved, pin 2 on the board will go HIGH. Maybe I'll have that trigger a dispenser so players can get a reward for a game well played.
@stevenrogersfineart4224
@stevenrogersfineart4224 2 жыл бұрын
Thank you sir !! I've been banging my head against a wall with all the garbage from piecing info together. This gave me the dangling carrot of hope I needed to keep tinkering with it :)
@VolosProjects
@VolosProjects 2 жыл бұрын
tnx for comment, i am glad i helped :)
@ravenaboutireland8688
@ravenaboutireland8688 9 ай бұрын
Brilliant tutorial! I doubt if I would have got the board working without your guidance. Thanks a million!!!
@VincentVeak
@VincentVeak 2 жыл бұрын
Dude you are a LEGEND! Thank you for properly explaining this and getting many people (including myself) into this hobby!
@jasonkoo2165
@jasonkoo2165 5 ай бұрын
Great video - these instructions still continue to work even on a Mac running Arduino IDE 2.3.2. Just be sure Tools> Upload Speed is set to 115200 or you'll get a "Unable to verify flash chip connection" error.
@posplayr
@posplayr 3 жыл бұрын
The most complete explanation I have seen. Thanks, I'm up and running!
@garymcgillivray6217
@garymcgillivray6217 3 жыл бұрын
Thanks for this - finally got my TTGO up and running - cheers
@maximilianth
@maximilianth 3 жыл бұрын
Thanks for the explanation! It works fine! Please do make more games for the TTGO Board!
@nageshwarrao8629
@nageshwarrao8629 3 жыл бұрын
yes atleast 100
@RicardoPenders
@RicardoPenders 2 жыл бұрын
Hey man, I'm going to have to wait a bit longer to get the new board you covered in another video so I was looking at this video list of the older board and I find them very interesting and useful to get me started with this board as well so I'm gonna buy this board also and use your link to make sure you'll get the commission. It's the least I can do to support you doing this great work spreading the information. Have a great day.
@msreid0
@msreid0 2 жыл бұрын
Very clear and helpful. Got me up and running with this very neat board
@VolosProjects
@VolosProjects 2 жыл бұрын
Tnx, nice to hear that😀
@Dasol0246
@Dasol0246 3 жыл бұрын
Thank you for making the tutorial on how to change the TFT_eSPI code, works great. I was wondering on the .h files are those converted jpeg files for example the background of the game
@mrobarton7192
@mrobarton7192 3 жыл бұрын
Why did you not pick the "TT GO T1" board?
@ashuntu2010
@ashuntu2010 Жыл бұрын
Thanks for very nice explanation and making a great video. May I ask if you could let me know how to connect NodeMCU ESP8266 V3 with 3.5 inch TFT touchless display having ILI9488 driver? I want to use TFT_eSPI library for it. I tried many configurations but was unsuccessful. Can you please let me know the wire connections and if any changes required in the TFT_eSPI codes? Thank you very much for your help in advance.
@jasontemlett
@jasontemlett 3 жыл бұрын
Thanks for so carefully and clearly explaining the process. It really has helped and is appreciated
@jakecorbin1998
@jakecorbin1998 3 жыл бұрын
Nice work! How do you create the .h files that contain the graphics? I am also making a program and I am confused about how to generate the files.
@FunAnimals101
@FunAnimals101 8 ай бұрын
thankyou so much i at first lost hope with this but your tut was amazing
@Darth_Mittens
@Darth_Mittens 3 жыл бұрын
Great tutorial! Thanks for this. I managed to setup and upload everything, no errors with the weather app, but I am stuck on connecting to wifi. It just says "connecting to *network ID* ......" and endless dots. Is it possible it has issues with "WPA2 personal"?
@jenswiberg6993
@jenswiberg6993 3 ай бұрын
If you get error having to do with divers not included: add: #include
@VolosProjects
@VolosProjects 3 ай бұрын
probably verision of esp32, try downgrade it to version lower than 3.0
@Haulakulara
@Haulakulara 2 жыл бұрын
hello, is there any base station 32 pin for this esp32 ttgo t-display module?
@edwardsolomonkwekugyimah4340
@edwardsolomonkwekugyimah4340 3 жыл бұрын
Could you kindly make a video on how to change between backgrounds (changing font colours as well)? Love your videos. All works for me
@TheManudulux
@TheManudulux 3 жыл бұрын
I am so happy I found your channel. Great videos. Great explanations. Thanks so much for sharing!
@VolosProjects
@VolosProjects 3 жыл бұрын
Thank you
@davide5553
@davide5553 2 жыл бұрын
great video. One question, why I can't see the USB port but only bluetooth? I'm on mac, maybe I need some drivers? thanks
@parranoic
@parranoic 2 жыл бұрын
Thank you so much, this is exactly what I needed to get going with this new board
@albanprada7183
@albanprada7183 Жыл бұрын
Thanks a lot. You made it in 2020 and this module, and info, is new for me! - Greetings from Colombia. I will buy some modules and test your code! - Maybe you will help me in some lines for one personal project.
@lorigallion2091
@lorigallion2091 Жыл бұрын
Bought my first TTGO T-display recently and followed this tutorial. I was able to get the example print test file to work but when I tried to upload your game file, I got an error and now the board seems to be unresponsive. When I connect it to the computer, the blue light flashes rapidly and I can't seem to do anything. Is there a way to reset it back to factory settings?
@olek8267
@olek8267 3 жыл бұрын
Thanks for detail instruction. In Ubuntu 20.10, I had error when try compile TFT_eSPI example - "import serial ImportError: No module named serial". Error was solved command in console - "sudo apt install python-is-python3"
@nageshwarrao8629
@nageshwarrao8629 3 жыл бұрын
this is awesome and has rich colours in it,i would have bought it if there are 100+ games,my bad luck.
@dvdowns
@dvdowns Ай бұрын
Thank you, this really helped.
@alhdlakhfdqw
@alhdlakhfdqw 2 жыл бұрын
thank you very much for your great tutorail very easy to understand! :)
@electronic7979
@electronic7979 3 жыл бұрын
👍
@alanm7186
@alanm7186 3 жыл бұрын
Works great! Love the games you make. Great learning tool also!
@laz305
@laz305 6 ай бұрын
6:45 how do i find out which line is my board that I need to comment out?
@laz305
@laz305 6 ай бұрын
Can you tell me what code I need to add to my ino to add an image?
@richpeacock
@richpeacock 9 ай бұрын
Yahoo! it works finally. Thanks
@henkdesain7741
@henkdesain7741 Жыл бұрын
can you tell me which buttons to use to get the TTGO into Upload mode.
@Doyle69
@Doyle69 6 ай бұрын
Will this work for ESP32-S3-Geek?
@forevervideo6926
@forevervideo6926 4 ай бұрын
In file included from C:\Users\Michael\OneDrive\Documents\Arduino\libraries\TFT_eSPI\TFT_eSPI.cpp:24: Do you have this error.
@walterhynson2898
@walterhynson2898 Жыл бұрын
Thanks and please wish me good luck with my lillygo T4 HMI.
@VolosProjects
@VolosProjects Жыл бұрын
Good luck :) I need to try that board.
@patrickethridge
@patrickethridge Жыл бұрын
This helped immensely, thanks!
@johnmvsantos
@johnmvsantos 2 жыл бұрын
@Volos Projects I keep getting the error: "A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header" Any ideas on how to resolve this?
@jimsnodgrass8454
@jimsnodgrass8454 Жыл бұрын
Wow, truly impressive and useful content. Thank you, I love watching your great videos and can't wait to get properly setup.. but after following the tutorial steps with no problem until approximately time : 9:20 or so.., successfully installing and running the example demos on my TTGO Display board, .. I tried to verify/compile your attack game and sadly am getting errors as it cant seem to find these library files: #include #include #include "back.h" #include "player.h" #include "enemy.h" #include "ani.h" #include "gameover.h" could it be because my IDE is the 2.0.4 version .. or perhaps it's because the sketch is still located in folder I added onto my Win 11 desktop as indicated in this video? .. and now it can't find the .h files there? I will try again but will use the IDE 1.8.x you are using in the video instead. Thanks Again.. jimS
@VolosProjects
@VolosProjects Жыл бұрын
No, it is simple.. you downloaded my code and thease files was also in folder, but your ide made new folder for .ini file, you just need put all files in same folder.. i hope i explained it right, just check downloaded files and put all files in same folder where .ini file is
@jimsnodgrass8454
@jimsnodgrass8454 Жыл бұрын
@@VolosProjects 😁 Yes, your cool Arcade game is now working ! I simply made a copy of its .h files that unzipped to a folder in my desktop and placed these into the C:\Users\jimxxx\Documents\Arduino\libraries\TFT_eSPI folder where I think my IDE 2.0.4 is looking for such library type files. I'm not sure that was the best way to do it but can't argue with success.. Thank you Again for such a clear and insightful guideline..
@salvador.h
@salvador.h 2 жыл бұрын
Thanks, you are great and your contents are very cool, have a nice day. Gracias, es muy grato escucharte y tus contenidos son geniales, buen día
@LesFPinter
@LesFPinter 2 жыл бұрын
Do you ever sleep? So many projects... Quick question: Starting last week, when I upload a sketch, it fries my TTGO LoRa32-OLED V1. I've fried three of them in 3 days. Any suggestions? Thanks in advance!
@VolosProjects
@VolosProjects 2 жыл бұрын
how do you know that is fried?
@LesFPinter
@LesFPinter 2 жыл бұрын
@@VolosProjects False alarm! I just need to plug in the USB cable before I boot my computer. I'm very relieved. Thank you for answering me! Your videos are excellent, as is your command of English. Are you Polish? Ukrainian? I've been studying Russian for years, and I can still just barely communicate. (I also speak Spanish, Portuguese and French about 9 out of 10.) You do have a foreign accent, but your code is crystal clear, thank you! BTW, I'm the guy who sold the Magic Wand, which was used as the basis for Word, to a 24-year-old Bill Gates in Houston, Texas in 1980 - for almost nothing. What an idiot I was!
@VolosProjects
@VolosProjects 2 жыл бұрын
@@LesFPinter Thank you for nice comments. I am from Croatia and you are right we have similar accent as Russian or Ukrainian people. I live and work in Croatia and i sleep very little, i wake up in 5 , i dont know why but i cant sleep so i have time for my hobby.....It is nice to meet father of Word, I think Bil Gates and Steve were good in buying stuff :) But you still have your crativity :)
@LesFPinter
@LesFPinter 2 жыл бұрын
@@VolosProjects I posted a question about problems I had setting up my Arduino IDE for the ESP32 S3 T-Display, but I don't remember where. Can you point me in the right direction? I get the python error messages...
@VolosProjects
@VolosProjects 2 жыл бұрын
@@LesFPinter did you fallow my instruction video for instaling t-display s3, you can try reinstall or instal python if you dont have it installed on your pc. What Arduino IDE you are using. Are on MAC on on WIN?
@javierortizmir7873
@javierortizmir7873 Жыл бұрын
hey man! your channel is very intereseting. I just bought a LILYGO and I cannot connect to it. I have tried to do everything, I followed your example, but in my screen the option for the PORT is not enabled, I cannot click it
@VolosProjects
@VolosProjects Жыл бұрын
you probably need to install driver for usb chip, you can find it on product pages. if you have win 10 it shoud recognize driver automaticly
@javierortizmir7873
@javierortizmir7873 Жыл бұрын
@@VolosProjects I have tried in two different WIN10 PC´s, also in fedora and Pop OS
@LevyCarneiro
@LevyCarneiro 2 жыл бұрын
Do you have a recommendation for which model to choose? CH304K 4MB CH9102F 16MB CP2104 4MB Thanks!
@VolosProjects
@VolosProjects 2 жыл бұрын
Any will be fine, i always use 4mb models so all my sketches work on 4mb
@LevyCarneiro
@LevyCarneiro 2 жыл бұрын
@@VolosProjects Amazing, thanks very much for your reply! And thanks for the channel!
@Parahooners
@Parahooners 3 жыл бұрын
This is great, thanks for taking the time to share
@amitbt69
@amitbt69 2 жыл бұрын
Very well explained! thank you.
@alexobaya4550
@alexobaya4550 2 жыл бұрын
NICE video man!! So gratefull!!
@DigiRabit
@DigiRabit 9 ай бұрын
Very nice and simple intro to this board. However, sadly, I can not get it to work on two boards. I followed your directions carefully and it loads with no errors but the screen(s) are blank. Please help if you can. RP
@VolosProjects
@VolosProjects 9 ай бұрын
So you instaled esp32 board,edited two files in library, saved , chosed ttgo oled board in arduino ide and uploaded and screen is still black? Are you sure you have this board?
@paulherman6968
@paulherman6968 6 ай бұрын
If you get this error: enemy.h:1:1: error: stray '\357' in program int frames=4; To fix: Load enemy.h file into Notepad ++ and switch encoding to UTF-8.
@watwsplace8614
@watwsplace8614 10 ай бұрын
Hi is it possible to add an SPI device to this device (TTGO). It does not appear the the SPI buss is available. I would like to retrieve data from a SPI slave and display it on the screen. Thank you for your time. W
@VolosProjects
@VolosProjects 10 ай бұрын
It is posible, but it is tricky becouse spi but is already used by screen, you will need to use vspi for screen and hspi for device forexample
@TT-it9gg
@TT-it9gg 3 жыл бұрын
Really fun! Thank you~
@claessjoblom9910
@claessjoblom9910 3 жыл бұрын
Thanks very much it works.
@mohamedfarid7499
@mohamedfarid7499 2 жыл бұрын
Thanks a lot
@MuhammadArshad-ed4ef
@MuhammadArshad-ed4ef 5 ай бұрын
You are legend happy to buy you coffee
@VolosProjects
@VolosProjects 5 ай бұрын
Tnx my friend :)
@DudulleMaster
@DudulleMaster 3 жыл бұрын
thanks a lot for this tutorial
@suhailraq
@suhailraq Жыл бұрын
In device manager it show exclamtion mark in usb
@NicholasRadina
@NicholasRadina Жыл бұрын
Thank you!!
@buraksonmez1761
@buraksonmez1761 Жыл бұрын
I am getting this error while using my ttgo why is that happening could you please help me about it? "Sketch uses 18280 bytes (59%) of program storage space. Maximum is 30720 bytes. Global variables use 1882 bytes (91%) of dynamic memory, leaving 166 bytes for local variables. Maximum is 2048 byte"
@VolosProjects
@VolosProjects Жыл бұрын
did you select correct board in board manager, you need to select TTGO Lora32 OLED
@buraksonmez1761
@buraksonmez1761 Жыл бұрын
@@VolosProjects yes i did but still same :( I am working with a sensor and I want to see some datas in the serial monitor but its empty there. Is it possible to see the datas on the serial monitor while using this board?
@HaikuGuy
@HaikuGuy Жыл бұрын
THANKS!
@speedy_x5491
@speedy_x5491 2 жыл бұрын
Hello, I can't get other ports on my computer I need help!
@ytubeleo
@ytubeleo 2 жыл бұрын
I get the following errors when I try to upload it: In file included from C:\Downloads\TTGOAlienAttack-main\TTGOAlienAttack\TTGOAlienAttack.ino:5:0: enemy.h:1:1: error: stray '\357' in program int frames=4; ^ enemy.h:1:1: error: stray '\273' in program enemy.h:1:1: error: stray '\277' in program exit status 1 stray '\357' in program I googled this and apparently this one .h file contains the UTF-8 Byte Oder Marker. I was able to resolve the problem by putting the cursor at the start of the firs line and pressing backspace to delete the illegal characters. The other .h files seem to be fine. I'm using Windows 10. I downloaded them as a zip file from Github as you did in the video.
@VolosProjects
@VolosProjects 2 жыл бұрын
Try to delete empty lines in .h file, this is error that came with new versions of IDE
@ytubeleo
@ytubeleo 2 жыл бұрын
@@VolosProjects Interesting. It's curious that only the enemies.h file is affected. As I said, I got it working by (presumably) deleting the invisible characters at the start. Any idea why only enemies.h was affected?
@toddroles3234
@toddroles3234 2 жыл бұрын
@@VolosProjects same thing happened to me, and I can confirm that deleting all the blank spaces in the enemy.h file worked and it compiled correctly after that. Thank you to Volos and Ytubeleo
@paulosousa00
@paulosousa00 3 жыл бұрын
congratulations on your vlog. I have a problem, I can't get the ttgo card to be detected by my Windows 10. Cás you hep me
@paulosousa00
@paulosousa00 3 жыл бұрын
problem solved. damaged usb cable. :-)
@suhailraq
@suhailraq Жыл бұрын
I tried it so much bt there a prob ,usb didnt recognise esp means nothing show any com port
@VolosProjects
@VolosProjects Жыл бұрын
you will need to install driver, go on liliy go site, on product page of t-display and fallow instructions there
@noelmoralde6242
@noelmoralde6242 3 жыл бұрын
Problem: Connecting........_____....._____....._____....._____....._____....._____....._____ A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header Solution: Before pressing Upload, hold down EN button (the button to the left of the USB) and only release once "Connecting..." shows up
@carlgray4160
@carlgray4160 3 жыл бұрын
Hi When i Compile it i get TFT_BL was not declared in this scope
@VolosProjects
@VolosProjects 3 жыл бұрын
Check your libraries, are they updated
@tribycell
@tribycell Жыл бұрын
how flash original firmware ?
@codesyncr
@codesyncr 3 жыл бұрын
Awesome love from india 💗
@jeremydickenson8059
@jeremydickenson8059 3 жыл бұрын
Can you teach me how you do this I can't figure it out
@mystamo
@mystamo 2 жыл бұрын
Not sure why but in 2021 this is not working with these libraries and arduino 1.8 Spent a lot of time trying to get it to compile.
@VolosProjects
@VolosProjects 2 жыл бұрын
What eror your are getting?
@mystamo
@mystamo 2 жыл бұрын
Thanks kindly for the reply. I actually managed to just get it to compile by removing frames=4 line. The wifi weather station tho. I spent a good 2h trying to get that one to compile. Issues with wifi library and type casting issues.
@VolosProjects
@VolosProjects 2 жыл бұрын
So stray error
@Evilslayer73
@Evilslayer73 3 жыл бұрын
my TTgo screen stay black and the blue led flash
@ArickMonkey
@ArickMonkey Жыл бұрын
In file included from C:\Program Files (x86)\Arduino\1_mode_\TTGOAlienAttack-main\TTGOAlienAttack-main\TTGOAlienAttack\TTGOAlienAttack.ino:5:0: enemy.h:1:1: error: stray '\357' in program int frames=4; Someone else posted a fix, but hopefully another post will help someone find the fix. The Enemy.h file is saved as a UTF-8 BOM file, and needs to just be UTF-8. Download Notepad++ and open the file. Go to the top and look for encoding and you should be able to figure it out from there. It compiles fine now! @patufetselaer3651 was the person I saw post the fix.
@alexafanasjev2965
@alexafanasjev2965 Ай бұрын
thank you 👍
@DipolRoy
@DipolRoy 3 жыл бұрын
Code doesn't compile, says TFT_BL was not declared!
@edwardfletcher7790
@edwardfletcher7790 3 жыл бұрын
So it's a problem with your SW or settings. You probably don't have the right libraries.
@prophoto1675
@prophoto1675 Жыл бұрын
"TFT_BL' wass not declared in this scope" anyone have a solution
@VolosProjects
@VolosProjects Жыл бұрын
update your tft_espi library.
@prophoto1675
@prophoto1675 Жыл бұрын
error persists
@VEYSKAN
@VEYSKAN 3 жыл бұрын
Arduino: 1.8.15 (Windows 10), Плата:"TTGO LoRa32-OLED V1, 80MHz, 921600, None" In file included from C:\Users\79994\Desktop\TTGOAlienAttack-main\TTGOAlienAttack\TTGOAlienAttack.ino:5:0: enemy.h:1:1: error: stray '\357' in program int frames=4; ^ enemy.h:1:1: error: stray '\273' in program enemy.h:1:1: error: stray '\277' in program exit status 1 stray '\357' in program Этот отчёт будет иметь больше информации с включенной опцией Файл -> Настройки -> "Показать подробный вывод во время компиляции"
@DoncodePHP
@DoncodePHP 3 жыл бұрын
Удалите пробел в начале файла enemy.h Delete space in file enemy.h
@antoniogarcia3713
@antoniogarcia3713 2 жыл бұрын
NO me aparece el puerto/I do not see the port
@yuricostache
@yuricostache 3 жыл бұрын
I love u
@IndianaStones1
@IndianaStones1 Жыл бұрын
These Boards are a pain in the ass. I cant even find the driver because i have no clue which version i have.
@iwebexp
@iwebexp 2 жыл бұрын
In file included from C:\Program Files (x86)\Arduino\1_mode_\TTGOAlienAttack-main\TTGOAlienAttack-main\TTGOAlienAttack\TTGOAlienAttack.ino:5:0: enemy.h:1:1: error: stray '\357' in program int frames=4; ^ enemy.h:1:1: error: stray '\273' in program enemy.h:1:1: error: stray '\277' in program exit status 1 stray '\357' in program
@VolosProjects
@VolosProjects 2 жыл бұрын
Go to the .h files in folder and delite line frames
@iwebexp
@iwebexp 2 жыл бұрын
@@VolosProjects I deleted the line. compiled and In file included from C:\TTGOAlienAttack\TTGOAlienAttack.ino:5:0: enemy.h:1:1: error: stray '\357' in program  ^ enemy.h:1:1: error: stray '\273' in program enemy.h:1:1: error: stray '\277' in program exit status 1 stray '\357' in program
@michaelmatteson8711
@michaelmatteson8711 2 жыл бұрын
I had this same problem on a MacBook Air M1..I used sublime text and saved the enemy.h file with encoding Western (Windows 1252) and that fixed it for me
@shker97
@shker97 2 жыл бұрын
Просто удалил строку и все отлично 👌🏻
@ulrichrissel8244
@ulrichrissel8244 2 жыл бұрын
@@VolosProjects I had the same problem. I simply deleted the line: int frames=4. Problem solved 🙂
@kajanutrius
@kajanutrius 3 жыл бұрын
no funciona
@totalkiller4
@totalkiller4 Жыл бұрын
Hi im just getting this error no matter what system i try to flash the code with windows 10 pc or windows 11 laptop "Arduino: 1.8.19 (Windows 10), Board: "TTGO LoRa32-OLED V1, 80MHz, 921600, None" Sketch uses 819162 bytes (62%) of program storage space. Maximum is 1310720 bytes. Global variables use 14088 bytes (4%) of dynamic memory, leaving 280824 bytes for local variables. Maximum is 294912 bytes. esptool.py v3.0-dev Serial port COM12 Connecting... Traceback (most recent call last): File "esptool.py", line 3682, in File "esptool.py", line 3675, in _main File "esptool.py", line 3330, in main File "esptool.py", line 512, in connect File "esptool.py", line 492, in _connect_attempt File "esptool.py", line 431, in sync File "esptool.py", line 369, in command File "esptool.py", line 332, in write File "site-packages\serial\serialwin32.py", line 323, in write serial.serialutil.SerialTimeoutException: Write timeout Failed to execute script esptool An error occurred while uploading the sketch This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences."
@theloniuser
@theloniuser 10 ай бұрын
I cannot get these TTGO boards to connect to my mac: Has anyone had this issue? followed the istructions to the letter. --- Sketch uses 293873 bytes (22%) of program storage space. Maximum is 1310720 bytes. Global variables use 21716 bytes (7%) of dynamic memory, leaving 273196 bytes for local variables. Maximum is 294912 bytes. esptool.py v4.5.1 Serial port /dev/cu.usbmodem568B0255451 Connecting..... Chip is ESP32-D0WDQ6-V3 (revision v3.0) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None Crystal is 40MHz MAC: b0:b2:1c:4f:07:68 Uploading stub... A fatal error occurred: Failed to write to target RAM (result was 01070000: Operation timed out) Failed uploading: uploading error: exit status 2
@2flying4fun
@2flying4fun 3 ай бұрын
Hi, Love your vlogs. This one gives me a compilation error though. ********************************************************** In file included from F:\Programming\Arduino\TTGO\TTGOAlienAttack-main\TTGOAlienAttack\TTGOAlienAttack.ino:5: F:\Programming\Arduino\TTGO\TTGOAlienAttack-main\TTGOAlienAttack\enemy.h:1:1: error: 'int' does not name a type 1 | int frames=4; | ^~~~~~ F:\Programming\Arduino\TTGO\TTGOAlienAttack-main\TTGOAlienAttack\TTGOAlienAttack.ino: In function 'void setup()': F:\Programming\Arduino\TTGO\TTGOAlienAttack-main\TTGOAlienAttack\TTGOAlienAttack.ino:58:3: error: 'ledcSetup' was not declared in this scope 58 | ledcSetup(pwmLedChannelTFT, pwmFreq, pwmResolution); | ^~~~~~~~~ F:\Programming\Arduino\TTGO\TTGOAlienAttack-main\TTGOAlienAttack\TTGOAlienAttack.ino:59:3: error: 'ledcAttachPin' was not declared in this scope; did you mean 'ledcAttach'? 59 | ledcAttachPin(TFT_BL, pwmLedChannelTFT); | ^~~~~~~~~~~~~ | ledcAttach ************************************************** Implementing the solution posted by patufetselaer3651 solved those problems. Thanks patufetselaer3651 It actually already went pearshaped with the TFT_Print_Test example: ************************************************** In file included from c:\Users\Frank\Documents\Arduino\libraries\TFT_eSPI-master\TFT_eSPI.cpp:24: c:\Users\Frank\Documents\Arduino\libraries\TFT_eSPI-master\Processors/TFT_eSPI_ESP32.c: In member function 'void TFT_eSPI::begin_SDA_Read()': c:\Users\Frank\Documents\Arduino\libraries\TFT_eSPI-master\Processors/TFT_eSPI_ESP32.c:72:3: error: 'gpio_set_direction' was not declared in this scope 72 | gpio_set_direction((gpio_num_t)TFT_MOSI, GPIO_MODE_INPUT); | ^~~~~~~~~~~~~~~~~~ c:\Users\Frank\Documents\Arduino\libraries\TFT_eSPI-master\Processors/TFT_eSPI_ESP32.c: In member function 'void TFT_eSPI::end_SDA_Read()': c:\Users\Frank\Documents\Arduino\libraries\TFT_eSPI-master\Processors/TFT_eSPI_ESP32.c:87:3: error: 'gpio_set_direction' was not declared in this scope 87 | gpio_set_direction((gpio_num_t)TFT_MOSI, GPIO_MODE_OUTPUT); | ^~~~~~~~~~~~~~~~~~ **************************************************** Eventually, after scrubbing the system of any Arduino related files, doing a clean installation of IDE 2.3.2, keeping all defaults, and following your instructions to the letter, didn't get rid of the problem. Replacing the esp32 v 3.0.2 boards package (by espressif) with version 2.0.17 in the boards manager solved that problem (thanks espressif?). This solved most other problems I got from compiling for ESP boards as well. AlienAttack now happily compiles, uploads and runs like a charm. P.S. Nobody ever told us computing was ging to be a breeze...
@mraeclo2
@mraeclo2 5 ай бұрын
amazing video! thanks!
@josergf2760
@josergf2760 3 жыл бұрын
Thanks for your tutorial...
How to use TFT_eSPI library and ESP32 (PROGRAMING TUTORIAL PART 1.)
18:40
Getting started with ESP32 development using the TTGO T-DISPLAY
16:08
Retro Tech & Electronics
Рет қаралды 114 М.
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 54 МЛН
I tried the 3 Cheapest Arduino Alternatives! (That you Suggested)
13:21
Setup ESP32 - Beginner friendly tutorial - PlaformIO - LilyGO
9:47
InvolveInInnovation
Рет қаралды 26 М.
Amazing Machines Operating at an INSANE LEVEL ▶3
12:38
TechFreeze
Рет қаралды 3 МЛН
How to program TTGO T-Display using PlatformIO IDE
12:21
Volos Projects
Рет қаралды 29 М.
How to program TTGO T-Display - PART3 (Images and Custom Fonts)
14:44
Volos Projects
Рет қаралды 32 М.
First Project ESP32 development using the TTGO T-DISPLAY
21:08
Retro Tech & Electronics
Рет қаралды 36 М.
RFID Locks are way too easy to "Hack"! Let me show you!
11:41
GreatScott!
Рет қаралды 1,3 МЛН
Can the ESP32 Handle 6 animated GIFs on 6 Screens ?
6:36
The Last Outpost Workshop
Рет қаралды 42 М.
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 54 МЛН