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.
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 .
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.