Arduino Uno + Light Sensor

better use LDR for this purpose cheap and best..simply use analog read program to callibrate that