In this video, we are going to learn about one of the most popular PIR sensors for hobby projects: HC-SR501.
In particular:
How does this PIR sensor work?
How to build a home security alarm with this PIR sensor and Arduino?
TIMESTAMPS
0:00 Intro
1:09 How does a PIR sensor work?
2:14 How to build a home security alarm with this PIR sensor?
2:55 Standalone test
4:00 Sensor properties adjustment
5:30 Wiring up the home security alarm system with a buzzer, a PIR sensor and a LED
6:33 Arduino code for the home security alarm system
7:29 Test out the home security alarm system!
Hardware Purchase Links (I recommend you to buy a kit instead of buying components individually, it will be cheapper. ):
1. PIR sensor
-Amazon(3 for $8.49): https://www.amazon.com/HiLetgo-HC-SR501-In...
-Aliexpress ($1.70): https://www.aliexpress.us/item/32568054444...
2. Official Arduino Kit:
-Amazon ($85.80): https://www.amazon.com/Arduino-Starter-Kit...
or
2. ELEGOO UNO kit:
-Amazon ($44.99): https://www.amazon.com/ELEGOO-Project-Tuto...
-Aliexpress ($34.99): https://www.aliexpress.us/item/32568049642...
The Arduino code link:
https://github.com/robotamateur123/play_wi...
コメント