Introduction: Mobile Controlled Home Automation Using Arduino
Home automation may sound difficult but it's actually quite easy and interesting it's actually a dream for the everyday Tech enthusiast who dreams he can be the early adopter for a great venture. But you are reading this to learn its implementation and so here it goes.
Automation is, unsurprisingly, one of the two main characteristics of home automation. Automation refers to the ability to program and schedule events for the devices on the network. The programming may include time-related commands, such as having your lights turn on or off at specific times each day. It can also include non-scheduled events, such as turning on all the lights in your home when your security system alarm is triggered.
Once you start to understand the possibilities of home automation scheduling, you can come up with any number of useful and creative solutions to make your life better. Is that west-facing window letting in too much light? Plug your motorized blinds into a "smart" outlet and program it to close at noon each day. Do you have someone come by at the same time each day to walk the dog? Program your home automation system to unlock the front door for them, and lock it up again when they're done.
Step 1: Required Components
1. Arduino (Uno/Other)
2. Bluetooth Module (HC-05/06)
3. Jumper Wires
4. 9V Battery
5.Resistors (1kΩ commonly)
6. Android Phone
7.Bluetooth App (ArduDroid/Blutooth Terminal)
8. Bread board
Step 2: Connections
Connect the HC-05 module :
Connect the LED :
Anode ---------- Pin 8
K ---------------- Pin 10
Step 3: Working
The working of the system is pretty simple and basic actually we first code the microcontroller then we do the necessary connections like in the above prototype then when the power source is applied the BT module turns on as a slave device to which we can be connected to a Master Device which is your android device with default Pairing Pin “1234”.
Now, as you’re connected to HC-05, it should appear in Paired Devices. Now open the SPP Bluetooth App. I prefer ArduDroid as you have full control over all Analog and Digital pins of Arduino if you want to implement this in a large scale like complete Home Automation and even to Send and Get Data as what we are using now. According to our code sketch, the LED glows if HC-05 recieves 1 and stops glowing if it receives 0. So, just type 1 and press Send Data to make LED glow and Send 0 to stop LED.The led will remain on irrespective of the function of the module until it's command is received.
Hence, By using the relays we can control any Appliances by mobile .
Note : You can use Bluetooth Terminal App (Download from google play store)
Step 4: Coding
Find the attached .ino file and open it on Arduino and upload it .
Install Bluetooth Terminal app & Connect Mobile.