feature-requests
feature-requests copied to clipboard
Support for WCH(Jiangsu Qin Heng) CH422G I/O Expander
Describe the problem you have/What new integration you would like
Support for WCH(Jiangsu Qin Heng) CH422G I/O Expander
Please describe your use case for this integration and alternatives you've tried:
Waveshare ESP32-S3-Touch-LCD-4.3 board: As the 4.3-inch screen occupies most GPIO pins, we use a CH422G chip to expand IO for functions like reset and backlight control.
- Manufacturer WCH(Jiangsu Qin Heng)
- Mfr. Part # CH422G
- LCSC Part # C57543
- Package SOP-16
- Description 8 * 1MHz SOP-16 I/O Expanders
- Datasheet: https://www.lcsc.com/datasheet/lcsc_datasheet_2403131123_WCH-Jiangsu-Qin-Heng-CH422G_C57543.pdf
Additional context
I found 2 forks from ESP32_IO_Expander that include drivers for CH422G I/O Expander:
- kylix-rd: ESP32_IO_Expander
- ktand: ESP32_IO_Expander
This could help to add support to ESPHome.
We need ESP-IDF compatible component for this (to drop Arduino on ESP32-xx)
ESP32_IO_Expander Release v0.0.3 is out with CH422G support:
v0.0.3 - 2024-05-07 Enhancements:
- Add support for CH422G from Waveshare
- Update the example to show how to use the CH422G
I found 2 forks from ESP32_IO_Expander that include drivers for CH422G I/O Expander:
- kylix-rd: ESP32_IO_Expander
- ktand: ESP32_IO_Expander
This could help to add support to ESPHome.
Or maybe it could be added a ESPHome component like another PCA9554 I/O Expander.
I'm interested in this also... Thanks!
Has anyone moved forward with this?
Has anyone moved forward with this?
No.
It would be great if anyone is interested in trying it out and giving me feedback on it ;)
It would be great if anyone is interested in trying it out and giving me feedback on it ;)
Working fine and tested with this config file: Waveshare_ESP32-S3_Touch_4.3.yaml
CH422G support has been merged into dev branch:
Thanks @jesterret.