PIR sensor delay for 10 seconds?

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
capnjack78
 
Posts: 15
Joined: Thu Apr 28, 2011 11:08 am

PIR sensor delay for 10 seconds?

Post by capnjack78 »

Hello, I just got this PIR sensor http://www.adafruit.com/index.php?main_ ... cts_id=189 and then read this tutorial http://www.ladyada.net/learn/sensors/pir.html. I used the sample code from the bottom of the page to test out the sensor.

The Serial Monitor will show "Motion detected!" when I move my hand in front of the sensor (it's facing away from me). Then it takes about 10 seconds for the sensor to settle down and the Serial Monitor finally says "Motion ended!". Is this normal? 10 seconds seems like a long time for the sensor to decide if there's motion or not. Is there any way to change this to detect motion every 2-3 seconds?

Thanks!

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Re: PIR sensor delay for 10 seconds?

Post by adafruit »

try adjusting the trimpot

capnjack78
 
Posts: 15
Joined: Thu Apr 28, 2011 11:08 am

Re: PIR sensor delay for 10 seconds?

Post by capnjack78 »

Oh, I didn't even see the little orange knob. Thanks, that did it!

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

Return to “General Project help”