LDR VT90N2
A photoresistor or light-dependent resistor (LDR) or photocell is a light-controlled variable resistor. The resistance of a photoresistor decreases with increasing incident light intensity. See also this Wikipedia link
specifications
nightlight ldr test
nightlight_ldr_test_program.zip