-->
Page 2 of 2

Re: False triggers pir sensor hc-sr501

PostPosted: Mon Apr 18, 2022 3:33 pm
by btidey
PIR sensors using the AM312 sensor are much less prone to rf interference causing false triggers than the sr501 type. They are also smaller and similar in pricing.

Re: False triggers pir sensor hc-sr501

PostPosted: Tue Apr 19, 2022 5:55 am
by rpiloverbd
I think you may get some help from this tutorial.
https://www.theengineeringprojects.com/ ... ensor.html
It shows how to detect motion with ESP32 using a PIR motion sensor. The code is based on an external interrupt function.

Re: False triggers pir sensor hc-sr501

PostPosted: Tue Apr 19, 2022 6:40 am
by bra1n
Mine's about 3 metres away.
If it only happens outside a few possibilities spring to mind :
1. The ESP has upped it's transmission strength because the AP is further away
2. Other signals are in the area and interfering
3. It's draughty where the sensor is (wind can affect them as well)
You'll need to experiment to narrow the cause down