Android Bluetooth Control

92,200

146

131

Posted in TechnologyArduino

Introduction: Android Bluetooth Control

Build your own home automation arduino project where you can control the temperature and humidity thanks to the DHT-11 temperature sensor, you can also control the lighting thanks to the RGB LED strips and manage several devices wirelessly using the JY-MCU bluetooth module from your own mobile phone.

Choose the hue of light that makes you feel more comfortable.

  • Control temperaturye and humidity
  • Simple bluetooth remote control from which you can modify lighting from your mobile device or tablet.
  • You have two separate RGB channels where you can get different colors per channel.
  • Control adjustable intensity.
  • Control switch 4 chanel.
  • Do it yourself .
  • Thanks to the arduino platform in minutes you 'll Omniblug armed and ready for use.

Discover all the features provided. Is very easy install this small device.

Web: http://www.omniblug.com

Step 1: First We Will Collect All the Items You Need.

  • Arduino( Uno, Mega , or Nano )
  • Bluetooth JY -MCU Module (hc05 / hc06)
  • Transistor Array ULN2003A
  • 5050 RGB LED Strips Common Anode
  • Sensor DHT-11 (Temperature / humidity)
  • Module Relay 5v 4 chanels
  • Power LED 12V
  • Software: Arduino IDE and APP Omniblug

We make the electronic circuit.

We use the DHT sensor to obtain temperature and humidity.

For ligth control ,it is important to note that this scheme is designed to provide a 500 mA current for each RGB channel. ( 1 strip of LED 1 meter per channel). If you need to connect more LEDs , you will need a power amplifier to provide sufficient intensity for installation.

We use the PWM outputs of our arduino to control each RGB channel. Remember the bluetooth module can be powered from 6v 3.3v. We power with microcontroller because its maximum consumption is minimal and allows us to have a better control of device.

Step 2: Programming Arduino Microcontroller

Programming our arduino you must have the software installed and load the next scket .

Code to download.



We use the digital outputs (PWM) of our arduino to control each RGB channel.

Once loaded , you have to wait about 10 seconds while the bluetooth module is configured for first use.

The programing process is complete when the channel 1 RGB led change color , Red to Green .



If the channel 1 rgb led is green, we have our device configured for use.

Step 3: Install App Omniblug

Finally, we will installed the application Omniblug on your Android device.
We access Google Play and installed .

https://play.google.com/store/apps/details?id=com...



Once you open the application you will be asked to connect with our bluetooth device, perform a scan and select device Omniblug to connect .

Insert the pin default "1234".

Since implementation options we can modify the pin of device to prevent other applications from connecting . However we only ask for the pin the first time to proceed with our Omniblug matched .

If pairing was successful , our application will change to the control screen .



That's it .



We have our unit control RGB LED running.

3 People Made This Project!

Recommendations

  • Microcontroller Contest

    Microcontroller Contest
  • Space Challenge

    Space Challenge
  • Science of Cooking

    Science of Cooking
user

We have a be nice policy.
Please be positive and constructive.

Tips

Questions

131 Comments

I dont know what I did wrong, i did everything like it is on instructions

Can you tell us what happens? Did you get to connect with bluetooth?

can you add more than 2 channels

Hi, i have spot one problem. When i disconnect from the bluetooth the diodes start blinking. How to solve this problem?

2 replies

Hello RadoslawN1,

Are you using the bluetooth JY-MCU module?

Hey, I plan to follow your circuit but I will be using about 6 meter (7.2 Amp) strip on channel A and 3 meter (3.6 Amp) on Channel B.

the location of the two channels are spaced out approximately 8 meters away from each other so I was thinking it would be best if each channel had its own power supply and its own amplifier. Do you agree?

Due to this current draw I need to use another power supply and amplifier.

My question:

1. Using this power amp (https://www.amazon.ca/JOYLAND-Channels-Amplifier-R... would prevent the need for the ULN2003A correct? I cant find a darlington Transistor array with high enough values to accomplish my current requirements.

Thanks, great work!

1 reply

Hello jarredjoffe,

It is not necessary to have power supplies per channel.

If the input signal that will provide Arduino to the amplifier is sufficient, it does not need the ULN2003A array, but it is good to have Arduino board protection.

Regards

Hello sir,

What I need if the chanel use 5m aprox or more?
I will use this:

https://www.adafruit.com/product/1429


I'm going to mount a led system in my room.

Thank you

2 replies

Rgb amplifier is required when the LED consumption per channel is high.(More 600mA)


There are many models on the market depending on consumption .

For example , 30 LEDs per meter SMD 5050 = 7.2 W per meter . ( Maximum consumption all led are white)

30 LEDs per meter SMD 5050 = 7.2 W per meter strip .
60 LEDs per meter SMD 5050 = 14.4 W per meter strip .
72 LEDs per meter SMD 5050 = 17.3 W per meter strip .
120 LEDs per meter SMD 5050 = 28.8 W per meter strip .

Power (P) = Current (I) x Voltage (V)

Therefore, if one meter LEDs strip consumes 7.2 W and operates at 12V, the LED strip by a current of I = P / V = 7.2 W / 12VDC = 0.6 Amperes .

Then you need a power supply of 12V and 1.8 A ( 0.6 A x 3 strips ) or higher and a RGB amplifier that supports these values or higher.

Regards.

Hello Sir,

I have done all the connections as per the given diagram but my arduino is getting heated up and two of my arduino has got impaired.

Sir its really getting frustated and I am not getting any solution.

Please reply me ASAP.

Thanku

1 reply

Hello.

Can you give us more details of your connections? Are you using the same components?

What part of arduino is heated?

Hello, it looks like most of the arduino boards come with built in bluetooth now. Do I still need the Bluetooth JY -MCU Module in order to pair with the app? Or, will the app pair with the bluetooth on the arduino?

Thank you.

1 reply

Hi.

If Arduino has built-in Bluetooth module, Bluetooth is not required JY-MCU.

I have connected a single RGB strip and used ULN2003APG( Toshiba) but the light is not brighter as it should be. I am using a 12V /1.5 A power source to power the arduino and have used the Vin pin of the arduino to power the led strip.

Am i doing somewhere in connection or powering the led strip.Please reply as soon as possible.

1 reply

Hi.

The VIN pin has a voltage drop. This pin is usually used to power on arduino.

Please, can you run a new test without using the VIN pin?