This circuit was found in the Radio Electronics magazine of May 1990. The supply voltage depends on the relay and more sensors can be used.