
MovieMaker
USA
Asked
— Edited

I have tried every which a way and I cannot find a way to hook the PIR to the EZB. I have tried Analog,Digital, etc. I bought a dozen of these units - the ones with the TWO Potentiometers on the PC. You help would be appreciated.
Thanks,
PIR can use digital (my old ones worked via analog)... Are you using a 5v voltage regulator?... I just tried and they work from the digital port... Sorry, I thought they were analog...
Note The ones I use are from Parallax... The cheap Chinese ones from eBay don't seem to work with the ezb
These Parallax PIR are the ones I use and they work awesome...
Yes, I just tried Digital and they work Great. Thanks for your help.
@MovieMaker, I've been wanting to set up a PIR on my project so it will "wake up" when it detects motion. Do you mind sharing how you have your's configured? and possibly some script to get me going? Thanks
@bhouston Probably the easiest sensor to use... You just plug it in to any of the ezb's digital ports. It is a basic 3 pin sensor (grn,signal,+5v)... When motion is detected the pin goes high... In a script all you have to do is monitor the digital port...
Of course you would do this in a loop or you can use Wait for change option. There are a few ways to do this...
@Richard R, thanks, I'll try that.
Cool, I'd just like to mention that the Wait for Change command uses a lot less resources then a loop that's monitoring a port. This is very important if your monitoring an ADC port. I never monitored a Digital port so I cant comment on the resource draw there.
I was just testing it out. I haven't installed it yet. sorry,