Hw-416-b Pir Sensor Datasheet -
The is a compact Passive Infrared (PIR) motion sensor module, commonly used in DIY electronics projects for detecting human movement. It is essentially a variation of the popular AM312 or HC-SR501 sensors, designed for low-power consumption and a smaller physical footprint. Core Specifications Operating Voltage: 2.7V to 12V DC. Static Power Consumption: (ideal for battery-powered devices). Output Signal: High/Low (3.3V High, 0V Low).
Power input pin. Connect to a DC voltage source between 4.5V and 20V.
void loop() int pirState = digitalRead(PIR_PIN); if (pirState == HIGH) Serial.println("Motion detected!"); digitalWrite(LED_PIN, HIGH); else Serial.println("No motion."); digitalWrite(LED_PIN, LOW);
If you are using a 3.3 V‑only board (e.g., Particle Argon), do connect the VCC pin to 3.3 V. Instead, use the dedicated 3.3 V input pin on the module as described in the Hardware setup for 3.3 V section. Trying to power the normal VCC pin with 3.3 V will not work because the onboard regulator expects at least 5 V.
High-power wireless modules (like the ESP8266 or ESP32) placed in close proximity to the HW-416-B can induce electromagnetic interference in the high-impedance pyroelectric crystal, causing phantom triggers. It is recommended to separate wireless antennas from the PIR module by at least 10–15 centimeters or shield the sensor wires. hw-416-b pir sensor datasheet
: The onboard potentiometer allows users to increase or decrease the detection range. High sensitivity can detect living beings up to 9 meters away.
Interfacing the HW-416-B with an Arduino Uno requires no external resistors or pulling components, as the sensor provides a clean digital output. Wiring Connections →right arrow Arduino 5V HW-416-B OUT →right arrow Arduino Digital Pin 2 HW-416-B GND →right arrow Arduino GND (Optional) LED Anode (+) →right arrow
| Pin | Name | Description | |-----|--------|------------------------------------| | 1 | VCC | 4.5V – 20V DC power input | | 2 | GND | Ground | | 3 | OUT | Digital output (HIGH = motion) |
The is a popular, low‑cost passive infrared (PIR) motion sensor module. It is frequently rebranded as the HC‑SR501 and is widely used in electronics projects, security systems, automatic lighting, and smart‑home automation. This article compiles all the essential information from the hw‑416‑b pir sensor datasheet and adds practical advice for beginners and experienced makers alike. The is a compact Passive Infrared (PIR) motion
At the core of the HW‑416‑B is the integrated circuit, a dedicated PIR signal‑processing chip. It takes the tiny signal from the pyroelectric sensor, amplifies it, filters out noise, and produces a clean digital output when motion is detected. This IC is designed for low power consumption and good immunity against radio‑frequency interference.
Triggering a camera shutter or video recording when an animal passes by.
Since the HW-416-B lacks an official manufacturer datasheet, you can substitute it with:
void setup() pinMode(2, INPUT); Serial.begin(9600); void loop() if (digitalRead(2) == HIGH) Serial.println("Motion Detected!"); delay(100); Use code with caution. Copied to clipboard Connect to a DC voltage source between 4
Digital output. Stays HIGH (3.3V) when motion is detected and LOW (0V) when idle. Connect to the common ground of your circuit. Adjustable Controls Sensitivity Potentiometer:
Adjustable (typically from 0.5 seconds up to several minutes via onboard potentiometer)
When motion is detected, the output goes HIGH. It returns to LOW after the delay time expires, even if the target is still moving.