RGB Shelf Lights With LinkIt ONE

5,513

170

9

Intro: RGB Shelf Lights With LinkIt ONE

Indirect lighting can really add to a room's ambiance. Unfortunately, sometimes it can be ridiculously pricey just to get a test sample of something installed before you know if it would even look good. Today we'll go through how to set up a RGB light strip prototype for you to run along the floor of your bathroom to create a motion activated night light. That way whenever you walk into the bathroom at night, you'll be greeted by pleasant mood lighting versus a bright shining beam light.

Step 1: Requirements

You'll need a few hardware pieces in order to build this prototype:

I would also recommend you download some additional software libraries as well:

LED Strip Library

Step 2: Building the Circuit

The circuit isn't too difficult to put together. Above are two diagrams for you to reference when assembling. Use the jumper cables, breadboard, MOSFET's, and LinkIt ONE to assemble the circuit.

You'll also want to plug in the Grove PIR Motion sensor into the LinkIt ONE's Grove slot.

Step 3: Deploying the Code

The code is fairly straight forward. I've created an additional library for the RGB LED Strip that allows it to easily fade and transition without bloating our code file. Remember that this is an external library so you'll have to download it and manually add it to your LinkIt ONE environment.

Step 4: Deploying to Floor

When it says 'Floor' it really doesn't mean stick these right to the floor. Most cabinets of a bit of a floor lip so hide the very edges of the furniture. This is a perfect place to deploy your new RGB Mood lighting. Just make sure the PIR sensor is positioned in a spot where it can see if there is movement or not.

The back of the RGB Strip is coated in an adhesive that allows for quick and easy deployment to any surface.

Hope it adds a nice ambiance to your room!

Share

    Recommendations

    • Audio Contest 2018

      Audio Contest 2018
    • Optics Contest

      Optics Contest
    • Electronics Tips & Tricks Challenge

      Electronics Tips & Tricks Challenge

    9 Discussions

    0
    None
    whoismorpheus

    2 years ago

    Hi, I am new to this but would like to do this experiments. Where do you purchase all these stuffs?

    1 reply
    0
    None
    jckelleywhoismorpheus

    Reply 2 years ago

    Ebay really is the best choice if you don't mind things taking a while to ship from China.

    0
    None
    Heyup

    2 years ago

    This looks cool mate well done :)

    Where can I download more software libraries please? :)

    0
    None
    Just4Fun Media

    2 years ago

    Interesting project. How did you control the three colours with only two PWM ports? I have been working on a similar project.

    Have a great day! :-)

    2 replies
    0
    None
    jckelleyJust4Fun Media

    Reply 2 years ago

    You essentially just don't get the same control versus if you had three. One color will have to just be on or off. Bummed the LinkIt ONE doesn't come with more PWM ports.