Introduction: RGB Shelf Lights With LinkIt ONE

Picture of 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

Picture of 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

Picture of 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

Picture of 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!

Comments

Governor Keagan (author)2015-10-28

Well done!

whoismorpheus (author)2015-10-26

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

jckelley (author)whoismorpheus2015-10-26

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

Heyup (author)2015-10-26

This looks cool mate well done :)

Where can I download more software libraries please? :)

Just4Fun Media (author)2015-10-25

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! :-)

jckelley (author)Just4Fun Media2015-10-25

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.

audreyobscura (author)jckelley2015-10-26

Would it be possible to do PWM multiplexing?

Big Projects (author)2015-10-24

this is cool

DIY Hacks and How Tos (author)2015-10-24

This would be a great way to set up lighting for Halloween

About This Instructable

5,393views

168favorites

License:

More by jckelley:Push-Up CounterTimeout ChairLinkIT ONE Battery Tester
Add instructable to: