Lamp

Make a lamp with adjustable brightness.

Move your hand up and down above the sensor to adjust the brightness.

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: Parts

You will need a HC-SR04 sensor, 8 ledpins, 8 220 ohms resistance and lots of wires.

Step 2: Circuit

Connect the parts as shown in pictures

Step 3: The Code

Download the code;

Be the First to Share

    Recommendations

    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    Discussions