Professional Documents
Culture Documents
All Report File Home Automation
All Report File Home Automation
Md Jahid (18104134018)
DEPARTMENT OF ECE
1. Introduction...........................................................................................4
2. Acknowledgement.................................................................................5
5. Arduino Board.........................................................................................6
6. Ultrasonic Sensor......................................................................................12
7. PIR Sensor..................................................................................................10
8. LDR Sensor..................................................................................................13
9. Relay module................................................................................................13
10. Fan...............................................................................................................15
11. Buzzer..........................................................................................................16
15. Conclusion......................................................................................................27
Introduction
In broad strokes, the main points of this project are automation and control, electronic
boards and mobile applications and particularly home automation, Arduino boards and
Android applications. This is the result of the connection of two modern technologies,
including hardware and software. Despite the actuality of these components, they all
appeared long ago and have been evolving throughout history.
Origin
History of automation
✓Operation:
Part formed by elements that act directly on the machine and make it perform desired
operations. These elements are called actuators and some examples are engines, cylinders
or photodiodes.
At this point, is called home automation to a system capable of automate a house or building
including energy management, security, comfort and communication. It can be integrated
through wired or wireless communication networks, although nowadays the predominant
trend is wireless. It could be defined as the integration of technology into the intelligent
design of an enclosure. The main points of this technology are energy saving, comfort,
security, communication and data accessibility.
Nowadays thanks to the permanent technological evolution the offer is better and have
grater quality, its use is now more intuitive and perfectly manageable by any user.
Today’s home automation contributes to increase the quality of life, makes the distribution
of the house more versatile, changes environmental conditions by creating different
predefined scenes and makes the home more functional by allowing the development of
domestic, professional and leisure under one single roof.
Houses have evolved throughout history, from caves with fire to warm and illuminate even
torches and candles and finally the arrival of electricity, which has allowed to increase home
comfort. Later, electronics arrived allowing the use of the appliances, being able to perform
programming routines and regulation processes such as hot and cold washing or video
recording. It was from the 1970’s that integrated systems were used commercially and
developed into the domestic aspect of urban houses, this is when home automation manages
to integrate the two necessary systems, electrical and electronic, in pursuit of the integral
communication of house devices. It was in the United States where the first devices of
building automation appeared, based on the X- 10 protocol.
This is a communication protocol for the remote control of electrical devices, using the pre-
existing electrical line to transmit control signals within home automation equipment by
radio frequency pulses which represent digital information. History of automation
applications comprises different stages, beginning with the first protocols oriented to remote
control and following with the great protocols of self-regulation, considered the real home
automation revolution
2) 2 CHANNEL RELAY(5v)
4) POWER SUPPLY
6) CONNECTING WIRES
7) VERO BOARD
5. Arduino boards
Arduino Uno is a microcontroller board based on 8-bit ATmega328P microcontroller. Along
with ATmega328P, it consists other components such as crystal oscillator, serial
communication, voltage regulator, etc. to support the microcontroller. Arduino Uno has
14 digital input/output pins (out of which 6 can be used as PWM outputs), 6 analog input pins,
a USB connection, A Power barrel jack, an ICSP header and a reset button.
Operating Voltage 5V
SRAM 2 KB
EEPROM 1 KB
It detects infrared radiation from the environment. Once there is infrared radiation from the human body
particle with temperature, focusing on the optical system causes the pyroelectric device to generate a
sudden electrical signal.
Simply, when a human body or any animal passes by, then it intercepts the first slot of the PIR sensor.
This causes a positive differential change between the two bisects. When a human body leaves the
sensing area,the sensor generates a negative differential change between the two bisects.
8. LDR SENSOR
9. Relay module:
10. Fan :
Cooling fan which transmits energy to generate the necessary pressure with which a
continuous flow of air is maintained. It is axial type, which means that the air inlet and
outlet follow a path according to coaxial cylindrical surfaces. In this case, its brushless DC
motor will be energized when the NPN transistor to which is connected saturates.
11. Buzzer:
2 Second thing we have use a PIR sensor. PIR sensor detection of human
then turn ON the fan
<Servo.h> int
output1Value =
0; int sen1Value
= 0; int
sen2Value = 0;
= A0;
LOW); delayMicroseconds(2);
microseconds digitalWrite(triggerPin,
HIGH); delayMicroseconds(10);
digitalWrite(triggerPin,
LOW);
pinMode(echoPin,
INPUT);
2
// Reads the echo pin, and returns the sound wave travel time
Servo servo_7;
void setup()
pinMode(A0, INPUT);
//LDR
//signal to PIR
void loop()
//--------------------------------------------------------------
int val1 =
analogRead(LDR); if
{
2
digitalWrite (13,
LOW);
Serial.print("Bulb ON =
"); Serial.print(val1);
else
{
2
digitalWrite (13,
HIGH);
Serial.print("Bulb OFF =
"); Serial.print(val1);
//--------------------------------------------------------------
//--------------------------------------------------------------
sen2Value =
digitalRead(9); if
(sen2Value == 0)
ON,indicating nomotion
if (sen2Value == 1)
digitalWrite(10, HIGH);//npn as
2
switch ON delay(5000);
}
2
//---------------------------------------------------------------
//--------Gas Sensor - //
//---------------------------------------------------------------
//read sensor
delay(30
0);
noTone(8
);
//--------------------------------------------------------------
//-------------------------------------------------------------
servo_7.write(90);
2
Serial.print("\
n");
}
2
else
servo_7.write(0);
Serial.print("\n");
15. CONCLUSION:
The system as the name indicates, ‘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. WIFI 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
device’s display. This paper proposes a low cost, secure, ubiquitously accessible, auto-
configurable, remotely controlled solution. The approach discussed in the paper is novel and
has achieved the target to control home appliances remotely using the Wi-Fi technology to
connects system parts, satisfying user needs and requirements. WiFi technology capable
solution has proved to be controlled remotely, provide home security and is costeffective as
compared to the previously existing systems. Hence we can conclude that the required goals
and objectives of home automation system have been achieved. The system design and
architecture were discussed, and prototype presents the basic level of home appliance control
and remote monitoring has been implemented. Finally, the proposed system is better from the
scalability and flexibility point of view than the commercially available home