PIR Alarm

by Andres Bg in Circuits > Arduino

210 Views, 1 Favorites, 0 Comments

PIR Alarm

Screen Shot 2021-06-11 at 10.20.40 AM.png
PIR SEN ARDUINO

I have been designing and building these program for the past months.

I had the awesome chance of taking an elective class called digital electronics where we learned the basics of programming. In these project, we had the freedom of making anything you want however It needed to be a project that would solve any problem therefor I chose to solve 2 problems at the same time 1. I am the youngest brother so whenever I am sleeping my brothers walk into the room and turn on the lights, so I made a sensor light where whenever you walk close it will have some light. 2. A alarm that you can place anywhere and it will let you and your whole house know if someone is in your house.

Supplies

1. PIR Sensor

2. Potentiometer (10 kΩ)

3. LCD 16*2

4. 3 LED

5. 5 Resistors (3 resistors of 220Ω, 1 resistor of 10kΩ, 1 resistor of 1Ω)

6. 1 Push Button

7. 1 Piezo

8. Many Cables

9. Bread Board

10. Arduino Uno

(NOTE: I bought all materials at my local store, therefore, they were much cheaper)

Step 1: Analyze and Create

Screen Shot 2021-06-11 at 10.54.56 AM.png

What is the problem?

You are too lazy to turn on the lights so you want a sensor that can turn on your lights when you get home. Also, create an alarm that you can place anywhere whenever you want.

What are the requirements?

Requirements for this project are to make something challenging and helpful in our life.

What are the constraints?

My personal constraints are making something that is not too expensive and that can actually help me in my day-to-day life.

With these info, I made a simple sketch to see what I want to do.

Step 2: Tinkercad and Code

Screen Shot 2021-06-11 at 11.00.19 AM.png

I created my project in tinkercad so I could replicate that with real-life tools.

And also made my code and started experimenting until it was perfect.

LINK TO TINKERCAD AND CODE

Step 3: Create

Screen Shot 2021-06-11 at 10.20.40 AM.png

The final step is to buy your materials and replicate what you did in tinkercad but in real life, It can take a while and become complicated, there is no need to stress, and after hours of working you will have your final prototype.