Passive Infra-Red Sensor

I familiarized myself (and made a test) with a PIR motion sensor as a part of a course at Haaga-Helia held by Tero Karvinen: http://terokarvinen.com/2012/aikataulu-prototyypin-rakentaminen-bus4tn007-1

I found a site with instructions of how to use the motionsensor to blink a led

http://www.instructables.com/id/Arduino-Basics-PIR-Sensor/

I got the PIR and a led hooked to my arduino following the instructions, they also provided an example code to use. My only problem now seems to be how to test the sensor with all the movement around me in the class room.

EDIT

I am using a box to let the PIR calibrate.

Didn’t really notice a difference.

EDIT2

There was a jumper setting under PIR with L and H setting
by default it was set to H. I swiched it to L and tested again.

Now it seems to work as intended.

Symbol H: Output remains HIGH when sensor is retriggered repeatedly. Output is LOW when idle (not triggered).

Symbol L: Output goes HIGH then LOW when triggered. Continuous motion results in repeated HIGH/LOW pulses. Output is LOW when idle.

more information can be found on the PIR sensors pdf at parallax’s website

http://www.parallax.com

and more directly: http://www.parallax.com/Portals/0/Downloads/docs/prod/sens/910-28027-PIRsensor-v1.4.pdf

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s