This project demonstrates how to interface a PIR (Passive Infrared) motion sensor with an Arduino Uno R3 to detect movement and trigger an LED. When the PIR sensor detects motion, the LED turns on for ...
Code to control an LED connected to pin 8 of the Arduino Uno based on input from a PIR motion sensor connected to pin 9. The LED turns on when motion is detected (HIGH signal) and turns off when no ...