This simple circuit can be used as an automatic bathroom lamp controller. It disables the bathroom lamp at daytime and enables it at night. The circuit is