Hw-416-b Pir Sensor — Datasheet

int pirPin = 2; int ledPin = 13; void setup() Serial.begin(9600); pinMode(pirPin, INPUT); pinMode(ledPin, OUTPUT);

void loop() int motionState = digitalRead(pirPin); hw-416-b pir sensor datasheet

| Parameter | Value / Range | | :--- | :--- | | | DC 5V – 20V (Standard: 5V for microcontrollers) | | Quiescent Current | < 50 μA (microamps) | | Output Signal | Digital (High/Low) – 3.3V / 5V TTL compatible | | Output High Level | Vcc – 0.3V (when triggered) | | Output Low Level | 0V (idle state) | | Detection Range | Up to 7 meters (adjustable) | | Detection Angle | < 120° (cone-shaped, via Fresnel lens) | | Time Delay Adjust | 0.3 seconds to 5 minutes (via onboard potentiometer) | | Sensitivity Adjust | 3m to 7m (via onboard potentiometer) | | Trigger Modes | Single (Non-repeatable) / Repeatable (Select via jumper) | | Operating Temperature | -15°C to +70°C | | Dimensions | 32mm x 24mm x 18mm (excluding lens) | | Lens Type | Standard PIR Fresnel lens (white/translucent) | HW-416-B Pinout and Connector Details The HW-416-B module features a standard 3-pin male header (2.54mm pitch). The pin labeling is often printed on the back of the PCB. int pirPin = 2; int ledPin = 13; void setup() Serial

Przewijanie do góry