PIR Sensor

Mar 12, 2012 at 7:21pm

PIR Sensor

I’m working on my first Max/MSP project for a sound art installation, and so far everything is going great. For one portion of the patch, I would like to have PIR sensors dictate the frequency of some recordings, but I’m not getting any variable numbers from the sensor. Does any one know if the PIR sensors are able to output variable data, or just high and low?

Thanks!

#62329
Mar 12, 2012 at 8:26pm

Have you tried turning it off and on again?

#225147
Mar 12, 2012 at 8:42pm

Most PIR sensors are wired up as logical motion detectors (on/off) for ease of use. Think of those porch lights that turn on automatically when people walk by. I think it’s possible to get analog data from a PIR, but it would probably require quite a bit of op-amp fiddling to get something usable. AFAIK, there is no easy out-of-the-box PIR analog sensor that gives usable voltages(although the PIR itself is an analog sensor).
You might be happier with an infrared ranger, an ultrasonic ranger, or camera detection.

#225148
Mar 12, 2012 at 9:06pm

That’s what I was afraid of, but thanks for the input. I think radio shack is getting tired of my returns…

#225149
Mar 13, 2012 at 3:10pm

Andrew’s right, PIR’s are best used as a switch. Oddly, the straight analog sensor is expensive:

http://www.acroname.com/robotics/parts/R3-PYRO1.html

I’ve used it, and you can get a general idea of direction of motion, sometimes, but it is very twitchy. It’s more accurate, but less sensitive, without the lens. There’s a great information resource here:

http://www.ladyada.net/learn/sensors/pir.html

#225151
Mar 13, 2012 at 4:30pm
#225152
Mar 13, 2012 at 6:26pm

Thanks for the input everybody! I returned the PIR sensors and picked up a sonar, too bad the sonar isn’t 10 bucks.

#225153

You must be logged in to reply to this topic.