Many people have habits to sleep while listening to music. So, device remains switched ON for the long durations which lead to wastage of energy. To avoid [[wysiwyg_imageupload::]]this, we have described a simple circuit which automatically become OFF after the set time. In this circuit, device become on while sensing the darkness , hence whenever you switch off the light, CD player connected to relay becomes ON and after set time it becomes OFF so there is no need to off the device as it turn off automatically so there is no wastage of electricity also.The circuit is built around the CD4060,LDR and few more components. IC CD4060 is a 14 stage ripple carry binary counter, divider and an oscillator. Its built in oscillator is main feature of this IC that’s why it can be used in numerous application like flasher, clock generator in timer circuits. LDR is a light dependent resistor its property depends upon the intensity of light falling on it.