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