This latched circuit uses an LDR as a sensor. It must be powered by a voltage of 5 V.