-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to change interrupt pin for lilygo_t5_47 touchscreen #4742
Comments
Same issue here! any progress on your end? |
FYI I have it working. Try using GPIO47 instead of GPIO09 - I'm using esphome's component. |
DOH! Well spotted @nodacat . I don't know why I didn't check the schematics, I've worked with a few different Lilygo screens and I ALWAYS need to check them as their printed docs tend to be very wrong. :scratches_head: Why didn't I check them this time? Don't I feel stupid for not checking :-) Yep, all working with GPIO47 |
Hahah oh you weren’t the only one! I was so locked in on that pinmap graphic from lilygo, many others mistook the RTC pins for the touchscreen, which lilygo left off this time oddly. Glad I could help! |
Yeah, sometimes you just go so far down the rabbit hole, that the obvious just isn't obvious anymore! I had the same issue with the TTGO T5s 2.7". Cracking little board (used them for air quality sensors), but the silk screening and docs are a mess. I'd swear the schematics were for a different board compared to the AliExpress listing! Anyways, the WAF has significantly increased now these 6 screens are touchable again! |
@special-k-uk when this issue seems to be fixed would you mind closing this issue. |
@special-k-uk check out section B4 (using the row/column headers around the pdf). There's a 6 pin connector (only 6 pin connector on the physical board) and to the left a pinout of INT/SDA/SCL. Match that pinout to the circuit diagram and you'll see INT=>47. You'll find a similar 6 pin connector on the other older T5-4.7.pdf . Comparing the two, you'll see the change from GPIO13 to GPIO47 (as well as the SDA/SCL changes). |
Ah, got it. It's the big red letters I didnt see. Thanks for your help with this one, really appreciated |
Haha no problem, it wasn’t super obvious that that was related to the touchscreen connector at first, I only figured that out by process of elimination with the other header/connectors when inspecting the board. But anyway, cheers man! Glad I could save someone else from further headache… now on to the rest of the yaml lol |
The problem
The lilygo T5 4.7 Touchscreen component enforces GPIO13 as the interrupt pin, as specified in the docs.
This works fine for the Lilygo T5 4.7 ESP32 v3 boards where the interrupt is GPIO13, but not for the newer ESP32-S3 board version where the interrupt is GPIO09.
I have 6 of the newer ESP32-S3 boards that the seller shipped instead of the purchased older v3 boards :-(
The Touchscreens docs specify the interrupt_pin is optional, yet if it is omitted from the yaml ESPHome warns that it IS a required option.
Setting the interrupt pin to GPIO09 in the yaml has no affect, and touches are not registered.
Which version of ESPHome has the issue?
2023.7.0
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2023.7.3
What platform are you using?
ESP32
Board
Lilygo T5 4.7 ESP32-S3 v2.3
Component causing the issue
Touchscreen
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response
The text was updated successfully, but these errors were encountered: