Exploring ESP32 Modules with Touch Display: A User's Journey

Hello everyone, I recently stumbled upon this ESP32 module with an integrated touch display and decided to give it a try. The module caught my eye because it seemed like a great base for building an LCD control panel. However, I quickly realized there were a few hurdles to overcome. The display uses an ST7796 driver, which I believe is supported by the ili9xxx component in ESPHome, but I was unsure about the touch IC, specifically the GT911. I assumed capacitive touch would be the best fit, but I wasn’t entirely certain.

After some research, I discovered that the schematic actually specifies an XPT2046 driver for the touch functionality. This clarified things a bit, but I still had concerns about whether the ESP32 would have enough memory to handle both the display and the touch functionality simultaneously.

I reached out to the community for advice and was pleasantly surprised by the helpful responses. Many users suggested starting with a minimal configuration to test the hardware before adding more complex features. They also recommended checking the latest ESPHome documentation for any updates or known issues with these components.

I decided to give it a shot and set up a basic project. After some trial and error, I managed to get the display working, but the touch functionality was still hit or miss. I realized that optimizing the code and possibly reducing the resolution could help free up memory. I also explored the possibility of using a smaller frame buffer or disabling unnecessary features.

Through persistence and the support of this amazing community, I finally got everything working smoothly. It was a rewarding experience, and I’m now excited to expand the project further. I’d like to thank everyone who contributed to the discussion and provided such valuable insights. If anyone else is considering using this module, I’d highly recommend starting small and gradually building up your setup. Happy tinkering! :rocket: