How can you design a circuit for an automatic night light?
To design a circuit for an automatic night light, use a photoresistor (LDR) to detect ambient light levels, connected to a comparator or an operational amplifier. This setup controls a relay or a transistor switch that turns on the light (like an LED) when darkness is detected. A timer or a dimmer might be added for additional functionality.