The Justice Lamp

Made by:
Name:潘麒安 Andrew Pan
School ID: J05111
Class:9E
In this report, I am doing a night light that can illuminate in the dark. When the sensor I set up detects that the surrounding brightness is dark, I will send the message to the motherboard and then transfer it to the motherboard. The light bulb causes the light bulb to flash in accordance with the flashing method I designed.
Supplies
# In my report, I need these materials:
-1 Arduino Leonardo board
-1 photosensitive sensor
-1 photoresistor (Caf > Black > Orange > Silver)
-8 normal resistance (silver > red > blue > silver)
-31 breadboard connectors
-One USB cable
-5 LED bulbs (white)
-3 LED bulbs (yellow)
-4 pieces of cardboard (length x width) (17x17)
- 2 pieces of cardboard (length x width) (17x10.5)
-1 piece of cardboard (length x width) (17x8)
-5 blank white paper
- hot melt glue gun -computer
- Utility knife
- a box of colored pens
Prepare Materials


(1) Prepare the materials mentioned above.
(2) Cut one of the five pieces of wood (17x17) into the hole (3.3cmx3cm) at a hole of 1cm from the lower right corner [Fig. 1]
(3) Cut 3 of the other 4 pieces of wood (17x17) to the pattern you want [Fig. 2]
(4) Take out some paper and color it around the cut pattern
Bonding


(1) Using the last piece (17x17) of untouched wood as the base
(2) Paste the paper that has just been colored onto the cardboard of the shape [Fig. 3]
(3) Apply the three pieces of self-painted wood board and the cardboard of [Fig. 1] to the base paperboard with hot melt adhesive [Fig. 4]
Breadboard Joint

Install the parts according to the prepared materials and the following breadboard drawings:
Coding
Copy the coding in your Arduino software code:
Interior Designing


(1) Take out the (17cmx10.5cm) boards and (17cmx8cm) out and line out the position of the board so the board can block the lights from other colors of LED light bulbs. [Fig.5]
(2)Take out the USB cable and connect your code on the Arduino board. [Fig.6]
Done!





Take several photos and videos to record down your final project!!!