Circuit developed by atmega8l and LDR.The progam and circuit diagram will be uploaded shortly Post time: Mar-20-2017