Hw416b Pir Sensor Datasheet Better May 2026

Use the output pin to drive an NPN transistor (2N2222 or BC547) or a MOSFET (2N7000). Example:

// Optional: deep sleep here if using battery // delay(100); // instead of busy loop hw416b pir sensor datasheet better

| Feature | HW416B | HC-SR501 | |---------|--------|----------| | Size | Smaller (32mm x 24mm) | Larger (48mm x 28mm) | | Voltage range | 3.0–5.5V | 4.5–20V | | Quiescent current | ~55µA | ~100µA (but stable) | | Retriggering jumper | Yes (poorly labeled) | Yes (clearly labeled) | | Built-in regulator | No | Yes (AMS1117 3.3V) | | Best for | Battery-powered, compact devices | Arduino projects, higher voltage | Use the output pin to drive an NPN

HW416B OUT → 1kΩ resistor → Base of BC547 Emitter of BC547 → GND Collector → Relay coil negative terminal Relay coil positive → VCC (with flyback diode) The stock fresnel lens is cheap plastic. You can upgrade the lens with a universal PIR lens (e.g., from a KC7783R) to achieve the claimed 7 meters. Also, the sensor is less sensitive to motion moving directly toward it versus moving across its field of view. Also, the sensor is less sensitive to motion

This article serves as your : a comprehensive guide covering every technical parameter, common pitfalls, circuit improvements, and practical tweaks to make the HW416B outperform its generic copy-paste documentation. Part 1: What Exactly is the HW416B? (And Why Most Datasheets Fail) The HW416B is a motion detector module based on the passive infrared principle. It senses changes in infrared radiation—specifically, the heat signature of a moving human or animal. Unlike its cousin the HC-SR501, the HW416B is often marketed as a miniature or low-voltage variant , though specifications vary wildly between sellers. Typical (But Often Unreliable) Datasheet Claims | Parameter | Common Value | Problem | |-----------|--------------|---------| | Operating Voltage | 3.3V – 5V DC | Many fail below 4.5V | | Quiescent Current | <50 µA | Often 80–100 µA in reality | | Detection Range | Up to 7 meters | Drops to 3-4 meters without proper lens | | Output High | VCC – 0.3V | Can be as low as 2.8V at 3.3V input | | Trigger Mode | Single / Repeatable (Jumper) | Jumper labeling often wrong |

Add a 220µF electrolytic capacitor across VCC and GND, plus a 0.1µF ceramic capacitor as close as possible to the module. This creates a low-pass filter. If using a battery, add a 3.3V LDO (e.g., MCP1700) instead of direct battery connection. Problem B: Slow Warm-Up Time Many users complain the sensor "doesn't work" for 30–60 seconds after power-on. That’s normal behavior as the sensor calibrates. A better datasheet would warn you: the HW416B enters a stabilization period of 20–45 seconds where the output may be unstable.