rio-rgb_led-buffer-board

Public

@team-4795

Download board files

Files for version 1. Pick what you came for.

Share rio-rgb_led-buffer-board

Check access before sharing the link.

Who can open this board

Anyone can open this board. No sign-in is required.

This link opens the latest version. Copying it does not grant additional access.

Loading…

README

rio-RGB_LED-buffer-board

a pcb that mounts to a RoboRIO and buffers the data stream for WS2812b and similar LED strips

The RoboRIO can generate a data stream for addressable "smart" LED strips built from WS2812b and similar LEDs. This data comes out on one of the PWM ports, but is much faster than the typical "servo" PWM data. As such, it is more sensitive to signal integrity issues, especially when splitting it to drive multiple LED strips with identical data.

The tutorial and circuit board here is inspired by a discussion on the Chief Delphi forums https://www.chiefdelphi.com/t/wrong-colors-from-ws2812-led-strips-driven-by-roborio/434199

The basic idea is that we use one WS2812b addressable LED as a "buffer", to recieve the data stream from the RoboRIO, and retransmit it downstream to one or more LED strips on the robot.

This has two benefits:

  • The output from a WS2812b is more nearly optimized to drive further LEDs than the output of the Rio itself.
  • We've always got a single LED on the RoboRIO for testing the RGB-output code, even when the other LED strips are disconnected.

References

https://docs.wpilib.org/en/stable/docs/software/hardware-apis/misc/addressable-leds.html

https://www.chiefdelphi.com/t/wrong-colors-from-ws2812-led-strips-driven-by-roborio/434199

Comments

No comments yet. Be the first to ask about this board.

Ask about this board

Sign in to BoardRepo

New here? Signing in creates your account; there is no separate sign-up.