Introduction: Motion Activated LED With a Parallax PIR Sensor
Needed:
4x LEDs
4x 220 ohm resistors
5 jumper wires
1 Parallax PIR Sensor
1 mini breadboard
1 Arduino Uno
Step 1: Connecting Wires, Resistors, and LEDs
connect resistors to b1 & i1, b5 & i5, b10 & i10, b14 & i14
LEDs will connect a1, a5, a10, a14 (thats with the longer side of LED, short side will go to corresponding positive side)
jumper wires connect j1, j5, j10, j14
j1 connects to pin 5 on the Arduino
j5 connects to pin 6
j10 connects to pin 9
j14 connects to pin 10
use a jumper wire to connect from row 18 positive column and connect it to GND on Arduino
Step 2: Connecting Parallax PIR Sensor
5v connects to 5v on Arduino
Out connects to pin 12
GND connects to 5v
Step 3: Code
Upload the code and everything should check out. If something does not work leave me a comment so I can try and help!