jackw01 / led-control

Advanced WS2812/SK6812 RGB/RGBW LED controller with on-the-fly Python animation programming, web code editor/control interface, 1D, 2D, and 3D display support, and E1.31 sACN support
https://jackw01.github.io/led-control/
MIT License
162 stars 35 forks source link

Alternative sigle board computers? #47

Closed ThatOneVideoGamer closed 1 year ago

ThatOneVideoGamer commented 1 year ago

Will this only work on a Raspberry pi? Those devices are extremely overpriced atm due to the shortage so I was wondering if it would work in an alternative like the orange pi

jackw01 commented 1 year ago

I have it on my todo list to make some modifications that will allow ledcontrol to run on any computer and control the LED strip through an RP2040 or Arduino connected via USB/serial. As for now, this has only been tested on a Raspberry Pi and I don't believe it will work on other single board computers (it uses hardware peripherals specific to the BCM2835 SOC to drive the LEDs), although it does work well on the oldest/slowest Raspberry Pi models.

jackw01 commented 1 year ago

Update: in progress. As of right now LEDControl can run on any computer and control the LED strip through a RP2040 microcontroller board connected over USB. The microcontroller is able to handle all the color conversions that were previously implemented in C, so nothing needs to be compiled and LEDControl should be able to run on any system with Python installed. Performance is as good or better than on Raspberry Pi and the CPU usage is negligible on a modern desktop computer.