-
|
Hello, I am in a similar situation as other novices here, with a new display that has different combinations of display and touch controllers than those supported. My display is a Hosyond 2.8 inch 240x320 IPS display with capacitive touch, which I bought from Amazon (US) https://www.amazon.com/dp/B0CMGF4Q68 The display is ILI9341, which works mostly great with universal display and the .ini file from the repo. But the touch driver is an FT6336G. I have two issues, the first one is that my display shows inverted colors. I see that the .ini file has the :i option, but neither i1 nor i2 have any effect on the color display. I've resorted to enter inverted colors and use photoshop to create inverted color images to display, but that is a hacky and annoying way to work. The second issue is the touch controller, which refuses to work. I am trying to use the FT6236 driver, but it actually causes the esp32 to reboot constantly and then revert back stock. The constant reboots have triggered WiFi issues that persist even after erasing the entire flash memory. I am using an -lvgl-haspmota image to test the display, and a custom image based on tasmota32 for the display and touch. I do a full erase before switching between the two. I believe there is a chance I am using GPIOs that are exposed by my ESP32-WROVER that shouldn't because they are used by the PSRAM, but I can't find the site where I read sometabout it. I am using the wiring hosyond provides in their examples, and their lvgl example does work for image and touch, so maybe the wiring issue is a tasmota issue, but I don't know when to look. Any help is appreciated |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 11 replies
-
|
@sfromis, as you mentioned in #20754 (reply in thread) Is there a place when I can find the Also, can you tell me how to add the invert directive to my display.ini? The last line in the tasmota repo reads |
Beta Was this translation helpful? Give feedback.
-
|
I was unable to get my display to work with tasmota, which I realy wanted to do. Most of my devices are flashed with tasmota and this was the first place I looked when I wanted to create my own device. Unfortunately, the universal touch control does not work with my FT6336 for reasons unknown to me. Just configuring the GPIO pins caused my device to reboot constantly. I created a tasmota driver for the touch controller, and even then, it refused to work. After 4 days of struggle, I decided to try something different and checked esphome. It didn't look very user friendly, but it had drivers for both my display and touch controller. To my surprise, I had a working device about 30 minutes after reading the getting started section. Esphome lacks lvgl or haspmota-like stuff, so creating a UI is going to be harder, but everything worked almost instantly. I looked briefly at the instructions for adding brand new devices to esphome and they seemed clear enough. Tasmota, in contrast, does not have easily accessible guidelines on how to port drivers or how to create new ones from scratch. Touch controllers have a very simple interface, fortunately for me, and I was able to look at other drivers to put my port together. I also saw in that process that the universal display driver has hard-coded stuff for some controllers, which may explain why mine didn't work with it. I am not saying esphome is better than tasmota, but I think their approach is much more modular and easier to assemble. Perhaps there is more work to do on the universal drivers for tasmota, and that could make this project a stronger contender for unknown hardware. I hope I can bring my new device back to tasmota, and I am not about reflashing all my stuff with esphome. I care about this project. I can homestly say that without tasmota I would not have a smart home at all. I just want to give my sincere feedback because it can make this project the best it can be. |
Beta Was this translation helpful? Give feedback.
-
Here is the complete uDisplay/uTouch display.ini for WT32-SC01. What else do you need for the autoconf file? Thanks. |
Beta Was this translation helpful? Give feedback.
-
|
Not sure if this is the right place to put this info, but I have spent several hours trying to get a Hosyond 4" Capacitive Touch (480x320) display to work. Two things: 1> Tasmota32-LVGL 15.3 seems to have an issue with Haspmota, I went back to 15.0.1 and Haspmota works again. 2> I never could get the FT6336 Touch to respond, finally after doing some research, I pulled the CTP_RST wire I had connected to ESP32 TS_RST pin and put in on 3.3v and touch works. That is, on the DISPLAY, simply pull CTP_RST pin up to 3.3v, no need to connect it to the ESP32. |
Beta Was this translation helpful? Give feedback.
Universal Touch driver for FT6236