7888Views9Replies

Author Options:

How to troubleshoot a pir sensor? Answered

Hello I bought a pir sensor off ebay (SKU 14_B000101941) and I plugged it into a solderless breadboard to test it out. I connected a 3v LED between the output and ground and while it does light up, it does not light up when it senses light, it just turns off every 2 seconds, then every 5 seconds. If there is a simple fix to this problem any advice would be appreciated but if not I am willing to buy a different one.

9 Replies

user

Sir i make ...this circuit to check that my pir sensor is working or not. Led is continously glowing it does not respond to motion , it only glows whether the jumper is in high position or low position . Sir pls reply me fast what can i do to check my pir sensor. Whether it is working or not to make my project

Select as Best AnswerUndo Best Answer

user
andy70707 (author)2011-08-03

I have the same sensor! In order for it to work, you need an NPN transistor on the output (I used 2N3904). You also need to move the jumper across to select the output mode as high, otherwise it will work in reverse. Input should be 5v, it does have an on-board voltage regulator which accepts up to 20v, but I wouldn't recommend going much higher as it heats up which can damage it.

Select as Best AnswerUndo Best Answer

user
andy70707 (author)andy707072011-08-03

I also noticed you said the LED does light, try it with the jumper in the other position, and then try changing the sensitivity and timeout pots, but I found it worked best as is anyway. I also noticed it can be unpredictable in a room with many IR sources (mostly lightbulbs). I tried it in a dark room and it works flawlessly, detects every hot object that passes.

Select as Best AnswerUndo Best Answer

user
iceng (author)2011-08-01

PIR responds to body heat not light
It sounds like you wired it to heat up so it would quit and cool down and
resume heat up again.
Just supposition until we see a circuit and what power supply you use.

A

Select as Best AnswerUndo Best Answer

user
thorpenny (author)iceng2011-08-02

No, that's not how I wired it. I wired it so that when the passive infrared sensor senses infrared light (yes, infrared is light, it is just such a low wavelength that human eyes cannot see it) I could see if it would set its output pin to "high" (3.3v). The battery I am using is 12 volts.

Select as Best AnswerUndo Best Answer

user
iceng (author)thorpenny2011-08-03

So is it possibly red and aimed at the pir sensor ?
or does a room light have incandescent output or is sunlight leaking in ?
Your circuit is correct.
Are you sure the device likes to source the LED and not sink it instead ?

A

Select as Best AnswerUndo Best Answer

user
thorpenny (author)iceng2011-08-03

No, it is green, and it is not aimed at the pir sensor. A room light is taken into the "background radiation" with which the pir can distinguish between by only sensing changes in voltage created by a heat emitting object passing in front. I don't know what exactly the pir likes, but there is no sink in this circuit.

Select as Best AnswerUndo Best Answer

user
iceng (author)thorpenny2011-08-03
The people who make this thing ( Parallax ) rate theirs at 3 to 6V only !
Three things left,
  1. Try using yours at 6V at the sensor when working ?
  2. Your sensor could now be bad !
  3. How far is your 6V from the sensor ?  Add a 12V 4.7uF el capacitor at the sensor, perhaps switiching the green LED momentarily wacks it.
Good Luck,
Im empty here.

A

Select as Best AnswerUndo Best Answer