This simple circuit with LDR was found in the Radio Electronics magazine of July 1992. Any general-purpose transistor can be used. The power supply is according to the relay.

This simple circuit with LDR was found in the Radio Electronics magazine of July 1992. Any general-purpose transistor can be used. The power supply is according to the relay.