Introduction: Arduino Powered Night Light

Picture of Arduino Powered Night Light

this is a picture on how to setup the wiring and the photo resistor and the LED light. if you hook it up identical to this it will work fine.

Step 1: Materials List

1. arduino

2. LED light

3. bread board

4. wires (20ga)

5. Photo resistor

6. regular resistor

7. power source

Step 2: Programming

Step 3: Functioning Night Light

when the photo resistor is covered to simulate being in the dark, the light comes on. this is made possible by programming it with an "if, else" statement that states if the sensor senses dark it turns the light on and if it senses there is light the LED turns off.

Comments

Gonzalof1 (author)2015-01-19

you must add hysteresis!

seamster (author)2015-01-12

Nice and simple, thanks for sharing this guide!

About This Instructable

1,807views

10favorites

License:

More by Electronics101:Arduino Powered Night Light
Add instructable to: