Motion Activated LED With a Parallax PIR Sensor

Introduction: Motion Activated LED With a Parallax PIR Sensor


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:

Sensors Contest 2016

Participated in the
Sensors Contest 2016

Be the First to Share


    • Battery Powered Contest

      Battery Powered Contest
    • Plywood Challenge

      Plywood Challenge
    • Plastic Contest

      Plastic Contest

    6 Discussions


    4 years ago

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

    DIY Hacks and How Tos

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

    electric guy
    electric guy

    Reply 4 years ago

    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 ?

    electric guy
    electric guy

    Reply 4 years ago

    are you still on make?

    DIY Hacks and How Tos
    DIY Hacks and How Tos

    Reply 4 years ago

    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.