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.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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.

Be the First to Share

    Recommendations

    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    2 Discussions