Linkit One Automatic Night Light

2,866

43

3

Introduction: Linkit One Automatic Night Light

About: My name is Zach Sousa and I'm a Canadian highschool student that has a passion for making.

Hey everyone! In this instructable, I will show you how to make an automatic nightlight that turns on when you step out of bed. This project uses a PIR motion sensor that detects infrared light, which in turn, can detect movement of living things.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Parts and Tools

Here are the parts and tools needed to make this project:

Parts:

LEDs

Linkit ONE microcontroller

Lithium Ion battery (Included with linkit ONE)

PIR sensor

3mm acrylic sheet

Wire

Male Headers

Tools:

Computer with latest version of the Arduino IDE and Linkit ONE drivers

Soldering iron and solder

Hot glue and hot glue gun

Band saw

Step 2: Wiring

Use the attached circuit diagram to wire all connections in the project.

Step 3: Cut Acrylic

Print out the attached template and glue it to a piece of acrylic. Now, cut out the acrylic according to the template.

Step 4: Build Enclosure

Assemble the enclosure by glueing all of the side pieces (the short long pieces) together to make a rectangle. Now, glue the big translucent rectangular piece to the bottom of the hollow rectangle shape that you made in the last step.

Step 5: Glue Sensor

Hot glue the PIR sensor to the box, I glued mine behind the translucent white plastic on the box.

Step 6: Code

Download the attached code and open it. Next, plug in the linkit one to your computer and select the correct serial port (should say "linkit one"). Now, click upload.

Step 7: Done!

Thank you for viewing this instructable! If you liked it, please "like", comment, or share it.

To use this project, Place the device under your bed, making sure that the motion sensor will be able to detect the infrared light given off of your feet. As long as it isn't behind anything, you should be fine.

Make It Glow! Contest

Participated in the
Make It Glow! Contest

Be the First to Share

    Recommendations

    • Backyard Contest

      Backyard Contest
    • Silly Hats Speed Challenge

      Silly Hats Speed Challenge
    • Finish It Already Speed Challenge

      Finish It Already Speed Challenge

    3 Discussions

    0
    grayl
    grayl

    4 years ago

    In step 3 you say "Print the attached template" - what template?

    0
    Zach Sousa
    Zach Sousa

    Reply 4 years ago

    Sorry, I guess the .svg file isn't readable through instructables. I'll try uploading it as a .pdf later.

    0
    jayludden
    jayludden

    4 years ago

    Awesome work! I like that you made an enclosure for your project.