http://microcontrollerslab.com/automa...
This video is about Automatic control of street lights using PIC16F877A microcontroller. It works on the principle of change in intensity of light like a light sensor.Complete code
To download code check this link: