loading

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!

Step 4:

Someone know how to do so with a led strip 2812b?
<p>This is a great sensor project. You should enter this in the Sensor contest.</p>
Dang,<br>I liked ur projects<br>Well alright <br>I remembered you from my old antenna tutorial <br>That I took off the air<br>My name used to be antenna guy<br>And when I saw you comment on that I thought it was pretty neat that I had you in one of my magazines from Make ?
are you still on make?
<p>Sadly no. Budget cuts caused them to downsize and cut most of their staff and I was one of the video series that got cut.</p>
I will vote for it

About This Instructable

728views

19favorites

License:

More by alessiahskye:Motion Activated LED With a Parallax PIR Sensor 
Add instructable to: