To detect motion using a PIR sensor connected to an Arduino and trigger an LED (using the built-in LED) when motion is sensed. Passive Infrared (PIR) sensors are electronic devices that detect motion ...
Once motion is detected, the sensor sends a HIGH signal to the microcontroller, which can be used to trigger a response such as turning on an LED or activating an alarm. In this experiment, the PIR ...