Introduction: Arduino Bluetooth RGB Mood Light in 5 Minutes

About: DIY my way through life. For me, Instructales is a way of living. It's my making log. My life is counted with the instructables I make. Visit my website and If you need more Arduino Mentoring for your class yo…

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

Project on My Website

Here is a detailed step by step guide and code.

Please Like, Share and Subscribe.

Step 1: Hardware Components

Hardware required:

Arduino UNO Board

Amazon US, Amazon UK , Amazon DE, Amazon FR , Amazon ES, Amazon IT ,

eBay, Banggood , Aliexpress

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

Step 2: 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

ArduinoUNO <------> LEDs

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)

Step 3: 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

ArduinoIDE

Module Interface

Select Hardware Serial

Speed(Baud Rate) 9600

View

You can configure controls appearance here.

Step 4: 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.

Step 5: 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.

Step 6: 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:

amazon.com/author/ahmedebeed

Project on My Website