Hw-416-b Pir Sensor Datasheet New!
The HW-416-B is fantastic, but it has a "memory." The pyroelectric sensor needs time to "reset" and stabilize after it triggers.
Complete Technical Guide and Datasheet Analysis for the HW-416-B PIR Motion Sensor
Adjusts how long the output pin remains "HIGH" after motion is detected. Clockwise increases the delay (up to 200 seconds); counter-clockwise decreases it (down to ~0.5 seconds). 4. Operational Modes (Jumper Settings) hw-416-b pir sensor datasheet
The sensor is split into two halves. When there is no movement, both halves detect the same amount of ambient IR radiation. When a warm body (like a human) passes by, it intercepts one half of the sensor first, causing a positive differential change between the two halves. As the body leaves the detection area, the reverse happens. This differential change triggers the onboard processing IC (commonly the BISS0001), which then drives the pin to a HIGH (3.3V) state. Step-by-Step Arduino Integration
The sensor requires a "warm-up" time of 30–60 seconds when first powered on. During this time, it may output unpredictable High/Low signals. The HW-416-B is fantastic, but it has a "memory
Because the HW-416-B outputs a standard digital signal, connecting it to an Arduino Uno, Nano, or Mega requires only three wires and zero external pull-up or pull-down resistors. Wiring Diagram HW-416-B Pin Arduino Pin OUT Digital Pin 2 GND
High-frequency electromagnetic radiation from nearby Wi-Fi routers, cellular devices, or ESP8266/ESP32 modules can bleed into the unshielded PIR circuitry. Keep wireless transmitters at least 15–20 cm away from the module. When a warm body (like a human) passes
int ledPin = 13; // Onboard LED (optional) int inputPin = 2; // PIR sensor output pin int pirState = LOW; // Start assuming no motion int val = 0; // Variable for reading pin status
If you are walking through a sensor's field of view, stop completely, and then start moving again, the sensor might miss the second movement because it is still stabilizing from the first. In robotics or high-speed detection scenarios, this latency can be an issue. However, for standard security and lighting, it is negligible.
The HW-416-B features two potentiometers (often yellow) to fine-tune its behavior: A. Sensitivity Adjustment (SENS)