Introduction: Bluetooth RGB Shelf Lighting

Being the giant fan of LED's that I am i'm always trying to come up with new ways I can put them throughout my house. Today i'm going to show you how to create a simple, yet extremely eye catching, RGB Bluetooth controlled Shelf lighting system. The beauty of integrating Bluetooth into the system is that you can control your lights using almost any device, your computer, smart phone, even your tablet.

Step 1: Materials

You can find most of these from just about anywhere, you don't necessarily have use the links above, they are just a suggestion. You also don't need the DB9 Connector I use it for an easy disconnect from the LED's.

Step 2: The Circuit

Connect the HC-06 to the 5v power source on the Arduino and the WS2801's to the 12v power source. Be sure that the Tx on the HC-06 goes to the Rx pin on the Arduino and the Rx pin on the HC-06 to the Tx pin on the Arduino. You can connect as many LED's in a row as you would like, in this particular scenario I'm using 11.

Step 3: Connecting Bluetooth

The default password for these Bluetooth transceivers is "1234" without quotes. Below are all of the defaults:

Step 4: Arduino Software

Below I've included a link to an example of the code i'm using on the Arduino. This code simply accepts 1 - 6 in order to change the different patterns, as you can see the addition of the Bluetooth Transceiver doesn't require any extra code on the Arduino side. There is also a link to the WS2801 Library, be sure you have this library before you try to compile or it will fail.

Attachments

Step 5: Android Software

The software attache below simply opens the Bluetooth connection and sends either 1-6 depending on what button is clicked, for debug i included the top enter text bar where you can send any information you wish. Before you try and use this app be sure that you connect to your Bluetooth device with your phone using the "1234" password. One thing, before you compile the code be sure to change:

"HC-06" to whatever the name of your Bluetooth device is, you can find it in the section below.