Description Circuit showing a morning alarm.Here we have used a switching transistor.When the sun rise up ldr is low resistance so the ldr is conduct and a positive volt coming to the base of the Q1 there for the transistor will switch.This time the buzzer is ON . Adjust the preset control the intensity of light.
Component Required Resistor 4.7k preset , LDR