Free virtual lab
Intruder alarm
A PIR sensor watches a doorway; when someone walks past, the Arduino flashes an LED and sounds a buzzer.
- Wire the PIR output to a digital input
- Drive the LED and the buzzer from two outputs
- Add a push button to reset the alarm
Loading the lab…
Try free. Guest progress lasts while this page is open. Register to save on this device.

