I bought a PIR sensor that has a range of several meters but I need to detect motion at maximum distance of 40cm. I reduced its sensitivity by putting polyethylene sheets in front of the sensor but I'm getting very inconsistent inputs and I don't know whether to continue on this path.
I want to add some LEDs activated by the motion sensor to my bedside table because I always knock something off when I'm reaching for my glasses or my phone.
The problem is that all the sensors that I saw have a much longer range that what I need.
I want a small sensor to make it more hidden as possible and whit a small range so it doesn't get triggered when I'm sleeping
Is it worth continuing to use the sensor I already have or are there sensors that are more suitable for what I have to do?