For this Keyhole Light Circuit, we need a light sensor to detect the light condition and some circuitry to control the Light sensor. We are using a LDR to get control according to the intensity of light and transistor for switching.