PIR Sensor output remains always high
bluewaves
Posts: 5
Hello to everyone,
we are using Parallax PIR Sensors in a project for modelling room occupancy. We use them connected to a TelosB wireless sensor module: the output pin of the PIR sensor is connected to the TelosB ADC port, from where we got the readings of the output.
The problem is that, after the initial warm-up during which the output varies from 0 to around 1,4V, we have got an "always-high" reading. We don't think it is a software problem, since the readings slightly vary around 1,4V. Obviously we are very careful in avoiding any movement during the warm up, and even if we put the sensor in an empty room the results don't change.
Does anyone have any suggestion of what it may be? I searched a lot on this forums and on the web too, but I couldn't find any solution that works.
Thank you!
we are using Parallax PIR Sensors in a project for modelling room occupancy. We use them connected to a TelosB wireless sensor module: the output pin of the PIR sensor is connected to the TelosB ADC port, from where we got the readings of the output.
The problem is that, after the initial warm-up during which the output varies from 0 to around 1,4V, we have got an "always-high" reading. We don't think it is a software problem, since the readings slightly vary around 1,4V. Obviously we are very careful in avoiding any movement during the warm up, and even if we put the sensor in an empty room the results don't change.
Does anyone have any suggestion of what it may be? I searched a lot on this forums and on the web too, but I couldn't find any solution that works.
Thank you!
Comments
What's the PIR's output like when disconnected from this "TelosB"?
well, it is about the same... adc readings are quite reliable, we got the same by using simply a voltmeter.
Similarly, an output LO should be approx = GND (0V).
The spec'd supply range is 3 - 5VDC.
Out supply voltage is 3V, so the output is fairly ok... If it wasn't always high About the LO, it is correct at 0V, but it stays there only during startup and calibration.
1.4V is unacceptable, unequivocally.
With a 5.0V supply: output HI = 3.3V, output LO = 0.
With a 3.3V supply: output HI = 2.9V, output LO = 0.
With a 3.0V supply: output HI = 2.4V, output LO = 0.
http://www.youtube.com/watch?v=XqWXlQya-fU
I tried to check alimentation and output with a voltmeter instead of using the analog/digital converter.
I see that the wireless module provides around 3V supply. With such a supply, our output reading is inequivocally:
HI = 1,35V, LO = 0V. But, as I already said, the output is always high with exception of the calibration period.
Please notice that, providing supply simply with two AA batteries, 3,2V, the output we get is 1,58 V.
So I really don't know if the sensor we bought have something wrong, or... I don't know. There is nothing else involved here, just two batteries, a voltmeter and the PIR sensor.
Robert
http://www.willow.co.uk/html/telosb_mote_platform.html
- Is it an Analog pin or a Digital pin?
- If the pin can do both then how do you have the pin configured?
- Do you have the pin configured as an output by mistake?? That could always make it go high...
- If the pin is configured as an input does it happen to have an internal pull-up resistor enabled?
If the module works standalone then it is probably a configuration issue with your module/controller.
Robert
Does it?
http://www.parallax.com/Portals/0/Downloads/docs/prod/audiovis/555-28027-PIRsensor-v1.4.pdf
There is a jumper on the module. Do you have it in a position that you require?
A test needs to be made with a separate 3.3 or 5 volt supply. I would start with the 5 Volt first.
I have five of these PIR's in operation with none of the problems that you are experiencing.
The datasheet doesn't specifically state how much current the output pin can safely source or sink although that should probably be listed. It does mention that is should be wired ilke: "Connect to I/O pin set to INPUT mode (or transistor/MOSFET) ". Which doesn't add a lot more detail in regards to the exact amount of current it can handle. That is a question for Parallax if you really need to know.
I don't think that is causing the issue that was oringally reported in this thread. It seems like it had something to do with the way the I/O pin is configured on the microcontroller.
[Hey, maybe the "modelling room" group weren't removing
the conductive foam that gets placed on new units?]
Hello
I am trying to integrate a digital PIR sensor on a Tmote Sky. I've programmed
the sensors on Tiny Os and i chose the expansion 7 for the digital PIR but i didn't get a signal
of detection from the PIR.
how do you programmed them ?
I have no signal of detection.
I've programmed led to blink but i got nothing.
Thank you