PWM over Shift Register Library (For RGB LED's)

Yay! Looking at the images on your website, I was able to reconstruct the design. I have a little "flitter" after it loops through the function, I put a 103 cap on the latch pins, not sure what's happening there.

For those asking for a schematic, in his code, the PWM pins are

#define __dataPin 9
#define __clockPin 10
#define __latchPin 11

A 75HC595 wires up pretty easily, you can reference the ShiftOut tutorial here http://www.arduino.cc/en/Tutorial/ShiftOut

As for the daisy chain of the 595's....

PIN 11 SH_CP Shift register (clock pin)
PIN 12 ST_CP Storage register clock pin (latch pin)

are linked from one to the next, so from 11 to 11 and from 12 to 12.

The serial data is output on PIN 9 Q7" Serial Out

and PIN 14 DS Serial data input.

So from the first 595 to the second go from pin 9 to 14 and so forth.

Here is a vid with 4 RGB's.

I will expand to 16 and update here in a bit.

  1. going 32 next
    - YouTube