PIR Sensor too sensitive

I am using a HC-SR501 PIR sensor with a Arduino Nano. I have it in a room facing a door to detect when its opened. Sometime if the fan is on in the room I triggers it also sometimes if the air turns on or off. Is there anyway to make it less sensitive to that but still detect when the door is opened.

Try the PIR in a home-made "cone of shame"... maybe the RF is directional

A PIR detect changes in Infrared Energy, not movement.

Exactly the air changes temperature.

You need a better sensor, like a reed switch and magnet used in security systems.

Tom.. :smiley: :+1: :coffee: :australia:

If there is also a person coming to sensors field when that door is opened, for sure you can adjust sensitivity to catch a person, but not a air movement.

You can't avoid that with this type of sensor. It detects small changes in temperature (infrared radiation) in front of it. If the fan moves fresh/warm air, it will always detect it.

It doesn't detect the door moving. It detects a person moving while opens the door.

In this case I think that you should choose another type of sensor.

There are lots of other ways to detect when a door is opened. A magnet and reed switch is by far the simplest and the most reliable.

I am trying to make a stand alone system that requires no mounting or connection to the door.

How do you suggest I do this? Using one of the pots or in my code.

That sensor has manual adjustment with potentiometer.

A TOF distance sensor would detect door open, and requires "no mounting or connection to the door".

Not possible. Every entry detection device is mounted. You need to research the advice already given.