Arduino Uno R4 WiFi LESSON 43: Incorporating a PIR Motion Sensor Into Your Arduino Project

preview_player
Показать описание
Pick your Sunfounder kit up so you get the same results I do:

You can pick up the neat jumper wires I showed in the video here:

You guys can help me out over at Patreon, and that will help me keep my gear updated, and help me keep this quality content coming:

In this video I show you how to incorporate a PIR Motion Sensor into your Arduino project. The PIR sensor detects infrared, which is heat, and it detects motion. Therefor it detects warm moving objects. This is a great feature for projects associated with alarms. It has few false alarms because it looks for things that are both warm and moving. Enjoy!

#arduinor4wifi
#PIR
#motionsensor
Рекомендации по теме
Комментарии
Автор

I hadn't taken the buzzer and transistor off the breadboard from the previous lesson so I combined that with this one to make the buzzer sound when motion was detected.

gregp
Автор

SIR WE SHOULD NOT USE INTEGER IN THE DELAY STATEMENT YOU ARE THE ONE WHO TOLD US THAT IN YOUR AWESOME PREVIOUS TUTORIALS ON ARDUINO

kumardivyanshu
Автор

Hi Paul, thanks again for another interesting tutorial. Over the last week I got distracted from Arduino by going back over my vPython projects. I hadn't looked at vPython for months and found that I'd forgotten everything: and I mean everything. I've since got back up to speed and came to realize how elegant Python code is when compared to Arduino. Thanks again for both Python and Arduino.

alfredcalleja
Автор

Got it to work :) looks like a complicated little component but turns out it is very easy to use! Thank you for the explanation

DJL_Designs
Автор

Hi Mr. Paul. You may have this lesson planned, but I think a good lesson would be how to use the internal RTC on the R4 WiFi!

elevatedviewstcl
Автор

Thanks again Paul! Unfortunately my PIR-sensor seems to be broken and only returns HIGH (or 1). Turning the potmeters don't affect it either 😞 PS. After some searching I found this to be a common problem with this sensor. There are a lot of solutions to get it working. For me it was the voltage on the collector: switching from 5V to 3.3V made the sensor working properly...

Rene
Автор

While this works well, a better project would have incorporated a blinking LED and a loud buzzer when movement is detected. Good project!!!

sweetdragon
Автор

I didn't see you create a delay variable?😄

sweetdragon
Автор

It would be nice if you went over checking the component datasheets to see some of the values required for the math

RawrxDev
Автор

Thought of you Paul when this guy explained "States" ... oh he's the smartest guy in the world

vDCme
visit shbcf.ru