After the sensor output goes high, it stays high for the duration of the delay and then goes low, regardless of whether motion continues.
What is the you are building (e.g., security system, automated light)?
[ Sensitivity ] [ Time Delay ] ( Rx Adj ) ( Tx Adj ) (_) (_) Counter: Min Counter: Min Clock: Max Clock: Max 1. Sensitivity Adjustment (Distance)
The is a reliable, low-cost PIR motion sensor perfect for hobbyist and light commercial projects. While you won’t find an official “HW-416-B datasheet” from a major semiconductor brand, the HC-SR501 documentation applies directly . Use the specs and tips above to integrate it into your next motion-sensing project. hw-416-b pir sensor datasheet
The HW-416-B features a simple 3-pin interface, making it compatible with almost any microcontroller (Arduino, ESP32, Raspberry Pi). Power input (4.5V to 20V).
else digitalWrite(ledPin, LOW); if (pirState == HIGH) Serial.println("Motion ended!"); pirState = LOW;
≈ 65mA (active), low quiescent current Detection Range: Approx. 3 meters to 7 meters (adjustable). Detection Angle: 110° cone angle. Delay Time: Adjustable from ≈ 5 seconds to 5 minutes. Operating Temperature: -15°C to +70°C. 3. HW-416-B Pinout Configuration After the sensor output goes high, it stays
This code, adapted from a hardware tutorial for the HW-416, checks the sensor's output and reports the detection state.
Show you how to create a using this sensor and a buzzer.
This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later. The HW-416-B features a simple 3-pin interface, making
Decreases detection distance (down to ~3 meters). 2. Time-Delay Adjustment
The HW-416-B is designed for reliability and ease of use. It operates by detecting changes in infrared radiation (heat) from moving objects like humans or animals. Operating Voltage: 5V to 20V DC. Static Current: Output Level: High 3.3V / Low 0V (TTL logic). Sensing Range: Up to 7 meters (adjustable). Detection Angle: 110 raised to the composed with power cone angle. Delay Time: 0.3 seconds to 5 minutes (adjustable). Block Time: Default 2.5 seconds. Pinout and Hardware Configuration
The sensor outputs HIGH when motion is detected. Once the delay time expires, the output automatically drops to LOW, even if the target is still moving within the detection zone.
This is the standard wiring used with most microcontrollers. The pin can be connected directly to a digital input pin of an Arduino, ESP8266, ESP32, or Raspberry Pi.