The HW-416-B supports both repeatable and non-repeatable trigger modes via its jumper. If the sensor is not retriggering during continuous motion, ensure the jumper is set to (Repeatable) mode.
| Pin name | Function | | :--- | :--- | | | Power supply (5 V typical) | | OUT | Digital output (HIGH when motion is detected) | | GND | Ground |
Most cheap PIR sensors are designed to run on 5 V, and the HW‑416‑B is no exception. However, its internal electronics actually operate at 3 V, and the module includes a voltage regulator to handle a range of input voltages.
This makes coding incredibly simple. You don't need complex analog-to-digital conversion; you simply check if a digital pin is HIGH. If it is, sound the alarm.
Search for "HW-416-B schematic PDF" on sites like LCSC or Alldatasheet. Many electronics resellers provide compiled datasheets for generic modules under the "HW" series.
Digital output pin. Outputs 3.3V (HIGH) when motion is detected and 0V (LOW) during standby. GND: Ground connection. Connect to the system ground.
When using a Raspberry Pi with the RPi.GPIO library, the wiring is the same and the code is straightforward:
The HW-416-B supports both repeatable and non-repeatable trigger modes via its jumper. If the sensor is not retriggering during continuous motion, ensure the jumper is set to (Repeatable) mode.
| Pin name | Function | | :--- | :--- | | | Power supply (5 V typical) | | OUT | Digital output (HIGH when motion is detected) | | GND | Ground | hw-416-b pir sensor datasheet
Most cheap PIR sensors are designed to run on 5 V, and the HW‑416‑B is no exception. However, its internal electronics actually operate at 3 V, and the module includes a voltage regulator to handle a range of input voltages. However, its internal electronics actually operate at 3
This makes coding incredibly simple. You don't need complex analog-to-digital conversion; you simply check if a digital pin is HIGH. If it is, sound the alarm. If it is, sound the alarm
Search for "HW-416-B schematic PDF" on sites like LCSC or Alldatasheet. Many electronics resellers provide compiled datasheets for generic modules under the "HW" series.
Digital output pin. Outputs 3.3V (HIGH) when motion is detected and 0V (LOW) during standby. GND: Ground connection. Connect to the system ground.
When using a Raspberry Pi with the RPi.GPIO library, the wiring is the same and the code is straightforward: