Arduino Bluetooth RGB Mood Light in 5 Minutes
by ahmedebeed555 in Circuits > Arduino
3604 Views, 8 Favorites, 0 Comments
Arduino Bluetooth RGB Mood Light in 5 Minutes
In this project I'll show you how to build a simple and complex Arduino Bluetooth projects you can control with your smartphone.
This is made simple with this smart application Remote XY.
You can make your mood light, RC car, Quadcopter, Home Automation or any other project using this basic information to connect Arduino to your smartphone via Bluetooth connection.
All those project can be made simple thanks to this genius application.
Here is my Channel on Youtube:
AeroArduino
Here is a detailed step by step guide and code.
Please Like, Share and Subscribe.
Hardware Components
Hardware required:
Arduino UNO Board
Amazon US, Amazon UK , Amazon DE, Amazon FR , Amazon ES, Amazon IT ,
HC-06 Bluetooh Module
Amazon UK , Amazon DE, Amazon FR , Amazon ES, Amazon IT ,
eBay, Banggood , Aliexpress
Red, Green and Blue LEDs
I connected the negative (shorter) leg of the three LEDs together for easy use.
Jumper wires
Circuit Connection
The connection is very simple.
You connect the Arduino Board to the Bluetooth Module via the hardware serial port(Pin #0 and Pin #1).
Arduino UNO <------> HC-06 Module
Vcc Vcc
GND GND
Tx Rx
Rx Tx
Connect LEDs as follows
GND Common Short Legs
Pin # 9 Red LED +ve terminal (Longer Leg)
Pin # 10 Green LED +ve terminal (Longer Leg)
Pin # 11 Blue LED +ve terminal (Longer Leg)
RemoteXY Editor
Configuration
Editor
Open Remote XY Editor at RemoteXY.com and place controls. RGB control and Toggle switch. Here is where you can design the Smartphone interface.
Connection
Bluetooth
Device
Arduino UNO
Module
HC-06 Module
IDE
Module Interface
Select Hardware Serial
Speed(Baud Rate) 9600
View
You can configure controls appearance here.
Software Generation
You need to download the generated code from the editor. You also need to include the Remote XY library from the same page.
Then you need to edit the code in Arduino IDE.
That's because the generated code only configures the controls. Then you need to code the actions between Arduino and those controls.
The final code is attached within this instructable.
Final Interface
Download Remote XY App from Google Play or Apple Store.
Open it and connect to your device.
You can see the interface loads on your smartphone.
This is how the interface looks on the Smartphone.
Note:
You don't need to be connected to the internet for using this interface between the phone and Bluetooth Module.
Operational Test
Run the application and power up the device.
Try the different modes of operation.
In the RGB mode, you can control the output color using the RGB circular control.
In the MOOD mode, the light fades in and fades out automatically.
In this instructable, I made a quick light diffuser using a piece of white paper.
Thank you for reading.
Please like, share and subscribe.
Check out my books on Amazon: