Lamp

1,725

19

Posted

Introduction: Lamp

Make a lamp with adjustable brightness.

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

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;

Share

    Recommendations

    • Microcontroller Contest

      Microcontroller Contest
    • Spotless Contest

      Spotless Contest
    • Science of Cooking

      Science of Cooking
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    Comments