Help with LED Strip

Hi CD, i have a little question, can I plug the Andy Mark adressable LEDs directly to the RoboRIO?

Here is the link of the LEDs https://www.andymark.com/products/rgb-led-light-strip-8-2ft-individually-addressable?via=Z2lkOi8vYW5keW1hcmsvV29ya2FyZWE6OkNhdGFsb2c6OkNhdGVnb3J5LzVhZjhlNTVjYmM2ZjZkNWUzNmYyM2FhNQ

I mean directly to the PWM outputs of the RoboRIO

i checked with my teammate. i won’t be a problem.

Thank you

your welcome, i didn’t knew it and gladly i had one of my teammate in a discord call that knew the info haha

They use the chip supported by the LED library, but you will need to plug the power input into a 5V regulator, since the PWM V+ pin outputs 6V. The RIO also probably won’t output the current you would want for LEDs.

2 Likes

I’m going to stress what @bobbysq said here. You can plug the signal wire into a PWM port and use the new LED libraries to control the addressable LEDs, but you won’t be able to source the power for the LEDs from the roboRIO. For that, you need a separate power source that outputs the right voltage with enough current to power your whole strip.

While you may technically be able to plug it into the 5V/2A port on the VRM (depending on the voltage of the strip and what length you’re actually using), I would strongly suggest leaving the VRM just for the radio and using a separate buck-boost converter plugged into a PDP branch circuit. I’ve been recommending this one, or something similar.

Which chip is that? Is it something like the WS2812/WS2812B (the stuff used on Adafruit NeoPixels) by any chance?

WS2812 (Or compatible)
https://docs.wpilib.org/en/latest/docs/software/actuators/addressable-leds.html

These NeoPixel strips ship with WS2812 chips, not sure about the rest of them.

1 Like

Yeah that’s what I meant. Thanks!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.