Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4906

Beginners • Re: ws2812 pwm and wled

$
0
0
So you want to replace ten LED on an existing device with a more colorful implementation using a raspberry pico and ten ws2812 ?

Just for curiosity, how will you 'tap' the existing device to acquire the signals for a raspberry pico? My first idea was to replace the LED by optocouplers, which would also provide galvanic isolation. But perhaps you have a better idea.

For the 'heartbeat' signals (assuming these are PWM controlled from the device), there is the possibility to measure PWM duty cycle with the RP2040 pwm slices. Or you could place a low pass filter into the signal path of the relevant inputs and use a pico ADC inputs for this.

The ws2812 are 5V devices and the output voltage level of the pico 3.3V GPIO would need a level shifter.

Looks like a nice application for a raspberry pico with micropython.

Statistics: Posted by ghp — Mon Oct 28, 2024 6:02 am



Viewing all articles
Browse latest Browse all 4906

Trending Articles