Looking for examples: LilyGO TTGO T-Display ESP32

For general Flowcode discussion that does not belong in the other sections.
Post Reply
MJU20
Posts: 250
http://meble-kuchenne.info.pl
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 75 times
Been thanked: 52 times

Looking for examples: LilyGO TTGO T-Display ESP32

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

medelec35
Matrix Staff
Posts: 1471
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 516 times
Been thanked: 474 times

Re: Looking for examples: LilyGO TTGO T-Display ESP32

Post 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.
Attachments
TTGO Display Test1 .fcfx
(15.2 KiB) Downloaded 81 times
Martin

MJU20
Posts: 250
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 75 times
Been thanked: 52 times

Re: Looking for examples: LilyGO TTGO T-Display ESP32

Post 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?

medelec35
Matrix Staff
Posts: 1471
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 516 times
Been thanked: 474 times

Re: Looking for examples: LilyGO TTGO T-Display ESP32

Post 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?
Martin

stefan.erni
Valued Contributor
Posts: 771
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 151 times
Been thanked: 173 times

Re: Looking for examples: LilyGO TTGO T-Display ESP32

Post 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 Ultra­Low­Power RISC­V Single­Core CPU
https://flowcode.co.uk/forums/viewtopic.php?f=4&t=1318

medelec35
Matrix Staff
Posts: 1471
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 516 times
Been thanked: 474 times

Re: Looking for examples: LilyGO TTGO T-Display ESP32

Post 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.
Martin

MJU20
Posts: 250
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 75 times
Been thanked: 52 times

Re: Looking for examples: LilyGO TTGO T-Display ESP32

Post by MJU20 »

Ok, thanks guys.

I will wait until the ESP32-S2 is supported!

MJU20
Posts: 250
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 75 times
Been thanked: 52 times

Re: Looking for examples: LilyGO TTGO T-Display ESP32

Post by MJU20 »

Any news on support for the ESP32-S2 ? :-(

Post Reply