Inspired by various LED Throwies, blinking LEDs and similar instructables you ant to do version of an LED controlled by a microcontroller,The idea is to make the LED blinking sequence reprogrammable. This reprogramming can be done with light and shadow, e.g. you could use your flashlight
An LED is used as output. As input used an LDR, a light dependent resistor. This LDR changes its resistor as it receives more or less light. The resistor is then used as analog input to the microprocessors ADC (analog digital converter)
– 2 x 1K resistor
– 1 x LDR (Light Dependent Resistor), e.g. M9960
– 1 x Low-current LED, 1.7V, 2ma
– 1 x Atmel ATtiny13v, 1KB flash RAM, 64 Bytes RAM, 64 Bytes EEPROM, [email protected]
– 1 x CR2032, 3V, 220mAh
Visit Here for more.