Hand Made LED Night Light!

by bjyxszd08051005 in Circuits > Arduino

126 Views, 1 Favorites, 0 Comments

Hand Made LED Night Light!

截圖 2021-01-04 下午12.00.32.png

Can you imagine having a beautiful and free night light in your room? You can change your color and your light shield all on your own, and with just a few easy steps, you can also make your own special night light!

The Youtube Link of my night light!

Supplies

You will need:

Arduino Leonardo x1

Some wires

LED light bulbs x2

Breadboard x1

Resistors x2

A4 paper x1

A picture x1

Tape x1

Pair of scissors x1

Build Up Your Circuit Board!

FHMNJOOKHT4TW4N.jpg
FTFTPCFKHT4TW06.png

The first step is to assemble your circuit board. It is very easy to do, just plug in the holes in the one I have put in. Is my picture too blurry? Look at the drawing in the next picture. You can choose to do the same as the left picture or the right picture since they are the two same things. REMEMBER to look at your positive and negative!! To not do the opposite way or your Arduino might break while you give it electricity!!!

Choose your LED light bulb color first! You can choose any color you like!

Code Your LED Light Bulbs!

FXY6EAJKHT4TW6J.png
FSQ4K4RKHT4TW6K.png
FLS8XKZKHT4TW6P.png

It is also easy to code!

You can also make a replica of my work, but I will still teach you about the meaning of the lines I code.

In the beginning, we have to set up the two LED lights to 0, which means that there is no light at all.

Then, we repeat one of the LED its brightness 255 times, which means that the light will slowly begin from no light to the full bright light. The full bright light will stay for 50 milliseconds, then the second LED will turn on also for 30 milliseconds.

The two different color lights will blend and make a beautiful color. Then, the first LED light bulb will begin to fade away. Some milliseconds later, the other one will also fade away, and this step will continue to repeat again and again.

The link of my code: https://create.arduino.cc/editor/bjyxszd08051005/d...

Begin to Decorate Your Night Light Shield!

44413.jpg

A beautiful night light must have a shield to prevent the dazzling light. I made an\ easy light shield, and send the link at the bottom.

The Youtube link of the steps to do:

Begin to Use It!

Last, place your light shield on your LED light bulbs, and begin to have fun!

P.S. You might want to cut a hole on your light shield to place your paper firmly on the wires.

Have Fun!