Download a PDF version of this page: Light-sensitive Alarm Project (PDF)
The circuit detects a sudden shadow falling on the light-sensor and sounds the bleeper when this happens. The circuit will not respond to gradual changes in brightness to avoid false alarms. The bleeper sounds for only a short time to prevent the battery running flat. Normal lighting can be used, but the circuit will work best if a beam of light is arranged to fall on the light-sensor. Breaking this beam will then cause the bleeper to sound.
The light sensor is an LDR (light-dependent resistor), this has a low resistance in bright light and a high resistance in dim light.
Using the 7555 low-power timer ensures that the circuit draws very little current (about 0.5mA) except for the short times when the bleeper is sounding (this uses about 7mA). If the circuit is switched on continuously an alkaline PP3 9V battery should last about a month, but for longer life (about 6 months) you can use a pack of 6 AA alkaline batteries.
This project uses an edge-triggered 555 monostable circuit.