Automatic WS2812 Characterization

Now, over the course of more than a decade, I spent quite some time manually investigating WS2812 addressable RGB LEDs and their clones. Why not automate this?

The CH32V003 is ideally suited for this task, as it offers 5V compatibility and high resolution timers with DMA. I had pondered this for a while, but never quite found the time and motivation to sit down to fight the timers and DMA to implement all the details. However, the latest batch of Agentic AI programming tools seem to have mostly cracked the domain of embedded software on CH32V003 and allowed me to implement this without much intervention. There are still some rough edges, but I will keep this as a quick hack for now.

Take a look at the full repository here and a high level summary of my findings here.

Leave a comment