PIR sensor

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
bingai
 
Posts: 10
Joined: Thu Apr 04, 2013 4:35 pm

PIR sensor

Post by bingai »

I have brought some PIR sensors from your company, but i seems not working properly.

I seted them on the door to detect the occupancy. What i am expecting is that i would like to know whether there are people in or out off the door. If there are people passing by, i would like to see ON (or 1), if not OFF.

But in any situation, i always see they are ON, I really do not what is the problem.

May i call you, so that you can understand me better? And what is your telephone number?

Thank you.

Sincerely,

Bing

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: PIR sensor

Post by adafruit_support_bill »

Post photos of how you have these connected and also post the code you are using.

bingai
 
Posts: 10
Joined: Thu Apr 04, 2013 4:35 pm

Re: PIR sensor

Post by bingai »

I conneted them to my WSN 3202, and use the LABVIEW to read the value of them. But whether there are people or not, the data read are always True.

Thank you.

bingai
 
Posts: 10
Joined: Thu Apr 04, 2013 4:35 pm

Re: PIR sensor

Post by bingai »

please see the attached.

bingai
 
Posts: 10
Joined: Thu Apr 04, 2013 4:35 pm

Re: PIR sensor

Post by bingai »

2.PNG
2.PNG (696.73 KiB) Viewed 657 times
2.PNG
2.PNG (696.73 KiB) Viewed 657 times

bingai
 
Posts: 10
Joined: Thu Apr 04, 2013 4:35 pm

Re: PIR sensor

Post by bingai »

see attached
Attachments
1.PNG
1.PNG (433.21 KiB) Viewed 653 times

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: PIR sensor

Post by adafruit_support_rick »

What voltage are you supplying to the PIR sensor on the red wire? Can you measure the voltage on the yellow wire with a voltmeter? Are you certain that the black wire is ground?

bingai
 
Posts: 10
Joined: Thu Apr 04, 2013 4:35 pm

Re: PIR sensor

Post by bingai »

I power the PIR sensor from WSN 3202, with Power 12V. I am sure that the black wire is grounded.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: PIR sensor

Post by adafruit_support_rick »

Can you measure the voltage on the yellow wire? It should pulse 3V when motion is detected and remain at 0V when no motion is detected.

bingai
 
Posts: 10
Joined: Thu Apr 04, 2013 4:35 pm

Re: PIR sensor

Post by bingai »

I measured, they are always swithching between 0.4V to 3.4V.
I do not know why?
Thank you.

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: PIR sensor

Post by adafruit_support_bill »

they are always swithching between 0.4V to 3.4V.
That means they are detecting movement. 3.3v is logic HIGH for the output of this sensor.

http://www.adafruit.com/products/189#Description
Runs on 5V-16V power (if you need to run it off of 3V you can do that by bypassing the regulator, but that means doing a bit of soldering). Digital signal output is 3.3V high/low. Sensing range is about 7 meters (120 degree cone)

bingai
 
Posts: 10
Joined: Thu Apr 04, 2013 4:35 pm

Re: PIR sensor

Post by bingai »

But i would like to make it ON (3V) where there are people in or out. But OFF (0V) where there are not people in or out. What should i do now?

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: PIR sensor

Post by adafruit_support_bill »

What is in the field of view of the sensor? Any moving or changing source of heat (human body, animals, automobiles, some types of machinery) can trigger the sensor.

bingai
 
Posts: 10
Joined: Thu Apr 04, 2013 4:35 pm

Re: PIR sensor

Post by bingai »

nothing around them. I just put them on the door.
Thank you.

bingai
 
Posts: 10
Joined: Thu Apr 04, 2013 4:35 pm

Re: PIR sensor

Post by bingai »

the Sensing range is about 7 meters (120 degree cone), may i narrow them down?
I do not need those large ranges. What i need is to detect whether there are people in or out of the door.
If i can, what should i do, and how should i do?
Thank you.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”