Home Security – Week 9


For this week, I wanted to use digital and analog sensors to create a home security setup. The idea is very simple, and it consists of four key components.


  1. The switch: this is what allows the person to turn on the security alarm
  2. The red LED: this blinks when the alarm is triggered
  3. The buzzer: this beeps when the alarm is triggered
  4. The pressure pad: this detects if anyone is attempting to enter the house

In addition, there is a lamp controlled via the potentiometer. You can think of this as a bedside lamp that the person turns off before going to bed.

Schematic and Code

Find the code here.


One thought on “Home Security – Week 9”

Leave a Reply