Functionally identical; only PCB layout and color differ.
Based on behavior observed from multiple HW-416-B units: hw-416-b pir sensor datasheet
detects motion by measuring changes in the infrared levels emitted by surrounding objects Operating Voltage: 4.5V to 20V DC. Voltage Output: High/Low signal (3.3V High, 0V Low). Detection Range: Adjustable up to approximately 7 meters (23 feet). Detection Angle: Less than 120°. Delay Time: Functionally identical; only PCB layout and color differ
Some HW-416-B modules use an onboard 3.3V regulator , so the output pin is 3.3V – safe for 5V logic inputs (e.g., Arduino, STM32). hw-416-b pir sensor datasheet