You are on page 1of 7

6/12/2016

ANDROIDBASEDHOMEAUTOMATIONSYSTEM
1M

Like

Follow@EngineersGarage

Urmrete

Arduino Projects (http://www.engineersgarage.com/microcontroller/arduinoprojects) | Raspberry Pi


(http://www.engineersgarage.com/embedded/raspberrypi) | Electronic Circuits
(http://www.engineersgarage.com/electroniccircuits) | AVR (http://www.engineersgarage.com/embedded/avr
microcontrollerprojects) | PIC (http://www.engineersgarage.com/embedded/picmicrocontrollerprojects) |
8051 (http://www.engineersgarage.com/microcontroller/8051projects) | Electronic Projects
(http://www.engineersgarage.com/contribution)

ANDROIDBASEDHOMEAUTOMATIONSYSTEM
Description

Circuit Diagram

Bookyourideal
hotelon

ConstanceHalaveli

AyadaMaldives

ConstanceMoofushi

HalaveliIsland

Maguhdhuvaa

MoofushiIsland

From $1,377

From $1,009

From $1,210

BookNow>

BookNow>

BookNow>

Contributor: Prabakaran P.M


Summary:
This article is to make an android controlled Home. It will help you in building an android controlled
Home appliances without any experience in android app development by providing you the free
android app. This app consists of touch controlling interface of your Home appliances. It is simple to
start with downloading the app to your phone/tablet and start building your control circuit by
following below steps.
Description:
Prerequisites & Equipment:
You are going to need the following:
1. An

Arduino

Board

or

Arduino

clone(Here

is

guide

if

you

need

(http://www.engineersgarage.com/embedded/arduino/cloningarduino) )
2. A 5v TTL UART Bluetooth module.
3. Relays and its Driving circuits.
4. Arduino IDE for the programming.

Working Principle:
This Project includes two distinct parts, hardware control circuit and the android application. The
communication between the Control circuit and the android application is carried over by the
Bluetooth link between the phones Bluetooth and the Bluetooth device in the control circuit. The
ASCII commands are sent from the phone to the Robot which in turn checked by the Arduino for the
turning ON or OFF of the particular device.
Application Design:

http://www.engineersgarage.com/comment/25369#comment25369

1/7

6/12/2016

ANDROIDBASEDHOMEAUTOMATIONSYSTEM

The Android app developers generally use JAVA language, but this Android app can also build without
knowing the Java language. This app was developed in the online Development Environment which is
developed by MIT called App Inventor. This app inventor is specially designed for Non programmers
those who dont know the JAVA language. The app shown below has buttons and all the buttons
gives different bytes in the output that has to be sent to the Arduino using Bluetooth for
processing.

If you want to edit the application according to your use, here project file of the Application. You
can upload this project and utilize it.
EG_Home.aia. (http://www.engineersgarage.com/sites/default/files/EG_Home.aia)

Hardware assembly:
Make the circuit as is given by the circuit diagram. Make the circuit with your selected parts and
connect the motors to the circuit. Optocouplers are used to safeguard the Arduino from High voltage
risks.
Note: RX of Arduino should be connected to TX of Bluetooth module and TX of Arduino should be
connected to RX of Bluetooth module.

http://www.engineersgarage.com/comment/25369#comment25369

2/7

6/12/2016

ANDROIDBASEDHOMEAUTOMATIONSYSTEM

Loading software for Arduino:


If
you
are
new
to
Arduino
you
can
start
with
here
(http://www.engineersgarage.com/embedded/arduino/gettingstartedwith
arduino) . You have to start with the Arduino IDE (Integrated Development Environment)
from Arduino (http://arduino.cc/en/main/software) . Download the code from below
link and upload it to the Arduino board.
PLEASE NOTE : SINCE THE BLUETOOTH MODULE IS CONNECTED TO THE SERIAL PINS OF THE
ARDUINO, THE MODULE SHOULD BE REMOVED OR POWERED OFF WHILE UPLOADING THE CODE TO
THE ARDUINO. THE MODULE CAN BE CONNECTED ONCE THE UPLOAD IS COMPLETED.

Screenshot of Arduino code :


Downloading the android application and setting up the Bluetooth:
To download the android application to your phone, download the application file from below link
and copy the apk file to your phone and then install it. Check whether Allowing installation of non
Market apps in one of the settings tab is checked with tick mark. Once you have installed the
application, the next step is to connect with your Bluetooth module from your phone. For this, you
need to power the Arduino and Bluetooth module and then turn ON the Bluetooth on your phone
and make it visible to other devices. After that, search for new devices in Bluetooth, you can find
your Bluetooth module from the list, enter the pairing code which is usually 1234 or 0000when
prompted .

Application

Download

(http://www.engineersgarage.com/sites/default/files/EG_Home.apk)

Note the name of your device , in this case it is HC06. After pairing with the robot, go to the
EGHOME application and touch the Bluetooth button to select the paired device now the color of
the Bluetooth button will be changed for a successful connection. After that the phone will get
connected to your control circuit, and by clicking the respective buttons, the lights will be ON
respectively
.

ConstanceHalaveli
from$958 Bookyouridealhotelon
TripAdvisor
code.rar

(http://www.engineersgarage.com/sites/default/files/contributions/code_14.rar)

http://www.engineersgarage.com/comment/25369#comment25369

3/7

6/12/2016

ANDROIDBASEDHOMEAUTOMATIONSYSTEM

http://www.engineersgarage.com/comment/25369#comment25369

4/7

6/12/2016

ANDROIDBASEDHOMEAUTOMATIONSYSTEM

http://www.engineersgarage.com/comment/25369#comment25369

5/7

6/12/2016

ANDROIDBASEDHOMEAUTOMATIONSYSTEM

ANDROID BASED HOME AUTOMATION SYS...

Add New Comment

26703 reads

Like

1.7K

Tweet

Comments
plz ware code arduino
Submitted by yosry on Wed, 01/06/2016 16:21
plz ware code arduino
Reply

Download Code.rar for Arduino


Submitted by Prabakaran P M on Fri, 03/06/2016 14:48
Download Code.rar for Arduino code.
Reply

This project is soo useful


Submitted by gunjan vyas on Fri, 03/06/2016 19:53
This project is soo useful
Reply

Please, can i have the


Submitted by Jozsef on Sat, 04/06/2016 02:47
Please, can i have the Android application source code?
Reply

can i have souce code for


Submitted by gopinath on Mon, 06/06/2016 11:09
can i have souce code for arduino???

Reply

Please, can i have the


Submitted by ahmed on Tue, 07/06/2016 18:02
Please, can i have the Android application source code?

http://www.engineersgarage.com/comment/25369#comment25369

6/7

6/12/2016

ANDROIDBASEDHOMEAUTOMATIONSYSTEM
Reply

Add new comment

Copyright 2012 EngineersGarage. All rights reserved. Privacy Policy (http://www.engineersgarage.com/privacypolicy)


| Refund Policy (http://www.engineersgarage.com/subscriptionsrefundpolicy) | About Us

(http://www.engineersgarage.com/aboutus)

http://www.engineersgarage.com/comment/25369#comment25369

7/7

You might also like