Portable Christmas Lights

by Gurjas in Circuits > Arduino

203 Views, 0 Favorites, 0 Comments

Portable Christmas Lights

IMG_0908.jpeg

In this step-by-step tutorial, you will learn how to create a small christmas light system that changes patterns.

Supplies

IMG_0907.jpg

7 Large Jumper Wires(6 should be same color), 12 Short Jumper Wires(6 should be same color), 6 Red LED's, 6 Green LED's, 6 Yellow LED's, 2 330 Resistors, 2 10k Resistors, 2 560 Resistors, 1 Breadboard, 1 Arduino.

LED Placement

IMG_0909.jpg

Add all LED's from right to left, spacing and order of LED color's don't matter.

Resistor Placement

IMG_0910.jpg

Connect resistors to positive sides on the LED's. NOTE: 560 resistors go on red LED, 10k resistors go on green LED, and 330 resistors go on yellow LED.

Short Wire Placement's

IMG_0911.jpg

Place short wires in the way from the following photo. NOTE: All multicolor wires should connect to negative side to LED's, while same color wires connect to negative charge line.

Long Wires to Ports

IMG_0914.jpg

In front of each resistor, connect the same color long wires. After connecting them from one side, connect the other sides in the arduino ports from 12 to 7. After that, connect the remaining wire from the negative charge line into ground.

Code for the Circuit

IMG_916.jpg
IMG_918.jpg
IMG_920.jpg

Implement this entire code into the arduino software, you may have to make it yourself instead of copy pasting it in.