"This is basic arduino tutorial; turn on LED when it's dark and turn off when is light.
Required Hardware : Arduino Board LED LDR (Photoresistor) 220 and 10K Resistors Jumper Wires Breadboard"