Adam Honse

@CalcProgrammer1
564 Followers
168 Following
1.4K Posts
Software Engineer, Linux Enthusiast, @OpenRGB Developer, and Gamer
YouTubehttps://www.youtube.com/CalcProgrammer1
LocationGardner, Kansas, USA
GitLabhttps://gitlab.com/CalcProgrammer1
Pronounshe/him

I made a video discussing and demonstrating my RP2040 ARGB splitter and showing off some upcoming #OpenRGB features.

https://www.youtube.com/watch?v=esm0mUjiIu4

Raspberry Pi Pico RP2040 ARGB Smart Splitter, OpenRGB Status Update

YouTube
@qwazix Xiaomi Pad 5/Pad 5 Pro are supported on #postmarketOS and have an active stylus available that works. I tested it in Krita. I still need to find time to submit a complete MR for getting the pen charger working on the Pro though.
@earsmeardius I'm using OSHPark this time as my dad just used them for a project he was doing after PCBWay was going to be too expensove due to the orange idiot's tariffs. I used PCBWay several years ago and they were great, but my dad's OSHPark boards also came out great so I'll go with the cheaper option. I'll probably 3D print a case for it.
I designed a PCB! I ordered some #RP2040 Zero (Waveshare clones) because I didn't feel like soldering a bunch of tiny SMD components when a tiny module with them already soldered could be had for under $3. Just needed to route everything out to connectors to make a functional ARGB hub, which could also act as an ARGB controller from the RP2040-Zero's USB port (though it is meant to be powered from the incoming ARGB connector).

The code is now available on GitLab here:

https://gitlab.com/CalcProgrammer1/RP2040-ARGB-Splitter

Adam Honse / RP2040 ARGB Splitter · GitLab

Raspberry Pi RP2040 ARGB (WS2812) Smart Splitter

GitLab
Yesssss! All it needed was the idle reset and to fix an off by one error on the bit counter! Successfully splitting a 30 LED WS2812 stream into two 15 LED streams (actually the controller is sending 255 LEDs but #OpenRGB is only driving 30). Now to rig up a third output to make sure subsequent switches still work.
Made some more progress for the night. I split the output muxing and clock counting into two separate state machines so they can use their X and Y regs as current and next value, meaning when the PIO interrupts the CPU it doesn't need to respond instantaneously. I got it to where it's switching channels back and forth, and I could feed in different clock counts for each segment in the ISR. Next step is to detect idle time and reset state machines.
ARGB splitters suck. They just duplicate the same signal to all outputs and ruin the addressable in ARGB. I'm attempting to use the #RP2040 PIO to create a smart ARGB splitter by counting the bits and outputting the signal to multiple pins. I attempted this years ago on an ATTiny, but it was too slow. PIO is fast enough to pass through the WS2812 signal unharmed as well as able to count the bits to know when to switch outputs.?
@itsFriday @grote How so? It's the one that's getting in your way the most. Want to use this app today? Screw you. Why do we cater to idiots getting scammed more than letting people own the devices we bought with our own money?
@grote 24 hours of not owning my phone is evil. This is stupid. I'm fine with everything but the pointless 24 hour wait and the biometric requirement. Give us your personally identifiable information and wait in phone purgatory for 24 hours to actually be able to own your device? Ridiculous.