Hw-416-b Pir Sensor Datasheet !!hot!! | TRUSTED ⟶ |
Suitable for battery-operated devices.
Power supply input (4.5V – 20V DC). Connect to the 5V output of your microcontroller.
PIR sensors are highly sensitive to ripple voltage on the power rails. If using a noisy power adapter or a switching regulator, add a 100µF electrolytic capacitor across the VCC and GND pins of the sensor to smooth out power spikes.
, the sensor typically operates within the following parameters: Tayda Electronics PIR Motion Sensor HW416B - Tayda Electronics
When using a Raspberry Pi with 3.3V logic, it is generally safest to power the sensor from the Pi’s rail to ensure compatibility. Alternatively, you can power the HW-416-B from 5V and rely on its output pin driving 3.3V levels safely (check your specific board for output voltage characteristics). hw-416-b pir sensor datasheet
A Passive Infrared (PIR) sensor measures infrared light radiating from objects in its field of view. The HW-416-B operates by detecting the thermal changes caused by moving human bodies or animals. It features a specialized Fresnel lens that focuses infrared radiation onto the internal pyroelectric sensor. 2. Technical Specifications Typical Value 4.5V to 20V DC Output Level High: 3.3V / Low: 0V Quiescent Current Approximately Detection Distance Up to 7 meters (adjustable via potentiometer) Detection Angle Delay Time 5s to 200s (adjustable) Blockade Time 2.5s (default) Trigger Method L (non-repeatable) / H (repeatable) Operating Temperature 3. Pin Configuration
Avoid placing the sensor directly opposite windows, radiators, AC vents, or incandescent light bulbs. Rapidly shifting air temperatures mimic body heat signatures.
When designing a circuit around the HW-416-B, staying within its electrical limits ensures longevity and prevents false triggering. Below are the core parameters typically found in its engineering datasheet: Specification / Value 4.5V to 20V DC (5V standard) Output Signal (Digital) High (3.3V) / Low (0V) Static Current Consumption < 50 µA to 65 µA Detection Distance 3 meters to 7 meters (adjustable via onboard potentiometer) Detection Angle < 100° to 110° cone angle Delay Time 0.5 seconds to 200 seconds (adjustable) Blockade Time 2.5 seconds (default) Trigger Modes L (Non-repeatable) / H (Repeatable - Default) Operating Temperature -15°C to +70°C PCB Dimensions Approx. 32mm x 24mm 3. Pinout and Hardware Configuration
At the heart of the HW-416-B is a pyroelectric sensor housed in a hermetically sealed metal can. This can contains two distinct windows made of an infrared-transmissive material. Suitable for battery-operated devices
delay(100);
Adjustable (typically from 0.5 seconds up to several minutes via onboard potentiometer)
Note: If you plan to trigger a high-current load like a 12V light strip or a siren, use the Arduino pin to control a relay module or a MOSFET, rather than powering the load directly from the Arduino. Arduino Code Example
Sunlight can overload the pyroelectric element despite the filter properties of the plastic Fresnel lens. PIR sensors are highly sensitive to ripple voltage
The output remains high as long as there is continuous motion within the range.
| Parameter | Min | Typ | Max | Unit | |----------------------|------|------|-------|-------| | Supply voltage | 4.5 | 5 | 20 | V | | Output high voltage | 2.8 | 3.3 | 3.4 | V | | Output low voltage | 0 | 0.4 | 0.6 | V | | Output current (max) | - | - | 100 | mA | | Standby current | - | 0.05 | 0.1 | mA | | Operating temp | -20 | 25 | +80 | °C | | Delay time range | 0.5 | - | 200 | sec | | Detection range | 3 | 5 | 7 | m |
Mira clipped the sensor into a prototype of a bedside lamp that would only light when someone entered the room after midnight. She soldered the Vcc and GND joints, ran a single wire from OUT to her microcontroller pin, and adjusted the sensitivity until the lamp ignored her sleeping cat but leapt to life when she walked by. Each test produced a tiny pulse on her logic analyzer: crisp, clean edges like a heartbeat. The datasheet’s timing diagram matched the pulses—an initial high for a few hundred milliseconds, then a retriggerable hold time as long as motion continued.
On the back of the module, you will usually find two orange potentiometers for manual calibration: Sensitivity (SENS):
The HW-416-B PIR sensor is a reliable and versatile motion detection solution suitable for a wide range of applications. Its high sensitivity, low power consumption, and adjustable sensitivity make it an ideal choice for designers and engineers. By following the usage guidelines and specifications outlined in this write-up, you can effectively integrate the HW-416-B PIR sensor into your projects.