Page 1 of 1
Looking for examples: LilyGO TTGO T-Display ESP32
Posted: Tue Sep 06, 2022 10:54 pm
by MJU20
I've bought a "LilyGO TTGO T8 ESP32-S2 - 1.14 inch TFT Display" (
https://www.tinytronics.nl/shop/nl/deve ... ft-display )
When I first powered it, I was amazed by the reaction of the board. It shows a rainbow "LilyGo" logo and looks for an SD card to mount, but because there isn't one connected, the ESP goes to deepsleep.
This is more then I ever will get Flowcode do with this board (because of my limited skills/imagination)
This board seems promising
Does anyone uses this one? Can I please have some examples to get me starting?
I'm looking for examples that I use to chop things into pieces which I can reuse in later projects.
So if anyone ever made something with this board, and is willing to send me the project with some explanation, this will be gratefully accepted!

Re: Looking for examples: LilyGO TTGO T-Display ESP32
Posted: Wed Sep 07, 2022 10:07 am
by medelec35
Hi.
I don't have the same TTGO as you, hence keeping the project basic.
I have put together a basic seconds counter to get you started
The simulation will be much quicker than the hardware.
Re: Looking for examples: LilyGO TTGO T-Display ESP32
Posted: Wed Sep 07, 2022 11:55 pm
by MJU20
Thank you Martin!!
But as always things don't work like they should at first attempt..
When trying to upload the flowchart to the board I get error messages..
What I already tried was to use a USB cable that I use for other projects.
Press the "BOT" button on the board when connecting.
Tested the COM port and the baudrate (can read it with a serial monitor at 115200baud)
Then I tried to find some Arduino sketches that use the TFT display but when compiling the message says: "
this is a ESP32-S2" chip".
Flowcode shows these compiling messages:
Code: Select all
Chip is unknown ESP32 (revision 0)
Features: WiFi, BT, Single Core, Embedded Flash, VRef calibration in efuse, Coding Scheme 3/4
WARNING: Detected crystal freq 344.33MHz is quite different to normalized freq 40MHz. Unsupported crystal in use?
Crystal is 40MHz
MAC: 0b:ad:ba:d0:0b:ad
Uploading stub...
Running stub...
A fatal error occurred: Invalid head of packet (0x50)
Adding "flash"'s dependency "all" to list of commands with default set of options.
Executing action: all (aliases: build)
Running ninja in directory d:\ttgo_display_test1_\build
Executing "ninja all"...
Executing action: flash
Running esptool.py in directory d:\ttgo_display_test1_\build
Executing "C:\espressif\tools\python_env\idf4.1_py3.7_env\Scripts\python.exe C:\espressif\esp-idf\components/esptool_py/esptool/esptool.py -p COM9 -b 115200 --before default_reset --after hard_reset --chip esp32 write_flash @flash_project_args"...
esptool.py failed with exit code 2
Programming Failed
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_prog.bat reported error code 0x1
Autoclose turned off
Could this be because Flowcode doesn't know the ESP32-S2 chip?
Any support on this one?
Re: Looking for examples: LilyGO TTGO T-Display ESP32
Posted: Thu Sep 08, 2022 9:40 am
by medelec35
Hello.
Sorry, it looks like the ESP S2 is not yet supported.
Ben has just ordered one and it should be with him next week.
As this is a third-party toolchain, we have no control over it, but hopefully, we can get it to work with S2-type devices.
Would you like the details of my TTGO?
Re: Looking for examples: LilyGO TTGO T-Display ESP32
Posted: Thu Sep 08, 2022 9:54 am
by stefan.erni
Hi Martin
Yes a link to your TTGO type would help.
If you can take a look with Ben at my post.
There is also an ESP32 not yet available.
Thank you
regards
Stefan
ESP32 UltraLowPower RISCV SingleCore CPU
https://flowcode.co.uk/forums/viewtopic.php?f=4&t=1318
Re: Looking for examples: LilyGO TTGO T-Display ESP32
Posted: Thu Sep 08, 2022 10:55 am
by medelec35
Hi.
This is the one I ordered.
It works really well.
Like everything prices have gone up a lot.
I paid £9.81 for the 16M version.
With searching, you could probably get them cheaper.
Re: Looking for examples: LilyGO TTGO T-Display ESP32
Posted: Fri Sep 09, 2022 11:14 pm
by MJU20
Ok, thanks guys.
I will wait until the ESP32-S2 is supported!
Re: Looking for examples: LilyGO TTGO T-Display ESP32
Posted: Fri Oct 14, 2022 12:48 am
by MJU20
Any news on support for the ESP32-S2 ?
