HI I have an esp board with a display.
https://www.amazon.com/DIYmalls-ESP-WRO ... C94&sr=8-1
I have managed to get most everything working but the touch controller.
They are wired to :
TOUCH:
CTP_SDA.33
CTP_SCL.32
CTP_RST.25
CTP_INT.21 * This is shorted to gnd on my version.
You can cut the trace and wire it to R25 Pad.
33 and 32 do not exist in the pin configurations in flow code.
Any ideas?
Thanks,
Chad
Esp32 Display board
-
- Posts: 73
- http://meble-kuchenne.info.pl
- Joined: Fri Dec 18, 2020 1:15 pm
- Has thanked: 32 times
- Been thanked: 1 time
-
- Matrix Staff
- Posts: 1936
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 506 times
- Been thanked: 688 times
Re: Esp32 Display board
Hi Chad,
32 is pin B0 and 33 is pin B1, hope this helps
This too might be interesting for you.
viewtopic.php?p=16701#p16701
32 is pin B0 and 33 is pin B1, hope this helps

This too might be interesting for you.
viewtopic.php?p=16701#p16701
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Re: Esp32 Display board
Thanks, I used those numbers and I still can't get anything out of the touch. Right now, I am just doing a sample sensor looking for a touch and if I get one I am trying to light a LED. It simulates ok, but I can't get anything out of the hardware. I have tried 100k 400k i2c rate, I am using i2c2 because 1 is used on a mcp23017. I have tried single ended and differential. I am not using the interrupt pin. My board has it hardwired to GND. That should give a 0x5d address. I have tried both. Still nothing.
Could you please take a look at the GT911 component?
Any other suggestions?
Thanks,
chad
Could you please take a look at the GT911 component?
Any other suggestions?
Thanks,
chad
-
- Matrix Staff
- Posts: 1936
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 506 times
- Been thanked: 688 times
Re: Esp32 Display board
Hi Chad,
I've ordered one so I'll investigate for you.
I've ordered one so I'll investigate for you.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Re: Esp32 Display board
Cool, The documentation sucks, so here is a head start.
LCD: ST7796
MOSI-A.13
MISO-A.12
CLK-A.14
CS-A.15
D/C-A.2
RST- N/A Tied to RST BTN PIN
LED BACKLIGHT -A.27
TOUCH: GT911
CTP_SDA.33 ==B1
CTP_SCL.32 ==B0
CTP_RST.25
CTP_INT.21 * This is shorted to board on my version.
SPEAKER sound -26
CN1 I2C:
SDA 21
SCL 22
Red LED: 4
Green LED 16
Blue LED 17
Photocell An6 / io 34
LCD: ST7796
MOSI-A.13
MISO-A.12
CLK-A.14
CS-A.15
D/C-A.2
RST- N/A Tied to RST BTN PIN
LED BACKLIGHT -A.27
TOUCH: GT911
CTP_SDA.33 ==B1
CTP_SCL.32 ==B0
CTP_RST.25
CTP_INT.21 * This is shorted to board on my version.
SPEAKER sound -26
CN1 I2C:
SDA 21
SCL 22
Red LED: 4
Green LED 16
Blue LED 17
Photocell An6 / io 34
Last edited by Chadb on Thu Aug 29, 2024 4:48 pm, edited 1 time in total.
-
- Matrix Staff
- Posts: 1936
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 506 times
- Been thanked: 688 times
Re: Esp32 Display board
It's taken me all day to track down the cause but hopefully resolved for you now.
The latest GT911 component in the library updates should solve the issue.
Here's my working test program.
The latest GT911 component in the library updates should solve the issue.
Here's my working test program.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel