Hw-416-b Pir Sensor Datasheet [best]
The HW-416-B is more than just a motion detector; it is an energy-efficient trigger. While newer, more expensive "radar" sensors (like the RCWL-0516) can detect motion through walls, the HW-416-B remains the reliable workhorse for line-of-sight detection. It is cheap, tunable, and consumes so little power that it might just be the longest-lasting component in your next battery-operated build.
As soon as he powered it on, the sensor went haywire. The serial monitor scrolled "Motion detected!" in a frantic loop, even though the room was empty. Remembering a tip from an old forum, Leo checked the distance; the sensor was too close to his Raspberry Pi, and the electromagnetic noise was causing "odd behavior". He moved the sensor five feet away, but it still stayed "HIGH" for way too long. hw-416-b pir sensor datasheet
The HW-416-B features two variable resistors (potentiometers) on the board that allow you to tune its behavior without rewriting a single line of code. The HW-416-B is more than just a motion
Once motion is detected, the output stays HIGH for the set delay and then goes LOW, even if movement continues. As soon as he powered it on, the sensor went haywire