platform-espressif32 icon indicating copy to clipboard operation
platform-espressif32 copied to clipboard

New Board Request: TTGO-T-Display

Open ivmaks opened this issue 4 years ago • 13 comments

Please add support for TTGO-T-Display board: https://github.com/Xinyuan-LilyGO/TTGO-T-Display

ivmaks avatar Jul 24 '19 11:07 ivmaks

Have 1 and two more stuck in customs right now.

DaQue avatar Aug 22 '19 23:08 DaQue

https://github.com/JakubAndrysek/TTGO_T_Display may be useful

ivmaks avatar Aug 24 '19 11:08 ivmaks

Please open an issue here https://github.com/espressif/arduino-esp32/issues in the first place, so the board will be added to the Arduino framework officially.

valeros avatar Sep 18 '19 14:09 valeros

The board was added to the Arduino framework. https://github.com/espressif/arduino-esp32/pull/3693

g19i85g avatar Jun 01 '20 15:06 g19i85g

@g19i85g It looks like the PR wasn't merged, so the board is still not available https://github.com/espressif/arduino-esp32/tree/master/variants

valeros avatar Jul 13 '20 13:07 valeros

I got it to compile and run using the TTGO-T1 board instead, but on that board they moved SCL to GPIO23 instead of default 22 because that shares a pin with the built in LED. I've changed it back to 22, but I2C still doesn't work. REally hope they get this sorted as i've based my latest project on this only to realise today that PIO doesn't support T-display (even though hardware built, ooops!)

rwmingis avatar Jul 18 '20 04:07 rwmingis

If it helps anyone the i2c issue was solved by changing the default address. Can't explain how changing a board in platformio would change the default i2c address but that fixed it.

rwmingis avatar Jul 20 '20 23:07 rwmingis

Actually, for a quick solve I found ivmak's comment really helpfull. Simply copy the build_flags entries from the platformio.ini from Kuba Andrýsek's github example and it works instantly: example platformio.ini

Basically, the problem seams to be the missed defined pins for talking to the display.

JustSomeRandomDIYGuy avatar Oct 20 '20 07:10 JustSomeRandomDIYGuy

The provided workaround works. I also noticed that a similar file is provided in the TFT_eSPI library by LilyGO. However it would still be nice if the board is added to the Board Explorer.

avdz avatar Dec 08 '21 20:12 avdz

Yes, I am surprised this board is still not in the system after 18 months. It's becoming quite popular now looking at my youtube feed!

rwmingis avatar Dec 26 '21 01:12 rwmingis

Just here to add my "me too"

projectitis avatar Jun 07 '22 09:06 projectitis

According to @valeros first the board must be available in https://github.com/espressif/arduino-esp32. In the past there was this pull request https://github.com/espressif/arduino-esp32/pull/3693 which was closed by the pull request author and so never gets merged. If someone is able to start a new PR there and reference it here, this would be perfect.

BlueAndi avatar Jun 07 '22 10:06 BlueAndi

@JustSomeRandomDIYGuy - his suggestion works... copy this into your project - https://github.com/JakubAndrysek/TTGO_T_Display/blob/master/TTGO_example/platformio.ini

fdxrate avatar Jul 05 '22 02:07 fdxrate