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!

Step 4:

Comments

author
TalT4 (author)2016-05-28

Someone know how to do so with a led strip 2812b?

author
DIY Hacks and How Tos (author)2016-05-23

This is a great sensor project. You should enter this in the Sensor contest.

author

Dang,
I liked ur projects
Well alright
I remembered you from my old antenna tutorial
That I took off the air
My name used to be antenna guy
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 ?

author

are you still on make?

author

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.

author
electric guy (author)2016-05-23

I will vote for it