Introduction: Home Automation Using Arduino Uno
Ever wanted to make your home automated? Wanted to control the lights, fan and other appliances from your smartphone? Or wanted a tutorial about connected devices and getting started with it? Android Home Automation will show you how to make your home automated using an android smartphone. This requires you to have no experience of android programming at all, as a free application is included for you to develop. Using this android application you will be able to control your lights, air conditioning, door locks ,etc all from your smartphone. This system uses Bluetooth to connect with your device and control the various appliances in your home. Have fun with this instructable hacking tutorial!
Step 1: Step 1: Tools and Materials
Hardware :-
- Arduino / Arduino Clone
- A 5v TTL -UART bluetooth module like : JY-MCU BT_BOARD (Cheaper) or Bluesmirf Gold/Silver.
- Five 5V SPDT relays like : 5V relayPrototype board or breadboard.
- Connecting wires.
Software :-
- Arduino IDE
- DIY smarthome Android App
Step 2: Step 2: Hardware Assembly
Step 3: Step 3: Schematics
- Bluetooth TX pin to Arduino RX pin.
- Bluetooth RX pin to Arduino TX pin
- VCC pin to 5v GND to GND Arduino
- Relay IN1 pin to Arduino D2 (Digital Pin 2)
Step 4: Step 4: Programming the Arduino
Arduino
If you are new to the Arduino, it is a small board, fully assembled with
a AVR microcontroller. It is well suited for hacking and interacting with your environment. Many things that are hard with microcontrollers are rather easy with Arduino. Some of the advantages:
no need for a separate programming device (programmer)
comes with an integrated development environment (IDE) runs on any platform, Windows, Mac, Linux. easy connection to your PC with USB hardware is open source (but the name Arduino is not) has a great community More information can be found at the official Arduino website.
Steps :-
- Connect Your Arduino to Computer
- Copy paste the Home_auto.ino file or open with the Arduino IDE
- Upload the code to Arduino
Attachments
Step 5: Step 5: Install the App
- Connect Arduino to 9v battery or computer
- Install the App in your Phone
- run the appliaction
- allow the BT permissions ,
- Type Your BT Module name (Normally HC-05)
- Password = 1234
- pair ok
Attachments
Step 6: Step 6:- Controll Your Home Using Your Phone
In this Project I only use One Relay and there for we can controll only one device , also we can add more relay module and controll all of your home .
BE CAREFULL WHEN WORK WITH RELAY ITS 240V AC .

Participated in the
First Time Author Contest 2016

Participated in the
Home Hacks Challenge

Participated in the
Internet of Things Contest 2016
30 Comments
Question 2 years ago on Step 3
how do i connect door lock system which is mentioned in your code
3 years ago
nice project salman but can you send me it er-digram if possible
3 years ago
Sir,I am trying to make that project from previous 7 days continously but I can't able solve solve coding problem .Please send me whole genuine code to resolve my problem please.
My email
Shaikhturab9278@gmail.com
Thank you
From "shaikh Turab"
Question 3 years ago
Can we use arduino nano in place of uno?
3 years ago
sir when we write code in Arduino and upload it then app is create from that code or we will be create separate app in android studio and then connect with bluetooth and control the circuit
Question 4 years ago
may i know the android app that i should download for this project. there are so many smart home apps. which one will support this project? and please i need the whole code. please mail me the whole project
mail: shehanikavishkarg@gmail.com
Question 4 years ago on Step 5
If i want to use 8 relays then which application will be used kindly tell anybody
Question 4 years ago on Step 5
Could you please share the source code for the app? Or at least help developers in wrting one?
4 years ago
Hi Salman, great project. Nice of you to share. Could you also make the Android app open source and provide the link?
Thanks,
Jay
4 years ago
i want this whole project....plz mail it..with source code
Reply 4 years ago
mail me - surajpadhi25@gmail.com
Question 4 years ago on Step 6
Is this an IEEE project
Answer 4 years ago
mail me - surajpadhi25@gmail.com
7 years ago
this app is not working with my one can any one help
Reply 4 years ago
mail me - surajpadhi25@gmail.com
Reply 6 years ago
yeas this app is not working it crash always when i fill bluetooth name and press ok.
go to play store and download """""arduino bluetooth control device"""
this app is working completely. i am also using this app
Reply 7 years ago
can't be installed...?
or else...!
5 years ago
can i get pdf of whole project along with source codes plzzzzzzzzz
mail at- rajusingaram143@gmail.com
Reply 4 years ago
mail me - surajpadhi25@gmail.com
7 years ago
Good project but this is not an IOT project.