Hw-416-b Pir Sensor Datasheet ~repack~ Jun 2026

Avoid placing the sensor near heat sources, air conditioners, heating vents, or direct sunlight. Sudden shifts in air temperature will fool the pyroelectric crystal.

This code monitors the HW-416-B sensor. When motion is detected, it illuminates the built-in Arduino LED (Pin 13) and prints a alert message to the Serial Monitor. hw-416-b pir sensor datasheet

Power input (Connect to 5V DC of your microcontroller or external power source). Avoid placing the sensor near heat sources, air

[ Sensitivity ] [ Time Delay ] ( Rx Adj ) ( Tx Adj ) (_) (_) Counter: Min Counter: Min Clock: Max Clock: Max 1. Sensitivity Adjustment (Distance) When motion is detected, it illuminates the built-in

If the sensor detects motion while the output is already HIGH , it resets the internal timer. The output will remain HIGH continuously until the target stops moving and the delay time elapses. This is the preferred mode for automated room lighting. 4. How the HW-416-B Works Internal Mechanics

The following sketch reads the state of the HW-416-B sensor. It turns on the built-in Arduino LED (Pin 13) and prints alerts to the Serial Monitor when motion is detected.