How to Connect PIR Motion Sensor to Arduino Step-by-Step Guide
Connect the HC-SR501 module directly to the microcontroller’s 5V pin for stable power delivery–avoid using longer jumper wires, as voltage drops can trigger false readings. Ground the signal pin.