Your Second Project: A Simple Alarm Circuit
Bringing together a 555 timer, a sensor input, and a buzzer into your second real circuit — a simple switch-triggered alarm.
Lesson 20 built a single blinking LED using a 555 timer in astable mode. This lesson combines several ideas from the lessons since then into one slightly more complete project: a simple alarm that stays silent until a switch (standing in for a door or window sensor) is triggered, then sounds a buzzer using the 555 timer's astable output.
What you'll need: a 555 timer IC, a small piezo buzzer, a push-button or switch, two resistors and a capacitor for timing, a pull-down resistor for the switch input, and a breadboard.
How it works: the switch controls the 555's reset pin (pin 4) — a feature of the chip we didn't need for the simple LED blinker. Held LOW, the reset pin forces the 555's output to stay LOW no matter what the timing components are doing, keeping the circuit silent. Pull the reset pin HIGH (by closing the switch), and the chip immediately begins its normal astable oscillation, driving the buzzer with a repeating tone for as long as the switch stays closed — exactly the same square-wave output behavior from Lesson 22, just now gated by an extra input instead of running continuously.
Build order: wire the 555 in the same astable configuration as your Lesson 20 blinker, but connect the output (pin 3) to the buzzer instead of an LED, add a pull-down resistor between the reset pin and ground so it defaults LOW when the switch is open, and wire the switch between the reset pin and your positive supply rail. Double-check your resistor and capacitor values against the 555's datasheet formulas (Lesson 39's skill in action) if you want a specific tone frequency.
From here, the natural next step is swapping the manual switch for a real sensor — a reed switch, a PIR motion sensor, or an ADC-read threshold from a light sensor — turning this same core circuit into an actual working alarm.