I recently picked up the Waveshare ESP32-S3 4.2inch RLCD Development Board. While I initially bought it under the impression it was natively supported, I quickly realized there wasn’t a built-in driver for the ST7305 controller in ESPHome.
After some deep-dive vibe coding, I’ve completed a custom driver component to get this display up and running. I wanted to share it here in case anyone else is looking to use these ultra-low-power reflective displays in their ESPHome projects.
Honestly, I’m a little unconfident since it’s vibe coded. It works for me, and supposedly uses the ESPHome coding standards, but I’m hesitant to submit it.
I’ll consider it in the future after I learn more about ESP component coding.
It seems to work, so far.
My first refresh is often garbage, the second then works fine, so I guess it’s probably a race condition at some point.
Other than that, so far so good, haven’t had a look at the code yet… I got the panel 2 weeks ago, and haven’t even had the time to look at it anyways so far.
yeah, something during the init is probably going too fast or something is missing.
Glad you found the hint
There is probably also something else still not right, because when entering low-power mode, the panel looses a bit of contrast (which it does not do on the demo).