This handy little circuit can tell the difference between darkness and light, making it very useful for switching on and off signs, porch lights or other things when it gets dark or light.
R1 Adjusts sensitivity