Hw-416-b | Pir Sensor Datasheet
The is a compact, highly sensitive pyroelectric infrared module widely used for motion detection in automated lighting, security systems, and robotics. This comprehensive guide serves as an extended technical datasheet, providing structural breakdowns, pin configurations, operational mechanics, and step-by-step microcontroller integration. 📋 Module Overview and Key Specifications
When motion is detected, the output goes HIGH. It returns to LOW after the delay time expires, even if the target is still moving.
This knob adjusts the detection distance. Turning it clockwise increases the sensitivity (up to ~7 meters), while counter-clockwise decreases it. 4.2 Time Delay Adjustment (Potentiometer)
Turn the PCB over to find the calibration pots and mode selection headers: hw-416-b pir sensor datasheet
3 meters to 7 meters (adjustable via potentiometer)
if (val == HIGH) // Motion detected digitalWrite(ledPin, HIGH); if (pirState == LOW) Serial.println("Motion detected!"); pirState = HIGH;
Fresnel Lens (White dome shielding the pyroelectric element) Hardware Layout and Pinout Configuration The is a compact, highly sensitive pyroelectric infrared
If the signal passes a specific threshold, the IC forces the OUT pin to 3.3V. 💻 Arduino Integration Guide
The HW-416-B is an excellent choice for any system that needs to detect the presence or movement of people. Common applications include:
Power input. Connect to a 5V source on your microcontroller. It returns to LOW after the delay time
All matter with a temperature above absolute zero emits thermal energy in the form of infrared radiation. Human bodies radiate infrared light at a wavelength of roughly 9 to 10 micrometers.
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).