Browsed by
Tag: led

Driving a WS2811 RGB LED Strip with an Arduino

Driving a WS2811 RGB LED Strip with an Arduino

I recently purchased a WS2811 RGB LED strip for PC case modding purposes. I will be making an ATMega-based controller for it, so I decided to use an Arduino for testing and prototyping.

I found two libraries capable of driving this strip:

Plus many great links regarding the WS2811 at the Noisebridge Wiki.

I recommend trying out funkboxing’s FastSPI2 effects as great examples of using the FastSPI2 library. You will need to use the line LEDS.addLeds<WS2812, 13, GRB>(leds, NUM_LEDS); to properly initialize the code.

Multi-colored Case Lights

Multi-colored Case Lights

Well, here’s the front of my recently-rennovated computer case. By ‘rennovated’, I mean “replaced old-and-boring blue LEDs with the multicolor color-changing LEDs of coolness.

How I managed this was to:

  1. Remove the front of my computer case. There were four screws holding it firmly in place. It then snapped out.
  2. Unplug the case wires that were plugged into the motherboard
  3. Remove lightbars, which were held in with faux-metallic brackets
  4. Replace LEDs with Color-Changing LEDs
  5. Test the LEDs, and seal it all up with electrical tape
  6. Reinstall lightbars and brakets, reinstall the front cover, and reconnect the wires.

:thumbsup:

See more about these fun little LEDs here. The case front has 4 LEDs in it, so each side has a top and a bottom LED, making some interesting colors in the middle. Even more interesting, the little airbubbles in the plastic lightbars glow two colors: one for the top, and one for the bottom.