The HW-416-B 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).
Delay Time: Fixed at approximately 2 seconds (non-adjustable). Detection Range: Up to 3–5 meters. Detection Angle: Approximately 100∘100 raised to the composed with power Operating Temperature: Pinout Configuration
The module typically features three pins, usually labeled on the underside: VCC: Power input (2.7V – 12V).
OUT: Digital output signal (Connect to an Arduino digital pin or a relay module). GND: Ground connection. Key Features & Usage Immunity to Interference: Unlike larger sensors, the hw-416-b pir sensor datasheet
uses internal digital signal processing which makes it less susceptible to power supply noise or electromagnetic interference.
Compact Design: Its small size makes it perfect for "stealth" applications, such as automatic cabinet lighting or small security gadgets.
Repeatable Triggering: If a person remains in the detection range, the output will stay "High" until they leave. Once the motion stops, the signal stays High for the fixed 2-second delay before dropping to Low. Quick Connection Guide (Arduino Example) To test the sensor, you can follow this simple setup: VCC →right arrow Arduino 5V GND →right arrow Arduino GND OUT →right arrow Arduino Digital Pin 2 The HW-416-B is a compact Passive Infrared (PIR)
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
| Feature | HW-416-B | HC-SR501 | |------------------|------------------|------------------| | Core chip | BIS0001 (or clone) | BIS0001 | | Voltage range | 4.5–20V | 5–20V | | Trigger modes | L / H jumper | L / H jumper | | Output voltage | 3.3V | 3.3V | | Availability | Lower cost, generic | Widely used |
Verdict: They are functionally identical. Use HW-416-B if it’s cheaper or available locally. Cause: Warm-up period not observed or faulty lens
Subject: Reverse Engineering the HW-416-B (HC-SR501) Control Logic. Component Focus: The unlabeled COB (Chip on Board) and adjustment potentiometers.
The HW-416-B module typically features two orange potentiometers. Most online tutorials claim one controls "Sensitivity" (Distance) and the other controls "Time Delay."
The Interesting Finding: The potentiometer labeled "Sensitivity" acts as a voltage divider into the BIS0001 chip. However, extensive testing shows that it does not significantly alter the physical range of the sensor in the way users expect.
| Problem | Likely Cause | Solution | |---------|--------------|----------| | No output | Warm-up period | Wait 60 seconds after power-on | | Always HIGH | SENS too high | Reduce SENS pot counter-clockwise | | Always LOW | Delay too short or SENS too low | Increase TIME or SENS pot | | False triggers | Vibration, RF noise, or heat sources | Mount securely; add 100nF cap across VCC/GND | | Short detection range | Lens dirty or SENS low | Clean lens; increase SENS |
The HW-416-B output is 5V tolerant but outputs ~Vcc. To safely interface with 3.3V logic: