Christmas LED Show
This is a machine that can have a Christmas show at night time when there's no light. Different kinds of setups for the LED can give you different kinds of feeling about Christmas.
Using the color of white, blue, and orange to show the scene of a snowing cold Christmas night there is still people's homes have still turned up their lights at home waiting for Santa's coming.
Prepare the Material You Need
Here are things you need for making Christmas LED:
LED light -
orange X3
blue X3
white X3
Short wires X18
Medium wires X1
Breadboard X1
Arduino Leonardo
USB line X1
Styrofoam board X2 (19cm X 12cm)
Black pen X1
Creating the Electric Circuit
You need to plug all the LED lights in the same horizontal straight line. Leave space for a later step and plug the short wire connects to the positive electrode for the short side of the LED line. The long side of the LED line will be using another short wire to connect with the digital on the Arduino Leonardo. At the last plug, the medium wire connects with the GND on Arduino Leonardo and the positive electrode that the short wire connects with earlier.
Like what the picture show on the top looks like.
Pack the LED Inside the Christmas Scene
Use the black marker to draw the Christmas scene on the styrofoam board. Put another styrofoam board in the middle of the LED light and wire (like the right bottom picture) then you finish packing your Christmas LED scene.
Creating the Code
There should be five kinds of setups for the LED light sing the code below.
https://create.arduino.cc/editor/cynthiawu01163/b1fed013-0ff7-4886-8202-d3f7eb921cf1/preview
Finish Product
This should be what it looks like in the dark.
參考原址:https://www.instructables.com/Arduino-LED-Chaser-With-5-Effects-/