Arduino Day and Night


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



    • Oil Contest

      Oil Contest
    • Casting Contest

      Casting Contest
    • Planter Challenge

      Planter Challenge

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




    Cool little arduino project. Thanks for sharing the details!