Hw-416-b Pir Sensor Datasheet
The typical wiring is:
Avoid placing the sensor near heat sources, air conditioners, heating vents, or direct sunlight. Sudden shifts in air temperature will fool the pyroelectric crystal.
The repeatable mode is the default and is suitable for most applications (e.g., lights that stay on while someone is in the room). The non‑repeatable mode is useful for triggering a single event per motion.
If motion is detected continuously within the delay window, the internal timer resets, keeping the output HIGH until the target stops moving and the delay time elapses. 🔬 How the HW-416-B Works hw-416-b pir sensor datasheet
Clockwise rotation increases the detection distance (up to ~7 meters). Counter-clockwise rotation reduces the distance (down to ~3 meters). Adjust this to filter out distant background movements.
Supports repeatable and non-repeatable triggering. 2. Technical Specifications
Adjustable (typically 5s to 200s or more depending on the specific potentiometer settings). Static Current: < 50µA, making it ideal for battery-powered projects. Pin Configuration The typical wiring is: Avoid placing the sensor
// HW-416-B PIR Sensor Test Code const int PIR_PIN = 2; // Input pin from PIR sensor const int LED_PIN = 13; // Built-in Arduino LED int sensorState = LOW; // Start assuming no motion void setup() pinMode(PIR_PIN, INPUT); // Set PIR pin as input pinMode(LED_PIN, OUTPUT); // Set LED pin as output Serial.begin(9600); Serial.println("Warming up PIR sensor... please wait."); delay(30000); // Allow 30 seconds for sensor stabilization Serial.println("Sensor Active."); void loop() int currentReading = digitalRead(PIR_PIN); if (currentReading == HIGH) digitalWrite(LED_PIN, HIGH); // Turn on the LED if (sensorState == LOW) Serial.println("⚠️ Motion detected!"); sensorState = HIGH; else digitalWrite(LED_PIN, LOW); // Turn off the LED if (sensorState == HIGH) Serial.println("✅ Motion ended."); sensorState = LOW; Use code with caution. ⚠️ Essential Troubleshooting Tips
Suitable for battery-operated devices.
The actual infrared detection is done by a pyroelectric sensor that responds to changes in infrared radiation. Because humans emit infrared at a wavelength of about 10 µm, the sensor is naturally sensitive to human movement. The white dome on top of the module is a . It divides the detection area into multiple zones and focuses the infrared energy onto the sensor, greatly increasing the detection range and angle. Without the Fresnel lens, the sensor would only “see” a narrow, short‑range window. The non‑repeatable mode is useful for triggering a
Unfortunately, major manufacturers (e.g., ST, TI) do not produce an "HW-416-B" datasheet because this is a , not a raw component. The raw PIR sensor inside is typically the RE200B or LHI778 . To get the most detailed technical reference:
void setup() Serial.begin(9600); pinMode(motionPin, INPUT); pinMode(ledPin, OUTPUT); Serial.println("HW-416-B warming up..."); delay(60000); // Critical: Allow 60s stabilization
This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later.
: Digital output signal. Transitions from 0V to 3.3V when motion is detected. GND : Common ground. 4. Key Features and Operation
