Arduino Mood Lighting

20,080

36

14

Introduction: Arduino Mood Lighting

This instructable will show you who to build a rgb lighting system with an arduino. You can also control it with an ipod/iphone/ipad using touchOSC. In my previous instructable I showed how to control one rgb led in this you can control heaps with a single chip the ULN2003A.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Parts

You will need

Arduino
ULN2003A ic or equivilent
common cathode RGB LED's(- + - -)
jumper wires
breadboard or perfboard
Resistors based on your led(I used one per channel)
Cable for linking RGB LED's around your home(optional)

Step 2: The Circuit

Red to pin 9
green to pin 10
blue to pin 11

Step 3: Program

Use the code below for your system

There are two sets of code bellow one is a simple flash red, flash green, flash blue and is my code.The other is ipod controlled with aduino IDE and processing code it requires the oscpc5 processing library and is ipod/iphone/ipad controlled using touchOSC.

Step 4: Add-Ons

This was a brief instructable showing you how to build an arduino mood lighting system. You could add switches to each channel or add activity lights to each channel or add more channels. There is the new ULN2803 which is 8 channel not seven but is use this chip because you can have several channels and a common anode or cathode and have it run down 8-core wire. 

Be the First to Share

    Recommendations

    • Magnets Challenge

      Magnets Challenge
    • Raspberry Pi Contest 2020

      Raspberry Pi Contest 2020
    • Wearables Contest

      Wearables Contest

    14 Discussions

    0
    djmason9
    djmason9

    6 years ago on Introduction

    I did one of these too!
    http://mypocket-technologies.com/2013/10/arduino-mood-light-project/

    0
    DarrenM50
    DarrenM50

    Reply 2 years ago

    i updated my links heres my version of this project http://bitcows.com/?p=17

    0
    pachytrance
    pachytrance

    4 years ago

    thanks for share. I'll try

    0
    johnnysoko
    johnnysoko

    8 years ago on Introduction

    This is a beginner question, but if you were to make this without the breadboard, how would you mount the ULN2003A to the Aurduino?

    0
    PoisonMondo
    PoisonMondo

    Reply 8 years ago on Introduction

    it's hard to mount it withoud a breadboard or perfboard, if u have a protosheild u could solder it onto that to make it more compact.

    0
    ralnraln
    ralnraln

    8 years ago on Introduction

    what does the final product look like / do? Post a vid! or a picture series of it in action!!

    0
    PoisonMondo
    PoisonMondo

    Reply 8 years ago on Introduction

    ill post a video later, i destroyed this model so ill have to build it again

    0
    PoisonMondo
    PoisonMondo

    Reply 8 years ago on Introduction

    also i dont have the telephone cable anymore that runs to the other module so it will just be the one on the breadboard

    0
    d77uk
    d77uk

    8 years ago on Introduction

    Just wondering what the purpose of the IC is? Can't you just do this with PWM direct from the arduino?

    0
    PoisonMondo
    PoisonMondo

    Reply 8 years ago on Introduction

    the chip is used for driving heaps of leds for large scale purposes if you aren't using to many led's you can just use the pins straight off.

    0
    PoisonMondo
    PoisonMondo

    Reply 9 years ago on Introduction

    i am not quite sure but i can control 25 rgb leds without any problems:)