Arduino Beautiful Night Light

by asiachen in Circuits > Arduino

157 Views, 0 Favorites, 0 Comments

Arduino Beautiful Night Light

My product is the Arduino LED Night Light. About my project, I used transparent cap to make LED look nicer.

I follow the link the website for reference.

Materials

截圖 2021-04-19 上午12.46.47.png

-LED- x1

-Jumper Wire- x3

-Resistor- x1

-Scissors- x1

-USB cable- x1

-Arduino Leonardo- x1

-Breadboard- x1

-Glass cap- x1

-Shoes box- x1

Circuit Connection

截圖 2021-04-19 上午8.51.37.png
截圖 2021-04-19 上午10.37.00.png
截圖 2021-04-19 上午10.37.23.png
截圖 2021-04-19 上午10.38.04.png
截圖 2021-04-19 上午10.38.15.png

1. Put the LED on the breadboard.

2. Connect the Jumper Wire from the same line as long leg to your output

3. Connect the resistor from the same line as the short leg to B-48

4. Connect another jumper wire from the same line as the resistor to the negative of the breadboard

5. Connect the final jumper wire from the negative of the breadboard to the GND

Programming

截圖 2021-04-19 上午12.33.13.png

To upload the code into Arduino, you'll need to attach your Arduino broad with pc using the USB cable

This link is for the code that I used: https://create.arduino.cc/editor/asiachenhello/1ba9d0d9-c8d0-4b13-b5bb-ab1538dd2511/preview

Making Exterior

截圖 2021-04-19 上午10.42.19.png
截圖 2021-04-19 上午10.42.28.png

1. Take a box and cut a small hole for LED to cross through.

2. Put your transparent cap on the LED/

!Done!

陳洪翊Asia Chen - Arduino beautiful LED Night Light
截圖 2021-04-19 上午12.46.47.png

After you upload the code into Arduino, you can connect the USB cable to the power bank for the look.