All tutorials

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

  1. 01Ultrasonic or light sensor as the detector.
  2. 02Arming button with a status indicator.
  3. 035 s delay before triggering.
  4. 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