This automatic night light circuit with a LED is simple, interesting and very easy to do. The circuit allows a better understanding of the operation of a phototransistor and thus be able to use it in other applications. (PCB)
This circuit shows one or two LEDs directly connected to the outlet (120 VAC or 240 VAC). The reduction of the AC input voltage to one that is suitable to use in a LED diode is achieved using a capacitor and a resistor.