Arduino measures the voltage on a voltage divider composed of a resistor and an LDR (light dependant resistor).
A bar of LEDs are illuminated corresponding to the measured voltage.
* Learn how to use an LDR
* Learn how to illuminate a bar of LEDs according to a measured voltage
Step 1: What you need
* Arduino UNO
* Some LEDs
* A 560 Ohm resistor for each LED (or a value similar to that)
* A 10k Ohm resistor
* An LDR
* Breadboard for wiring up e.g. (http://www.oomlout.co.uk/prototyping-bundle-for-arduino-ardp-p-186.html)
* Some Wires