How To Build A 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.

Arduino mood lighting

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
Arduino mood lighting circuit
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 Arduino IDE and processing code it requires the oscpc5 processing library and is iPod/iPhone/iPad controlled using touchOSC.

[box color=”#985D00″ bg=”#FFF8CB” font=”verdana” fontsize=”14 ” radius=”20 ” border=”#985D12″ float=”right” head=”Major Components in Project” headbg=”#FFEB70″ headcolor=”#985D00″]Arduino
ULN2003A ic or equivilent
common cathode RGB LED’s[/box]

 

For more detail: How To Build A Arduino Mood Lighting

 

 


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top