SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By Dan M
#193332
My HC-SR501 is triggering when there is no movement.
It happens directly after a valid trigger.
I have both the delay and the sensitivity set to minimal.
I let the HC-SR501 "warm up" for about a minute before trying to use it.
I sit near the HC-SR501, perfectly motionless, and nothing happens.
Then I wave my hand in front of the sensor for a moment. It triggers for the minimum delay of 3 seconds.
I sit perfectly still again.
The issue is that about 8 seconds after the first trigger, it triggers again, even though there was no motion.
After this second trigger, it won't trigger again until I move in front of the sensor.

I have tried putting both a toilet paper tube, and an 18" piece of PVC turbing, over the end of the HC-SR501's sensor to reduce/eliminate peripheral noise that could be causing triggers.

I'm working on a solution using Aduino logic to filter out these second triggers, but it shouldn't be necessary if the device does what its supposed to do.