Step 17:

Finally we will connect the Arduino to the first register (the very far-right one, or the bottom one in the schematic/diagram). Connect digital pin 8 of the Arduino to pin 12 of the shift register. Then connect pin 11 of the Arduino to pin 14 of the shift register. Lastly, connect pin 13 of the Arduino to pin 11 of the shift register. See images if you get lost.

74HC595 (SCLK) Pin 11 -> Pin 13 (D13, SCK) of the Arduino
74HC595 (RCLK) Pin 12 -> Pin 8 (D8, ICP1) of the Arduino
74HC595 (SER) Pin 14 -> Pin 11 (PWM, MOSI) of the Arduino

Note: The bottom-most shift register doesn't show that it is the one connected on the Arduino in the illustration. Make sure this is the one connected to the Arduino!
<p>Awesome! Finally done, although I had some problems with a &quot;collect 2 error ID(...)&quot; but realized I downloaded the wrong library XD. Where can I learn more about this code and how it works precisely? Thank you so much :3</p>
<p>I turned mine into a rainbow poptart cat. This was fun!!</p>
good job 74HC595
<p>The schematic answers a few doubts I've had about how to daisy chain multiple 74HC595 shift registers - thanks for that.</p><p>I first thought you hadn't included schematics, but you did. Schematics are VERY important for documentation purposes, and their use needs to be encouraged.</p><p>The only slight problem is that the 74HC595 and ULN2803 are shown inverted with respect to each other in the schematic. It makes the schematic harder to read, but that might be just me.</p>
Thanks alot I realy learnt alot<br>but do you know any tutorials about shift registers coding I want to learn it<br>thanks
<p>Hi! I couldn't find </p><p>Link to ShiftPWM: http://code.google.com/p/shiftpwm/downloads/detail?name=ShiftPWM_v1_03.zip<br> Link to RainBoard Code: http://code.google.com/p/rainboard/downloads/list</p><p>plz help me....</p>
<p>Can TPIC6C595 drivers be used instead of the 74HC595/ULN2803 combination in this setup?</p>
If the Darlington drivers can handle 500ma each, and the 3 RGB LEDs on each channel are only drawing 60ma together, would it be possible to use 6-LED strips (120ma) or even half a strip (15/3 * 60ma = 300ma)? Or is there some other limiting factor? <br> <br>Maybe it's 60ma x 3 colors per LED = 180ma. But even then I should be able to use 6 LED lengths.
Sorry, I can't match up the diagram and the text. According to the text, both register pins 12 and 14 are connected to Arduino pin 8. According to the picture, register pin 12 is connected to Arduino pin 8 register pin 14 is connected to Arduino pin 11. <br> <br>Am I reading it wrong? If not, which is right?
can i used an ordinary &quot;LED&quot; instead the RGB led strip.?? Because RGB led is not available in my place... <br>
i love futurama
I want to ask the same?
cool! is it possible to sync them to music and use them to build a mini dance floor? and add random colours etc etc? im not familiar with coding but i have a few frnds who could help me if im able to explain to them clearly...
In the &quot;INTRO:RainBoard&quot; the schematic to show there&acute;s power 12v in the leds together with the pin 10 uln2803. is it correct ? <br> <br>The ULN2803 don&acute;t need power in Pin 10 ???
can I make it fade more slowly? rather than have it change so fast, I'd want one color to be displayed for a longer period of time and then slowly fade to the next.<br><br>haven't checked the code yet, but I figure I'd just have to change some delay times ?
I am getting errors with CShiftPWM.cpp file while compiling. any suggestions ? <br>
This is an excellent instructable! I love your analogy for the shift registers too. I'm waiting on some parts so i can implement this into a solar powered, recycled bottle light fitting. Thanks for the instructable!
This looks so interresting , I would like to study the code ...The RainBoard file doesn't have a pde file as it is an ino ? Just wondering if I am missing something ? <br>Thanks for the share, you did an awesome job ! <br>Build_it_Bob
After Arduino IDE 1.0's release, sketches are now saved in the *.ino format, with previous versions saving in the *.ide format. I'm not sure if the *.ino format will work with previous versions of the Arduino IDE, but download the latest version and it should upload to the Arduino with no problems. If you have any questions or run into any road blocks, feel free to post a comment here and I will glad to help you out! ^^
Is there some code to try this out? Can someone tell me how to setup spi in Arduino with the 74C595? setBitOrder lsb or msb. setClkDividers and setDataMode<br>Thanks<br>Don
Nice )
Hi otbpaintball, <br> <br>Thanks for posting this project. This is just too kool! :0)
Awesome project!
Perfect! This instructable has all the basic information I have been looking for to run multiple LEDS on the Arduino Uno I just received for Christmas! Thank you!
I'm so glad you like it! If you want to learn more about Shift Registers and the Arduino, be sure to check out the ShiftOut tutorial on the Arduino's main site: http://www.arduino.cc/en/Tutorial/ShiftOut. Good luck on your future projects and have fun with your new Arduino!

About This Instructable



More by otbpaintball:Samsung Gear VR - Head-mounted Cable ManagementRainBoard - RGB LED Rainbow Fader
Add instructable to: