6 · Full projects
Project: intrusion alarm
Advanced35 min
Goal
Detect movement, fire the siren and arm/disarm with a button.
Why it matters
Combines detection, timing, a state machine and signalling.
Steps
- 01Ultrasonic or light sensor as the detector.
- 02Arming button with a status indicator.
- 035 s delay before triggering.
- 04Siren (buzzer) + flashing LED during the alert.
This tutorial runs inside the Circuitly simulator: your wiring and your code are checked automatically at every step.
Next tutorials
- Project: thermostat
Regulate a target temperature with hysteresis and a display.
- Project: data logger
Sample a sensor at a steady rate, timestamp it and store it.
- Project: obstacle-avoiding robot
Move forward, detect an obstacle under 20 cm and go around it.
- Project: smartwatch
Show time, steps and temperature on the OLED, with button navigation.