Aircoookie / WLED

Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi!
https://kno.wled.ge
MIT License
14.75k stars 3.17k forks source link

Add support for MY9291 and MY9231 protocols #751

Closed goatchurchprime closed 4 years ago

goatchurchprime commented 4 years ago

These two chips MY9291 and MY9231 are in common use in ESP8266-based Wifi lightbulbs.

A good teardown of one is given here.

The arduino code for it is here, and I've ported (slightly simplified) into a Micropython function here.

It's a simple protocol that involves bitbanging DI and DCK pins (though unfortunately it is not documented anywhere). You need to pulse the DI pin 8 times after you have sent the 4 words for RGBW, and that's about it.

stale[bot] commented 4 years ago

Hey! This issue has been open for quite some time without any new comments now. It will be closed automatically in a week if no further activity occurs. Thank you for using WLED!

adjivas commented 2 years ago

Did you test that? https://github.com/spectrenoir06/WLED_MY9291