This is a simple Arduino project which is powered by the Arduino UNO(r3). The main hardware is just some LEDs, resistors and cables. It creates the effect of a light passing through multi-coloured LEDs. The result is pretty awesome and can be achieved by almost anyone of any level of experience.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Gather the Components Needed.
For this project you will need:
- An arduino board and usb connectivity
- Jumper cables
- LEDs (multi - coloured for effect)
- 220 ohm resistors
Step 2: Hook Up the Breadboard to Your Arduino
Get 2 jumper cables and connect 5V to + and GND to - on the breadboard. Now, the breadboard has power.
Step 3: Connect LEDs
Get multicoloured LEDs and connect them to the breadboard in a line. I used 4 colours: Yellow, Green, Blue and Red with 2 LEDs of each colour but you can use as many as you like.
Step 4: Attach Resistors
To make sure that the LEDs don't burn, we need to control the current. Get your 220 ohm resistors and attach one to every LED. Make sure that they are connected to the NEGATIVE (shorter) leg of the LED.
Step 5: Connect to Digital Pins
Connect wires from digital pins to the POSITIVE (longer) legs of the LEDs.
Step 6: Program
This is the program I used. Bear in mind that my LEDs were attached to digital pins 10 down to 3.