Hw-416-b Pir Sensor Datasheet -

void loop() motionState = digitalRead(motionPin); if (motionState == HIGH) digitalWrite(ledPin, HIGH); Serial.println("Motion detected!"); else digitalWrite(ledPin, LOW);

delay(100);

Introduction The HW-416-B is one of the most popular and cost-effective Passive Infrared (PIR) motion sensor modules available in the electronics market. Often found in Arduino starter kits, security lighting projects, and automatic door systems, this module is frequently compared to its predecessor, the HC-SR501. However, the HW-416-B offers distinct advantages in terms of size, power consumption, and adjustability. hw-416-b pir sensor datasheet

stats