Each LED is connected to one of the Arduino's digital output pins through a 220Ω resistor. A push button is connected to each input pin and uses the internal pull-up resistor feature of the Arduino.
Basic motion sensing setup using Arduino, PIR sensor, LEDs, and push button for interaction & Motion-triggered alarm system with Arduino, PIR sensor, piezo buzzer, and LED alert. // first pic This ...