Arduino Day and Night

This project is an easy introduction to using an Arduino.

Here we use a servo to visualize a measurement of light.

By using a LDR (light dependent resistor) we get an analog value that our Arduino can read and display with the servo.

Material Used:

  • Arduino Uno
  • USB-cable
  • Computer with Arduino IDE
  • LDR (10K)
  • Resistor 2,2 Kohm
  • Servo
  • Experimental board
  • Cables

Step 1: Hooking It Up

Different servos use different colorcodes of its cables. Check carefully before connecting.

Step 2: Programming Arduino

Use Arduino IDE to download example to Arduino.

The example is a modified Knob example from

For more info how a servo works read



    • Organization Contest

      Organization Contest
    • Trash to Treasure

      Trash to Treasure
    • Tape Contest

      Tape Contest



    2 years ago

    Cool little arduino project. Thanks for sharing the details!