PIR sensitivity
Wolfbrother
Posts: 129
Hi all, I'm doing a new sculpture where I want to focus the looking angle of the PIR sensor. I have tried using a PVC cap like on Scary Terry's site but it really doesn't seem to do much. I am seeing a good amount of false positives and I'm not sure what the best method for reducing the sensitivity is. I tried to implement a simple debounce, see attached code, but it still sees a large amount of false positives. Basically the premise is the PIR sensor sees you in front of these things, the motors then actuate for a period of time and then the whole thing calms back down waiting until you approach it again. Any ideas on the sensitivity issue? Should I maybe just use a photoresistor like they do in the halloween props? Any suggestions would be great.
Thanks,
Dave
Thanks,
Dave
Comments
The circuit is simple. I'm using the BOE. Servos on pins 12, 13, 14 & 15 through the servo header. Pin 0 directly to PIR signal, Vdd and Vss going where they are supposed to. Nothing else. I can draw it and post it, but there isn't much happening there.
Any ideas?
I tried the pulldown already, I think that's a great suggestion and certainly made sense to me. It didn't stop the false positives at all. Here's what it looks like is the problem. I live in Southern California and my little work area is a converted one car garage. I have a fan to cool it, but cooling is a relative term. This morning my room was a pleasant 67 degrees. The circuit works perfectly. Yesterday afternoon it's easily 85 in here, maybe a bit more. I'm guessing the sensor was saturated with heat. I'm thinking these things might be more or less set to look for people in a room and when you get a room that's about the same temp as the people it's looking for, well... it thinks it must be people too.
Thanks for the good thoughts.
Dave
Have you tried testing your PIR without the fan running? PIRs look for changes to the signal. I know my bear detector wouldn't work if part of it's field of view included a lake - it turned out the reflections from the rippling of the water made the PIRs think the thermal field was changing, so it kept sounding an alarm. Is it possible that the rotating fan blades are interrupting a light/heat source and/or reflecting heat from someplace and faking out your PIR?
It seems that these units are pretty sensitive, I would like a way to numb it a bit. I have it mounted in a little tube, in the hopes that would focus it. That more or less seems to work. Maybe there's a different lens combination I could put on it to diffuse the outside signal coming in. I'm also looking at other motion sensors that are available. I'm really liking the MA motion sensors.
Thanks,
Dave
http://search.digikey.com/scripts/DkSearch/dksus.dll?lang=en&site=US&WT.z_homepage_link=hp_go_button&KeyWords=255-1803-nd&x=18&y=12
Thanks for the links. I'm thinking about ordering one of the x-band motion detectors since it says it's more immune to false triggers.
I was using mine outside and kept getting false triggers from wind and such. I had some red lens tape from the auto parts. I put this over the dome and it helped a lot.
I don't know anything about Arduinos but do you have any resistors that will limit current from the PIR to the Arduino? With the Propeller, I found that I needed not only a pull down resistor but also a current limiting resistor of about 2K as well.
Also, you might try a smaller resistor for the pull down, maybe 10K instead of 100K.
Remember: the wall might be very reflective in IR, so if you or anything else is moving around behind the PIR and changing the IR signals in the room, the PIR just might be picking these up.
For PIR, I recently starting using another manufacturers motion sensor and found it to be rock solid for use in real world motion sensing applications where false triggers would not be acceptable. You can find them from around $50 and up at many online suppliers. It does have a relay contact closure, but I just removed a resister and tapped into the 5V logic that triggers the relay for an output.
Bosch DS150i
http://products.boschsecurity.us/en/TAMS/products/bxp/SKUPFT3651023883.P1.4.998.800.236-CATMdc38e64c2b5e5dd4f70951f2f030d4bf