-
-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Describe the problem you have/What new integration you would like
Addition of new Waveshare IO extension module
Please describe your use case for this integration and alternatives you've tried:
The ESP32-S3-Touch-LCD-7B uses pins on the module to control the backlight state and brightness of the LCD. The CS pin for the SD card is also controlled here preventing the use of it as well.
Additional context
Waveshare has released another revision of their ESP32-S3 board with a built in 7 inch display. The new model has a higher resolution 1024x600, but more importantly the ability to control the screen brightness. Previous models used a ch422g IO extender to connect to the lcd backlight enable pin but the new model has switched it out for a different chip. I've contacted Waveshare support, and all they would do is provide this info, and point to the example code.
"The ESP32 - S3 - Touch - LCD - 7B uses the CH32V003, which is a microcontroller unit (MCU), not an IO expansion chip."
The example code does contain an io_extension folder with what appears to be the drivers for interacting with their chip, I'm just not really sure how to add those via external components, but would also love to see them added to the native drivers.
This demo LVGL_UI has the example of interacting with the PWM Backlight
https://www.waveshare.com/wiki/ESP32-S3-Touch-LCD-7B#16_LVGL_UI
https://files.waveshare.com/wiki/ESP32-S3-Touch-LCD-7B/ESP32-S3-Touch-LCD-7B-Demo.zip
https://files.waveshare.com/wiki/ESP32-S3-Touch-LCD-7B/ESP32-S3-Touch-LCD-7B-Schematic.pdf
It also appears the battery voltage monitoring circuit is connected to this chip as well.
it would not allow me to attach the example code, but i have included the links. I've also included my example config, which worked 100% on the previous model, with the new model everything other than the LCD backlight control works