I’ve been thinking about LED data compression lately. I have a Raspberry Pi server that sends RGB data wirelessly over UDP to multiple ESP32 controllers. I’m currently serving data for 1000 pixels at 60fps and it’s working great, but I’m planning on adding more pixels and controllers and I think I’ll start hitting performance issues.
I’m considering either a general compression algorithm, or using heuristics on each frame of data to optimise them.
For instance, if every pixel for a given frame is the same colour, I can just send one colour value and an indication that this is “optimisation type 1: single colour” or similar.
Has anyone else done anything similar?