Automatically turn lights on/off using a BC547 transistor-based day-night sensor. Ideal for LED lamps or night lights without complex ICs.