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

Поделиться
HTML-код
  • Опубликовано: 19 окт 2024

Комментарии • 152

  • @patufetselaer3651
    @patufetselaer3651 Год назад +15

    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 Год назад +1

      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 месяцев назад +3

      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 месяца назад +2

      If problem with ledcSetup in setup, change
      "ledcSetup(pwmLedChannelTFT, pwmFreq, pwmResolution);
      ledcAttachPin(TFT_BL, pwmLedChannelTFT);"
      to
      "ledcAttachChannel(TFT_BL, pwmFreq, pwmResolution, pwmLedChannelTFT);"

  • @RicardoPenders
    @RicardoPenders Год назад +4

    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  Год назад +1

      tnx Ricardo, feel free to ask if you stuck

    • @RicardoPenders
      @RicardoPenders Год назад +1

      @@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 Год назад +2

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

  • @stevenrogersfineart4224
    @stevenrogersfineart4224 2 года назад +5

    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 :)

  • @martinomara8879
    @martinomara8879 Год назад +1

    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.

  • @VincentVeak
    @VincentVeak 2 года назад +10

    Dude you are a LEGEND! Thank you for properly explaining this and getting many people (including myself) into this hobby!

  • @ravenaboutireland8688
    @ravenaboutireland8688 9 месяцев назад +1

    Brilliant tutorial!
    I doubt if I would have got the board working without your guidance.
    Thanks a million!!!

  • @posplayr
    @posplayr 3 года назад +4

    The most complete explanation I have seen. Thanks, I'm up and running!

  • @garymcgillivray6217
    @garymcgillivray6217 3 года назад +5

    Thanks for this - finally got my TTGO up and running - cheers

  • @RicardoPenders
    @RicardoPenders 2 года назад +1

    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.

  • @maximilianth
    @maximilianth 3 года назад +3

    Thanks for the explanation! It works fine! Please do make more games for the TTGO Board!

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

  • @jasontemlett
    @jasontemlett 3 года назад +1

    Thanks for so carefully and clearly explaining the process. It really has helped and is appreciated

  • @msreid0
    @msreid0 2 года назад +1

    Very clear and helpful. Got me up and running with this very neat board

  • @TheManudulux
    @TheManudulux 3 года назад +1

    I am so happy I found your channel. Great videos. Great explanations. Thanks so much for sharing!

  • @FunAnimals101
    @FunAnimals101 8 месяцев назад

    thankyou so much i at first lost hope with this but your tut was amazing

  • @alanm7186
    @alanm7186 3 года назад +1

    Works great! Love the games you make. Great learning tool also!

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

  • @alhdlakhfdqw
    @alhdlakhfdqw 2 года назад +1

    thank you very much for your great tutorail very easy to understand! :)

  • @parranoic
    @parranoic 2 года назад

    Thank you so much, this is exactly what I needed to get going with this new board

  • @alexobaya4550
    @alexobaya4550 2 года назад

    NICE video man!! So gratefull!!

  • @richpeacock
    @richpeacock 8 месяцев назад

    Yahoo! it works finally. Thanks

  • @Dasol0246
    @Dasol0246 3 года назад +1

    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

  • @patrickethridge
    @patrickethridge Год назад

    This helped immensely, thanks!

  • @dvdowns
    @dvdowns Месяц назад

    Thank you, this really helped.

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

  • @amitbt69
    @amitbt69 2 года назад

    Very well explained! thank you.

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

  • @TT-it9gg
    @TT-it9gg 3 года назад +1

    Really fun! Thank you~

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

  • @Parahooners
    @Parahooners 3 года назад

    This is great, thanks for taking the time to share

  • @mrobarton7192
    @mrobarton7192 3 года назад +3

    Why did you not pick the
    "TT GO T1" board?

  • @claessjoblom9910
    @claessjoblom9910 3 года назад

    Thanks very much it works.

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

  • @MuhammadArshad-ed4ef
    @MuhammadArshad-ed4ef 5 месяцев назад

    You are legend happy to buy you coffee

  • @DudulleMaster
    @DudulleMaster 3 года назад +1

    thanks a lot for this tutorial

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

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

  • @walterhynson2898
    @walterhynson2898 Год назад +1

    Thanks and please wish me good luck with my lillygo T4 HMI.

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

  • @codesyncr
    @codesyncr 3 года назад

    Awesome love from india 💗

  • @mohamedfarid7499
    @mohamedfarid7499 2 года назад +1

    Thanks a lot

  • @NicholasRadina
    @NicholasRadina Год назад

    Thank you!!

  • @HaikuGuy
    @HaikuGuy Год назад

    THANKS!

  • @electronic7979
    @electronic7979 3 года назад +1

    👍

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

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

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

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

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

  • @Haulakulara
    @Haulakulara 2 года назад +1

    hello, is there any base station 32 pin for this esp32 ttgo t-display module?

  • @Doyle69
    @Doyle69 6 месяцев назад

    Will this work for ESP32-S3-Geek?

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

  • @henkdesain7741
    @henkdesain7741 Год назад

    can you tell me which buttons to use to get the TTGO into Upload mode.

  • @laz305
    @laz305 6 месяцев назад

    Can you tell me what code I need to add to my ino to add an image?

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

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

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

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

  • @laz305
    @laz305 6 месяцев назад

    6:45 how do i find out which line is my board that I need to comment out?

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

  • @yuricostache
    @yuricostache 3 года назад

    I love u

  • @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 месяцев назад +1

      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

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

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

  • @suhailraq
    @suhailraq Год назад

    In device manager it show exclamtion mark in usb

  • @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 года назад +1

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

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

  • @jeremydickenson8059
    @jeremydickenson8059 3 года назад

    Can you teach me how you do this I can't figure it out

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

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

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

  • @tribycell
    @tribycell Год назад

    how flash original firmware ?

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

  • @Evilslayer73
    @Evilslayer73 3 года назад

    my TTgo screen stay black and the blue led flash

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

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

  • @antoniogarcia3713
    @antoniogarcia3713 2 года назад

    NO me aparece el puerto/I do not see the port

  • @prophoto1675
    @prophoto1675 Год назад

    "TFT_BL' wass not declared in this scope" anyone have a solution

  • @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 года назад +1

      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 года назад +1

      @@VolosProjects I had the same problem. I simply deleted the line: int frames=4. Problem solved 🙂

  • @kajanutrius
    @kajanutrius 3 года назад

    no funciona

  • @ArickMonkey
    @ArickMonkey Год назад +1

    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.

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

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

  • @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 4 месяца назад

    amazing video! thanks!

  • @josergf2760
    @josergf2760 3 года назад

    Thanks for your tutorial...