Arduino Bluetooth RGB Mood Light in 5 Minutes

About: For me, instructables is more than a website. It is a lifestyle. It gave me the chance to live my dream. Share what I do with the world. I am an embedded Systems Engineer. Love to travel , run , design usefu...

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 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 US, 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

Arduino UNO <------> 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

Arduino IDE

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

Share

    Recommendations

    • IoT Challenge

      IoT Challenge
    • Colors of the Rainbow Contest

      Colors of the Rainbow Contest
    • Woodworking Contest

      Woodworking Contest

    Discussions