PIR object detection sensor
Technic-R-C
Posts: 117
Hello
I have found a PIR object detection sensor in my tool box and I am kind of confused about the wiring.· THere are three cables coming out of the sensor.· One is labeled GND (ground), another PIRS, and another PIVS.· Does anyone know what the PIRS and PIVS mean?· I am guessing that the PIRS is the signal cable which connect to a BS2px I/O·pin while the PIVS connects to the VSS pin.·· However I am not sure and do not want to ruin the device or my BS2px.· Can anyone help.
Thanks
Technic-R-C
I have found a PIR object detection sensor in my tool box and I am kind of confused about the wiring.· THere are three cables coming out of the sensor.· One is labeled GND (ground), another PIRS, and another PIVS.· Does anyone know what the PIRS and PIVS mean?· I am guessing that the PIRS is the signal cable which connect to a BS2px I/O·pin while the PIVS connects to the VSS pin.·· However I am not sure and do not want to ruin the device or my BS2px.· Can anyone help.
Thanks
Technic-R-C
Comments
Technic-R-C
Parallax··· mine
VSS -->·· PIRS··· top
GND -->·· GND···· middle
OUT -->·· PIRV··· bottom
Is this correct considering I have nothing else to go off of?
Technic-R-C
Without some kind of documentation, there is no easy way to hook up the PIR sensor without taking some risk in damaging it. You can protect the BS2 by using a 220 Ohm resistor in series with any I/O pin you're using. You're probably right that PIRV is the supply voltage and PIRS is the signal line, but there's no certain way to test it. I would probably put a milliAmp meter in series with PIRV and, using a variable voltage supply with current limiting, gradually increase the voltage towards 5V while watching the current drain. If it stays below a couple of milliAmps, then it's probably right. I'd then put a logic probe or voltmeter on PIRS and see if it switches when I move in front of the PIR when power is supplied.