Free virtual lab

Intruder alarm

A PIR sensor watches a doorway; when someone walks past, the Arduino flashes an LED and sounds a buzzer.

  1. Wire the PIR output to a digital input
  2. Drive the LED and the buzzer from two outputs
  3. 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.