This circuit using the video signal coming from a security camera to detect the darkness, then switch ON the LED automatically.
Parts list:
IC LM358
Potentiometer 1M
Resistor 22 ohm 0.5 Watt
Resistor 1K 0.25 Watt
Resistor 56K 0.25 Watt
Resistor 560K 0.25 Watt
Capacitor 3.3uF
Capacitor 1uF
Transistor 2N2222
1watt LED (4pcs)
Circuit:
Watch this Video for more details:



