You are on page 1of 7

A

PROJECT REPORT
ON
HOME AUTOMATION USING ARDUINO

Submitted By: -
Submitted To:-
Eklavya Sharma Satish
Kumar Rai
Roll No.- 12EBKEE031 Assistant Professor
(The Branch- Electrical Engineering I
Department of Electronics)
B K Birla Institute of Engineering & Technology, Pilani B K Birla Institute of
Engineering &
Technology, Pilani
Mobile: +91 9785551210

1. INTRODUCTION
Home automation is becoming more and more popular day by day due to its
numerous advantages. This can be achieved by local networking or by remote
control. Our Aim is to design a kit that can be used for controlling AC Loads from
Android phone by using Arduino as microcontroller. Home automation refers to
the use of computer and information technology to control home Appliances and
features (such as windows or lighting). Systems can range from simple remote
control of lighting through to complex computer/micro-controller based networks
with varying degrees of intelligence and automation. Home automation is
adopted for reasons of ease, security and energy efficiency.
In modern construction in industrialized nations, most homes have been wired
for electrical power, telephones, TV outlets (cable or antenna), and a doorbell.
Many household tasks were automated by the development of specialized
Appliances. For instance, automatic washing machines were developed to
reduce the manual labor of cleaning clothes, and water heaters reduced the
labor necessary for bathing.

2. LIST OF COMPONENTS REQUIRED


2.1 STEP DOWN TRANSFORMER
A single phase 230:18 V step down transformer is required for 12v dc power
supply.

Figure 1: Step down transformer


2.2 MICROCONTROLLER
We have used Arduino as microcontroller for giving signals to the relays and
taking signal from HC 06.Which takes 5 V dc power supply.
Figure 2: Arduino Microcontroller
2.3 DC RELAYS
Required no of relays of 12 V DC are used for switching purposes.

Figure 3: DC Relays
2.4 DIODES
Diodes are used in the circuit for rectification and a single diode is used as
freewheeling diode. All diodes are 1N4007.

Figure 4: Diodes
2.5 MOSFET
General purpose NMOS IRF510 is required for switching operation.
2.6 BLUETOOTH RECEIVER HC 06
A Bluetooth receiver HC 06 is required for catching signal from android phone.
Figure 6: Bluetooth Receiver
2.7 VOLTAGE REGULATOR IC
LM 7812 a voltage regulator IC is used in the 12V DC Power supply.

2.8 LOAD
A single phase 230 V, 50 Hz, load is required.
2.9 ELECTRICAL WIRE AND JUMPER WIRES
Electrical wire is used in the AC power supply and Jumper wire in the DC power
Supply.

2.10 RESISTANCE AND CAPACITANCES


Resistances are used for current limiting and capacitances are used for reducing
ripples in DC power supply as per specifications.

3. CIRCUIT DIAGRAM
Fig. Arduino Controlled Relay

Fig. Full-Wave Bridge Rectifier

WORKING-
When the button is pressed in the application then it will send a signal to the
Arduino board through HC-06 which will put pin 13 in HIGH state, meaning 5V
on pin 13. This voltage is used to drive the MOSFET that will switch ON the
relay and the load will be powered from the main power supply.

We use an external power supply (Vcc) that is between 7 to 12 volts to power


up the Arduino board and the transistor + relay. For that purpose weve
made a full wave bridge rectifier. The load uses its own power supply, for
instance if you use a light bulb then you might connect it to the 110/220V
mains or any other power source.

ARDUINO CODE-
const int relay = 13;
int val;
// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(relay, OUTPUT);
Serial.begin (9600);
}

// the loop routine runs over and over again forever:


void loop()
{
if(Serial)
{
if(Serial.available()>0)
{
val=Serial.read();
Serial.println(val,DEC);
relaycontrol(val);
}
}
}
void relaycontrol(int val)
{
switch(val)
{ case 97 : turnon();
break;
case 101 : turnoff();
break;
default: turnoff();
}
}
void turnon()
{
digitalWrite(relay, HIGH);
delay(1000);
}
void turnoff()
{
digitalWrite(relay, LOW);
delay(1000);
}

ANDROID APPLICATION
A smart phone is a mobile phone with an operating system. Smart phones typically include the
features of a phone with those of another popular consumer device, such as a personal digital
assistant, a digital camera, a media player or a GPS navigation unit. Later smartphones include all of
those plus a touchscreen interface, broadband internet, web browsing, Wi-Fi, 3rd-party Apps, motion
sensors and mobile payment mechanism.
Even with limited programming experience, you can easily learn to create Apps for the Android
platform with this complete guide to App Inventor for Android. App Inventor for Android is a visual
language that relies on simple programming blocks that users can drag and drop to create Apps.

CODE BLOCKS-
CONCLUSION
The system as the name indicates, Android based home automation makes the
system more flexible and provides attractive user interface compared to other home
automation systems. In this system we integrate mobile devices into home
automation systems. A novel architecture for a home automation system is
proposed using the relatively new communication technologies. The system consists
of mainly three components is a Bluetooth module, Arduino microcontroller and
relay circuits. Bluetooth is used as the communication channel between android
phone and the Arduino microcontroller. We hide the complexity of the notions
involved in the home automation system by including them into a simple, but
comprehensive set of related concepts. This simplification is needed to fit as much
of the functionality on the limited space offered by a mobile devices display.

You might also like