Ideation
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.
Components
- The switch: this is what allows the person to turn on the security alarm
- The red LED: this blinks when the alarm is triggered
- The buzzer: this beeps when the alarm is triggered
- 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.
Amazing video!