Motion Activated LED With a Parallax PIR Sensor

Published

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:

Share

    Recommendations

    • Oil Contest

      Oil Contest
    • Creative Misuse Contest

      Creative Misuse Contest
    • Clocks Contest

      Clocks Contest

    6 Discussions

    0
    user
    TalT4

    2 years ago

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

    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 ?

    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.