Instructables
Picture of Arduino Basics: PIR Sensors
Welcome to the next installment of Arduino Basics!

This instructable will teach you how to use a PIR sensors with the arduino, and we wil build a simple motion detector!


 
Remove these adsRemove these ads by Signing Up

Step 1: Supplies

Picture of Supplies
For this instructable you will need the following:

1 arduino (with protoshield to make life easy)
1 LED of any color
1 PIR sensor from Parallax (you can find these at most radio shacks)
Solid wire to hook it up

Step 2: Setup

Picture of Setup
arduino3.JPG
The wiring is pretty simple, the PIR sensor has screen printed: + - out

Hook the + to 5v, - to ground and out to pin 7

The take the LED and put power to pin 8 and ground to ground.

If its confusing, take a look at the pictures!

Thanks for sharing this! Very helpful for me.

pcame1 month ago
Yo utilice un sensor PIR como interruptor para el baño. Las manos húmedas son peligrosas, cuando no se tiene interruptor diferencial. Tiene una aprobación de 8/10 en mi casa, se resisten al cambio. Saludos
temp_-1391328749.jpg
how do you get this to send a txt message?
I have made a motion activate camera and I am looking to get it to send me a text message or email when a picture is taken...any thoughts?
thanks

I know this was posted quite some time ago, but in case you are still wondering about how to get a txt or email, you will need an ethernet controller. With an ethernet controller, you can utilize the internet and send either an email or a txt message. This is done with the arduino, the ethernet shield, the sensor for triggered input, and an external program to interface with the signal from the arduino. I use pushing box. Hope this helps.

android adk is your friend. if you are into getting into app design you can do it very cheap with a bluetooth adapter
Praveens4 months ago

super

robmawe917 months ago
Oliverhall7 months ago

Nice tutorial!

You can get the hc-sr501 PIR motion sensor for cheap here: http://voltatek.com/en/sensors/69-motion-sensor-m...

cityboy11 year ago
What should the output voltage for the LED be. My LED has about 1Volt, not enough to turn it on, anybody with thoughts.
its a nice project sir and very impresive. but sir' i have a question ahm im working with a project that uses wireless senors for security systems with an addressable alarm. can you tech me how these things well be built?
As frenzy has not replied yet, I am already going to ask you to be a bit more specific. Are you interested in just connecting wireless sensors or in building the entire system. In that case, what do you mean with 'adressable alarm'.

Just a question out of interest (forgive me if I am completely off): are you by any chance Filipino? :-)
Going to do that on my pc. Just have to try it.
bertus52x113 years ago
Did you get a new identity recently, or is this your standard Arduino outfit?
Anyway, always good to read the basics...
No you got it wrong you see he was trying to make arduinos less nerdy but.........it had the opposite affect :I
frenzy (author)  Ghost Wolf3 years ago
the arduinos go WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
>.> that's was she said


(see i can come up with great comments too)
frenzy (author)  Ghost Wolf3 years ago
Sooooooooooo you like driving people crazy?
Mmm, on second thoughts, I guess you're right!
It's a great project if you can make light up sunglasses though
account3r23 years ago
if you are using fritzing, can you send me the download for the pir sensor?
frenzy (author)  account3r23 years ago
there is no download although adafruit has one in her fritzing tutorials.

i just used the basic component with 3 pins and labeled it
lynne1233 years ago
Hey frenzy,
Great tutorial - very well explained.
I could see how a heat sensor and arduino could be used for a project I have been working on. I got the parts but am woefully underexperienced to put it together. I am trying to get a thermal array sensor to run a small motor.
I'm stuck. Got any suggestions on where to go for help?
account3r23 years ago
are you using fritzing?
Yes he is.
maewert3 years ago
Do you recommend we put a 220 ohm resistor between pin 8 and the LED to limit the current?

Best Wishes
frenzy (author)  maewert3 years ago
If you want to be the most correct about it yeah. I didn't and it probablly won't blow the led out but for something more precise, definitely.
jensenr303 years ago
Nice new glasses! awesome tutorial too!