Introduction: Arduino - Smartphone (BT) Controlled RGB Mood Light
For this project we're gonna make a little RGB moodlight, remotely controlled through bluetooth with your smartphone using this app.
It will look a little like the image above. But surely you can apply your own creative input for the casing regardless.
Step 1: Getting the Technology Set-up.
You will need to connect your arduino following the image above, it'll end up looking a little bit like on the picture.
If you think you won't need resistors, I burned a couple of LEDs not using them so I highly advice using them.
If your bluetooth receiver doesn't work at first (I use a HC-05). Try looking into the different connection modes. It needs to be in communications mode to communicate with your phone. It might run in AT mode which doesn't do anything.
Step 2: Next Up You Need to Upload the Code to Your Arduino.
So now you've connected everything, you're gonna need the code (attached above).
Things to note is that you can set up your own connectors, you don't necessarily need to plug it the way I did. Also don't fret if it doesn't immediately work. There's two different type of LED's often confused with one another. A Common Cathode RGB LED and a Common Anode RGB LED, they work in opposite ways. I used a Common Cathode RGB LED for this project.
You can assign the different pins in the code to whatever your liking. You can test it by running the serial monitor to see if the colours are being sent through with the app.
Step 3: Tada! This It's Working!
Now that you've got it up and running you can make an attempt at making a whatever casing. I used simply carton materials and an A4 paper as a light diffuser. You can however extend this in any way you fantasy allows you to think of.
Step 4: Start by Measuring How Much Space You Need
For me this was just about enough, and a little extra to make sure everything fits.
Step 5: Getting Crafty
I dug a little hole and attached a little tunnel to make sure the light is directed towards the opening. You will see why soon.
Step 6: Time to Test How Everything Fits...
Hmm looks good, light comes out pretty well too!
Step 7: Time to Paint the Box and Add a Little Cover for the Top.
Tedious work, please remember to use paint that attaches to plastic materials, mine didn't and it ended up crumbling off a bit.
Step 8: And the Result Is There!
Hope you enjoyed this little project for me, it was my first so be gentle. I know a lot of sloppiness is included.