Hw-416-b Pir Sensor Datasheet [2021] Jun 2026

from machine import Pin import time

Automatically turning on corridor, bathroom, or outdoor pathway lights when someone approaches, saving significant electrical energy.

Adjusts how long the output pin remains HIGH after motion is detected. Range is approximately 0.3s to 300s. Trigger Jumper (Yellow Cap): L (Non-repeatable): hw-416-b pir sensor datasheet

The HW-416-B PIR sensor module typically has three pins:

: The sensor is optimized to detect motion frequencies between 0.7 Hz and 30 Hz. from machine import Pin import time Automatically turning

3 meters to 7 meters (adjustable via potentiometer)

The Ultimate HW-416-B PIR Motion Sensor Guide: Datasheet, Pinout, and Arduino Integration Onboard Adjustments Show you how to create a

The HW-416-B features a standard 3-pin header for easy connection to breadboards or jumper wires.

if (motionState == HIGH) digitalWrite(ledPin, HIGH); Serial.println("Motion Detected!"); delay(100); else digitalWrite(ledPin, LOW);

Note: Always verify the silk-screen markings on your specific HW-416-B board, as manufacturing variances can sometimes invert the VCC and GND positions. Onboard Adjustments

Show you how to create a using this sensor and a buzzer.