Hw-416-b Pir Sensor Datasheet Jun 2026

Ensure the supply is stable. While rated up to 20V, 5V is generally optimal for hobby projects. If you are interested, I can: Explain how to increase the range beyond 7 meters.

Inadequate filtering or voltage fluctuations on the VCC line can cause false triggers. Add a 100µF decoupling capacitor across VCC and GND close to the sensor.

Many sellers list HW-416-B as equivalent to HC-SR501, but there are subtle differences: hw-416-b pir sensor datasheet

The HW-416-B features two potentiometers (often yellow) to fine-tune its behavior: A. Sensitivity Adjustment (SENS)

void loop() val = digitalRead(inputPin); if (val == HIGH) digitalWrite(ledPin, HIGH); if (pirState == LOW) Serial.println("Motion detected!"); pirState = HIGH; Ensure the supply is stable

Controls how long the OUT pin remains HIGH after motion is detected. Turn clockwise to increase the delay time (up to several minutes). Trigger Mode Jumper:

The HW-416-B operates by detecting infrared radiation emitted by heat-producing bodies. When a heat source moves across the sensor's field of view, it triggers a high signal on the output pin. Specification DC 4.5V – 20V Static Current Level Output High 3.3V / Low 0V Trigger Method L (non-repeatable), H (repeatable - default) Delay Time Adjustable (approx. 0.5s to 200s) Blockade Time 2.5s (default) Detection Angle < 100° cone angle Detection Distance 3 to 7 meters (adjustable) Operating Temp -15°C to +70°C PCB Dimensions 32mm x 24mm 2. Pinout Configuration Inadequate filtering or voltage fluctuations on the VCC

What are you using? (ESP32, Raspberry Pi, etc.)

Are you triggering a specific ? (like a relay , buzzer , or smart home automation event )

Here

Recent content I've written for you—just for you!— to enjoy while you're here.

There

Quick commentary and links to other sources you'll find interesting. I promise.

Ensure the supply is stable. While rated up to 20V, 5V is generally optimal for hobby projects. If you are interested, I can: Explain how to increase the range beyond 7 meters.

Inadequate filtering or voltage fluctuations on the VCC line can cause false triggers. Add a 100µF decoupling capacitor across VCC and GND close to the sensor.

Many sellers list HW-416-B as equivalent to HC-SR501, but there are subtle differences:

The HW-416-B features two potentiometers (often yellow) to fine-tune its behavior: A. Sensitivity Adjustment (SENS)

void loop() val = digitalRead(inputPin); if (val == HIGH) digitalWrite(ledPin, HIGH); if (pirState == LOW) Serial.println("Motion detected!"); pirState = HIGH;

Controls how long the OUT pin remains HIGH after motion is detected. Turn clockwise to increase the delay time (up to several minutes). Trigger Mode Jumper:

The HW-416-B operates by detecting infrared radiation emitted by heat-producing bodies. When a heat source moves across the sensor's field of view, it triggers a high signal on the output pin. Specification DC 4.5V – 20V Static Current Level Output High 3.3V / Low 0V Trigger Method L (non-repeatable), H (repeatable - default) Delay Time Adjustable (approx. 0.5s to 200s) Blockade Time 2.5s (default) Detection Angle < 100° cone angle Detection Distance 3 to 7 meters (adjustable) Operating Temp -15°C to +70°C PCB Dimensions 32mm x 24mm 2. Pinout Configuration

What are you using? (ESP32, Raspberry Pi, etc.)

Are you triggering a specific ? (like a relay , buzzer , or smart home automation event )