Arduino Mother's Day LED Artwork
by vivianchin in Workshop > Lighting
162 Views, 1 Favorites, 0 Comments
Arduino Mother's Day LED Artwork
This artwork is for people who do not know what to give to their mother as a gift on international mother's day. It can be artwork with a carnation drawing, and "Happy Mother's Day" in the morning, and be a LED heart lamp decoration at night.
Prepare What You Need
Arduino Board (Leonardo/Uno) & a breadboard x1
LED red x9 white x1
Resistance x3
USB Adapter cable x1
Wire x 44
Computer x1
Cardboard 26.5cm x 42cm x1
Cardboard box 26.5cm x 10cm x 42cm x1
Scissors x1
Box cutter x1
watercolor x1 box
Sketching paper 8k x2
Connect Wires and LED on the Arduino Breadboard
1. Connect GND to positive with 1 wire.
2. Connect positive to j10, j15, j20, with 3 wires.
3. Connect g 10 to e10, g15 to e15, g20 to e20, with 3 resistances.
4. Connect pin D13 with a wire, to another wire, then to the negative side (long) of a LED. (picture 2)
5. Connect positive side (short) of a LED with a wire, to row 10, 15, or 20.
6. Repeat step 4 and 5 for D4~D12, total of 38 wires.
Done for connecting wires and LED on the Arduino breadboard!
Write Arduino Code
Explanation for my Arduino Code:
1. First part: pinMode( ? , OUTPUT); // sets the digital pin as output
meaning: Pin ? was connect to a LED.
2. Second part: void loop(){ // put your main code here, to run repeatedly:
meaning: codes below will be on loop.
3. Third part: digitalWrite( ? , HIGH ); // sets the digital pin on/off
delay( 5000 ); // waits a few milliseconds
digitalWrite( ?? , HIGH ); // sets the digital pin on/off
meaning: LED that Pin ? connected to lights up (HIGH), and after 5 seconds (delay 5000), LED that Pin ?? connected to will lights up (HIGH).
4. Fourth Part: digitalWrite( 4 , LOW ); // sets the digital pin on/off
delay( 5000 ); // waits a few milliseconds
meaning: All the LEDs will turn off (LOW), and wait for 5 seconds (delay 5000), then start again from Third part (because of Second part, the code is on a loop)
https://create.arduino.cc/editor/vivianchin/5b2065...
This is a link for my Arduino code!
Make the Case of the Arduino Breadboard (artwork)
1. Use the 26.5cm x 42cm cardboard and poke 10 holes, as a shape of heart.
2. Place each LED into the 10 holes.
3. Cover one side of the cardboard with sketch paper.
4. Draw a Carnation with water color, (pink, white and green), and write "Happy Mother's Day" on the sketch paper.
5. Poke a hole on the side of the cardboard box (26.5cm x 10cm x 42cm), for the USB cable to connect to electricity.
6. Cover the side of the cardboard box with sketch paper.
DONE WITH EVERYTHING!
This is a link for my video showing my art work!