This is a project I have been thinking of for a while. I wanted to have some rgb led lights on my boat remotely controlled by my Iphone.
This is an intermediate project since we will be needing to solder, which can be hard without a got iron. This project will work with many other controllers and shields.
- Arduino Uno
- RBL BLE Shield
- 3x 10ohm resistor
- 3x STP16NF06 TO220
- Led strip connector
- RGB Led strip
- Apple or Android device
- 9V battery clip
- Additional power cable for the Arduinio
- RBL_BLE shield library
- Soldering Iron
- Scraps of wire
Step 1: The prototype
First I placed everything out on a solderless breadboard. (There are some modifications to the diagram but they are explained in the bobbles.) The only You can follow the connections on the diagram or you can skip this step and make it on the on the final breadboard instead.
Important that you remember to upload the "BLEFirmataSketch."
To import the Library: Sketch> Import Library> Add Library...
Read more about this shield hear: http://redbearlab.com/bleshield/
The Library: download library (link does not work try this: http://redbearlab.com/getting-started-bleshield/)
Step 2: Setup
Lunch the BLE Arduino app, turn on bluetooth and connect the battery. Then you will hit "Connect" and choose UNO.
The app: https://appsto.re/no/gFcPG.i
Then When you are inn the application you should press where it says "Output" on 1,2 and 3, and change them to "PWM."
Step 3: Soldering
First Thing I did was figuring out where the pins were on the BLE shield, then I marked them on the breadboard. I will not go in to depth of the connections, since everybody will make it different. It is also very easy to follow the diagram given earlier,witch is just to copy. The only different part is the power cable for the Arduino, ON the prototype it was the USB. This power cable is parallel soldered to the 9V battery.