If you want, I can convert this into a printable one-page PDF datasheet layout, produce schematic wiring examples, or provide sample Arduino and Raspberry Pi code snippets for the HW-416-B.
If you are integrating this sensor, treat the "Distance" potentiometer as a "Motion Size" filter, not a range extender. If you need true range adjustment, you must physically swap the Fresnel lens dome, not turn the screw.
void setup() pinMode(motionPin, INPUT); pinMode(ledPin, OUTPUT); Serial.begin(9600);
if (val == HIGH) // Motion detected digitalWrite(ledPin, HIGH); if (pirState == LOW) Serial.println("Motion detected!"); pirState = HIGH; hw-416-b pir sensor datasheet
| Pin | Name | Description | |-----|--------|------------------------------------| | 1 | VCC | 4.5V – 20V DC power input | | 2 | GND | Ground | | 3 | OUT | Digital output (HIGH = motion) |
:
If you are developing a specific project, please share how you plan to deploy the so I can provide customized hardware recommendations or code modifications. AI responses may include mistakes. Learn more Share public link If you want, I can convert this into
GPIO.setmode(GPIO.BCM) PIR_PIN = 2 GPIO.setup(PIR_PIN, GPIO.IN)
If the signal passes a specific threshold, the IC forces the OUT pin to 3.3V. 💻 Arduino Integration Guide
The following table compiles the key electrical and mechanical parameters found in the hw‑416‑b pir sensor datasheet: 💻 Arduino Integration Guide The following table compiles
The is a highly efficient, low-cost electronic module designed to detect human or animal movement. It is widely used in smart home automation, security systems, and energy-saving lighting projects. By capturing changes in infrared radiation emitted by living bodies, this compact sensor provides an easy-to-use digital output for microcontrollers.
The module has two small, blue potentiometers (often marked with small cross‑slots) that let you tune its behaviour:
What are you trying to trigger (a relay, a buzzer, an LED strip)?