Arduino Based Smart Home Automation System PDF
Arduino Based Smart Home Automation System PDF
Volume: 3 | Issue: 4 | May-Jun 2019 Available Online: www.ijtsrd.com e-ISSN: 2456 - 6470
Home automation includes mainly centralized control of design, a motion detector is integrated using Passive
lighting, temperature, appliances, and other systems, to Infrared Sensor (PIR) to detect movement.
provide improved comfort, convenience,efficiency and PIR
Sensor
GSM
Mobile
Phone
security. For disabled and elderly person, home automation
can be the substitute of institutional care. With the energy Relay Bulb
Smoke
saving concept, home automation or building automation Sensor Arduino Nano
makes life very simple nowadays. It involves automatic
controlling of all electrical or electronic devices in homes or Buzzer
@ IJTSRD | Unique Paper ID - IJTSRD23719 | Volume – 3 | Issue – 4 | May-Jun 2019 Page: 276
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
system has the ability to perform the full responsibilities. Digital pin of Arduino is used to send the signal to the relays.
The programming software of the system is Arduino C The light condition is show in the 20×4 LCD. If the light level
programming software. A program is text that user write is decreased, LCD show “Turn On.” at row 3 and column 11.
using a programming language that containsbehaviours that Else, LCD show “Turn Off”. PIR sensor is used for burglar
need a processor to acquire. It basically creates a way of alarm system and it works at night. PIR function is written as
handling inputs and producing outputs according to these Mo() in the night condition command. If PIR sensor detects a
behaviours. It is often defined as a general purpose motion, GSM module send alarm SMS to the setting phone
programming language and is indeed one of the most used number. For fire alarm function, LCD show “Smoke Detected”
languages of all times.20×4 I2C LCD and 16×4 I2C LCD are in row 1 and column 0. If Smoke sensor detects the smoke,
used to show the condition of door, light, the value of the signal is sent to the analog pin of Arduino. LCD show
temperature and fire condition. 20×4 LCD has 20 columns “Fire Alarm” in columns 0 and rows 2.
and 4 rows and 16×2 LCD has 16 columns and 2 rows. Both
LCD have I2C serial pin to connect with Arduino. LCD device
is connected with I2C device to reduce pin connection of
LCD. I2C device has SDA and SCL pin for serial
communication. The other pins are power supply pin and
ground pin. The I2C protocol involves using two lines to send
and receive data a serial clock pin (SCL) that the Arduino
board pulses at a regular interval, and a serial data pin (SDA)
over which data is sent between the two devices. In the
sketch, LCD_I2C lcd(5,0) is written and “Mingalarpar” is
printed in here. “Welcome to Group II” is printed in columns
0 and row 1. In columns 2 and rows 2, “Home Automation” is
printed.
@ IJTSRD | Unique Paper ID - IJTSRD23719 | Volume – 3 | Issue – 4 | May-Jun 2019 Page: 277
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
B. Implementation by Hardware
AC
Solar pannel
+
- +
- + + + AC to DC
+
Battery Inverter power card
- - - - GND 5V
Buzzer
Tx Vin
Rx GND
Fig.7: Inserting UID Number of the Tag to the Sketch PIR RST
GND
RST
5V
D2 A7 +
D3 A6
D4 Arduino A5 SCL LCD -
D5 A4 SDA 2004
In these figure, receiving code is matched by Arduino with + GSM Tx D6 NANO A3
D7 A2
D8 A1
SIM Rx
store code. If the code is same, Arduino will send signal to - 900A
D9
D10
D11
A0
REF
3V3
Smoke
Sensor LDR
the servo motor and then open the door. And LCD shows the D12 D13
+ 2 Channel
door condition. If tag’s ID matches with the ID in the code,
- Relay Nc
the door will open automatically. It closes manually with CMD
switch using internal pull-up function. There are 20K pull-up Bulb
+
-
resistors built into the Atmega chip that can be accessed D
batton
from software. These built-in pull-up resistors are accessed
by setting the pinMode() as INPUT_PULLUP. This effectively Servo Tx
Rx
Vin
GND
inverts the behavior of the INPUT mode, where HIGH means RST
GND
D2
RST
5V
A7
CMD + - D3 +
the servo is off, and LOW means the servo is on. 2 Channel D5
A6
D4 Arduino A5
A4 SCL LCD
Nc Relay D6 NANO A3 SDA 2004 -
D7 A2
D8 A1
D9 A0
+ D10 REF LM 35
Fan D11 3V3
- D12 D13
SDA
SCK
RFID MOSI
MISO
RC_522 GND
RST
3.3V
IV. Results
After connecting and programming all the components, all
the components will be run by the whole system. All
modules and microcontroller are kept together with a lot of
wires. This part is the main center of the home automation
system. The sensors are placed at a suitable side of the room
as shown in Figure 11. Fan is turned ON or OFF using
temperature sensor .When temperature increases, the
current will flow and the relay switch turn ON the fan
automatically.
Fig.9: Program for Send Message Function
@ IJTSRD | Unique Paper ID - IJTSRD23719 | Volume – 3 | Issue – 4 | May-Jun 2019 Page: 278
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
(a)
(a)
(b) (b)
Fig12: (a) Light (LED) OFF, (b) Light (LED) ON Fig.14: (a) Door Closed Condition, (b) Door Opened
Condition
@ IJTSRD | Unique Paper ID - IJTSRD23719 | Volume – 3 | Issue – 4 | May-Jun 2019 Page: 279
International Journal of Trend in Scientific Research and Development (IJTSRD) @ www.ijtsrd.com eISSN: 2456-6470
V. Discussion
This paper is discussed about the development of
automation system by ArduinoThe automation system is low
cost and user friendly. In future, some devices are more
reliable, faster and cheaper. The components can be changed
with the latest device but it should have the right software
and the right driver. All tasks of this system are done
successfully. The limitations in time and expenses but it will
serve as basis of latest AI systems as that of western
countries. Almost all scientific and latest technologies have
both good and bad sides. This type of work inspires the user
s to do better for our country. Smart Technology is a blessing
for our country. The bad consequences are avoided and it is
used for the betterment. This paper is emphasized
theoretical aspects of design and construction automation
Fig.15: Testing of RFID System system.
VI. Conclusion
In this paper a design and implementation concept for a
smart home automation system based on Arduino
microcontroller board. Sensors are connected to the
microcontroller board. The home appliances can be
monitored, controlled and accessed automatically in
response to any signals came from related sensors. The
system relies on power supply. If power supply fails, the
connection will be halted and SMS alarm functions will be
stopped. The security system is powered by another power
source for security safety. Without security system, it doesn’t
complete the whole system. The porposed system is shown
to be a simple, cost effective and flexible.
VII. REFERENCES
[1] Shatha J. Alghamdi, Lamiaa A. Elrefaei, "Dynamic User
Verification Using Touch Keystroke Based on Medians
Vector Proximity", Computational Intelligence
Communication, (2015).
[2] TziporaHalevi, Haoyu Li, Di Ma, NiteshSaxena, Jonathan
Voris, Tuo Xiang, "Context Aware Defenses to RFID
Unauthorized Reading and Relay Attacks", Emerging
Topics in Computing IEEE Transactions on, (2009).
[3] Raphael C.-W. Phan, Jean-Philippe Aumasson, "Next
generation networks: Human-aided and privacy-
driven", Innovations in NGN: Future Network and
Services, (2008).
[4] RobertLarkins, Michael Mayo, "Adaptive Feature
Thresholding for off-line signature verification", Image
and Vision Computing New Zealand, (2008).
[5] Tieyan Li, "Employing Lightweight Primitives on Low-
Cost RFID Tags for Authentication", Vehicular
Technology Conference (2008).
Fig.16: SMS Alarm
[6] J. Fazenda, D. Santos, P. Correia, "Using Gait to
Recognize People", Computer as a Tool, (2005).
@ IJTSRD | Unique Paper ID - IJTSRD23719 | Volume – 3 | Issue – 4 | May-Jun 2019 Page: 280