Arduino Night Light

by willwang050929 in Circuits > Arduino

114 Views, 0 Favorites, 0 Comments

Arduino Night Light

IMG_3743.JPG
IMG_3746.JPG
IMG_3745.JPG
IMG_3755.JPG
IMG_3748.JPG
IMG_3749.JPG
IMG_3750.JPG
IMG_3751.JPG
IMG_3752.JPG
IMG_3742.JPG

Hello everyone, this is my second Instructable. This project is an automatic night light. All you have to do is to type in the measure of the brightness of photoresistance. The value will be the point that you wish the light will turn on. If the value photoresistance measured is lower than the value you typed in, the light will turn on. There are holes on the box so that the light can form little dots on the wall and ceiling when the lights are on.

Supplies

Here are the things you need:

LEDs 1Green, 1Blue, 1Yellow

3Resistance

1Precision resistance

1Photoresistance

1Blade

1screwdriver

Circuit Diagram&Steps

IMG_3760[1].JPG

The first image is a circuit diagram drawn by hand, so it doesn't look well. The steps to make the night light are down here.

1. Put the LEDs onto the board

2. Connect LEDs to D-pins with wire

3. Put the photoresistance onto the board

4. Connect the photoresistance to A-pin with wires

5. Connect the LEDs to the negative role with normal resistance

6. Connect the photoresistance to the negative role with precision resistance

7. Connect the 5v pin to the positive role with a wire

8. Connect one of the GND pins to the negative role with a wire

Code