Iot Based Home Automation Using Smart Switch
Iot Based Home Automation Using Smart Switch
Prof. Swetav Sharad 1, Krishna Kumar2, Ashwani Rathore3, Manas Pandey4 2, 3, 4, 5 B.E Scholars
Computer Engineering, Babu Banarasi Das institute of technology. 1 Assistant Professor, Computer
Engineering, Babu Banarasi Das institute of technology
Abstract: - The development of a Program for a wise Switch which can management the on-off of any
electrical, physical science devices reception by exploitation internet. The smart Switch is connected
to internet via Wi-Fi, through a laptop, smart phone, pill or any device with internet access. This
association is performed by computer science per-programmed into the smart switch in an exceedingly very
applications program like firebox, chrome that is use for load the smart switch server which may open a
configuration page to write down the data of the user’s network. Then, the user will select in automatic
mode the network, the protection kind, and conjointly the user ought to have written a pass phrase. it's a
necessity to restart the smart Switch to urge access to internet, from that the user can management
the smart Switch just exploit to the device, this technique is finished in essence via internet. As a medium to
work to perform operation remotely
Keywords: Home automation, Internet of things, smart switch, Wi-Fi technology
INTRODUCTION
A home automation system (HAS) may be a system that's controlled by a far-off system. so as to
activate home appliances and to permit for various ways that of preparation, the
house appliances system wants a mechanism for communication between the various devices within
the system, and for coordination among the varied processes running on such devices.
Microwave, Oven, TV, and garage door, etc. these home appliances area unit operated remotely.
These home appliances area units controlled by remote devices like mobile phones, Desktop. they're
connected through a wireless application management protocol. the house appliance system receives
the command and this command is manipulated by the user. At that point system dispatch the
command to various appliances which will perform associate action. This appliance useful for human
want, once the user is extremely hungry, then microwave might have to reply to the user’s request that
it operate maximally to cook the food because it will as an example if the user is tired, might dawn
late, hungry then the system could also be asked to full cook or not and periodic warming up each ten
minutes subsequently.
The home appliance is also safe. once the kitchen appliance ought to currently too hot or widen then
the user will mechanically off that system. From anyplace we are able to manage the system. It
protects the home from the house of the outsiders. we have a tendency to reside within the world of
automation wherever most of the system is obtaining machine-controlled, like industrial automation,
homes and alternative business sectors. the house automation system involves automatic dominant of
home appliances exploitation totally different technology and controllers over smartphones or tablets.
It saves energy and makes the operation of assorted home appliances additional convenient. It
involves the automatic dominance of electrical devices in homes or perhaps remotely through wireless
communication. All instrumentality like audio and video system, security system, and kitchen
appliances used in-home system is feasible with this method.
IoT Characteristics
The characteristic of IoT includes the synthesis of hardware and software abiding by complex
algorithms and computation techniques in which intelligence authorizes them to behave and
act accordingly to the situations. The connectivity of IoT devices allows connecting various
objects by creating a network and comprehensive intelligence systems. The dynamic nature
of IoT devices tells the state of the device whether it is on or off. An IoT device also collects
dynamic change of data information from its neighbouring environment. The essence of IoT
is diversity and heterogeneity because of using distinct platforms and networks. Finally,
security issues of IoT are being very important because of its delicate information and
enormous action being taken to prevent security problems. In the future, IoT components
enormity will increase at such level so that it becomes very difficult to deal or manage it.
Literature Review
Living in the age of internet, life has become smarter and more convenient for us today. The internet
has brought unthinkable and remarkable options for the human being that is connecting us with the
think of building an automatic smart system. The automatic smart system concept that came from the
rapid spread of the internet can reduce the danger in any system as well as human involvement. The
worldwide researches are going on to consume the power of an electrical system or device efficiently
so that the waste of it made by human involvement manually can be reduced. The efficiency of such
an energy management system can take us to the appropriate goal of the automation system that can
be used continuously with safety without the involvement of human beings. For this worldwide
promising concept in the electrical sector, planning was going in your mind to work on this that can
be useful in this area. The Internet of Things (IoT) system has a vast area to research or work on. The
home automation system is one of the most talkative, promising and worldwide researching sectors of
IoT. This home automation system has already created a significant impact in our technological area
that is now looking for reducing the total power wastage reduction theory. Home Energy Management
System (HEMS) is now in the headline to conduct a reduction of the loss of power, dangerous system
disaster and the life loss of human beings. So, many research papers and some projects from IEEE and
online published sides share the broad and major idea on these things that how we can save our
energy and reduce the danger of the system. These concepts and their research made us think about
the vision of our research more widely. That’s how the mission and goals to work on for this research
paper has been aimed. These papers and journal concepts visualized the details of IoT, its applications
and vast area of research, home automation, smart appliances at home, home energy management
system, smart meters, scheduling with smart appliances, the difference between supplied power and
solar power, the power consumption of our country. All these concepts are effective for this thesis
paper to come to a conclusion and make a decision on the project of total energy-saving management.
Block Diagram
The figure shows the block diagram of smart energy management using the automation
system of IOT. In this block diagram, several types of sensors being used inside the abode
like smoke-detector, gas detector, temperature, ultrasonic, for diverse purpose and all these
are connected directly to Arduino microcontroller. All the appliances are connected through
the relay circuit to the controller. Some basic loads are managed by green solar energy with a
12V DC battery and sometimes suggested appliances can be used through this power when
critical peak price is high. This prototype is energized in two different way either solar energy
or normal grid. Most importantly the prime amenities in this prototype system is that it is
connected to the internet so the full system would be controlled, monitored and managed
from any place of the world if it is connected to the internet.
Figure: Block Diagram of HAS using IOT
Schematic Simulation Diagram
Specification:
• Voltage: 3.3V.
• Wi-Fi Direct (P2P), soft-AP. 27
• Current consumption: 10uA~170mA.
• Flash memory attachable: 16MB max (512K normal).
• Integrated TCP/IP protocol stack.
• Processor: Ten silicaL106 32-bit.
• Processor speed: 80~160MHz.
• RAM: 32K + 80K.
• GPIOs: 17 (multiplexed with other functions).
• Analogue to Digital: 1 input with 1024 step resolution.
• +19.5dBm output power in 802.11b mode
• 802.11 support: b/g/n.
• Maximum concurrent TCP connections: 5.
2. Arduino MEGA
Figure 2: Arduino MEGA
Specification:
1. 8-Bit Microcontroller
2. High Performance, Low Power 28
3. Advanced RISC Architecture
▪ 135 Powerful Instructions
▪ Most Single Clock Cycle Execution 2
▪ 32 × 8 General Purpose Working Registers
▪ Fully Static Operation
▪ Up to 16 MIPS Throughput at 16MHz
▪ On-Chip 2-cycle Multiplier
High Endurance Non-volatile Memory Segments
▪ 64K/128K/256KBytes of In-System Self-Programmable Flash 4Kbytes EEPROM
▪ 8Kbytes Internal SRAM
▪ Write/Erase Cycles: 10,000 Flash/100,000 EEPROM
▪ Optional Boot Code Section with Independent Lock Bits
3. Ultrasonic Sensor
Sensor Features
6. Servo Motor
7. A 5-220 v Relay
Figure 7: Relay
Specification:
Working voltage from 4.9-5.1 V
Heating consumption 0.5-800 mW
Sensing resistance 3-30 kΩ
References
[1]. Evans, D. (2011). The internet of things: How the next evolution of the internet is
changing everything. CISCO white paper, 1(2011), 1-11.
[2]. Buyya, R., Broberg, J., & Goscinski, A. M. (Eds.). (2010). Cloud computing: Principles and
paradigms (Vol. 87). John Wiley & Sons.
[3]. Xiong, G., Chen, C., Kishore, S., & Yener, A. (2011, January). Smart (in-home)
power scheduling for demand response on the smart grid. In ISGT 2011 (pp. 1-7). IEEE.
[4]. Bharath,S., Pasha, M.Y., & Deepth, J.(2017, April). IoT-Home
Automation.
International Journal of Computer Technology and Research, 5, 4-6.
[5]. Li, B., & Yu, J. (2011). Research and application on the smart home based on
component technologies and Internet of Things. Procedia Engineering, 15, 2087-2092.
[6]. Kim, J. (2016). HEMS (home energy management system) base on the IoT smart
home. Contemporary Engineering Sciences, 9(1), 21-28.
[7]. Kodali, R. K., Jain, V., Bose, S., & Boppana, L. (2016, April). IoT based smart security
and home automation system. In 2016 international conference on computing,
communication and automation (ICCCA) (pp. 1286-1289). IEEE.
[8]. Pan, J., Jain, R., Paul, S., Vu, T., Saifullah, A., & Sha, M. (2015). An internet of things
framework for smart energy in buildings: designs, prototype, and experiments. IEEE
Internet of Things Journal, 2(6), 527-537.
[9]. Jain, S., Kumar, V., Paventhan, A., Chinnaiyan, V. K., Arnachalam, V., & Pradish, M.
(2014, March). Survey on smart grid technologies-smart metering, IoT and EMS. In 2014
IEEE Students' Conference on Electrical, Electronics and Computer science (pp. 1-6). IEEE.
[10]. Zhao, Z., Lee, W. C., Shin, Y., & Song, K. B. (2013). An optimal power scheduling
method applied in home energy management system based on demand response. Etri
Journal, 35(4), 677-686.
[11]. Haque, K. F., Saqib, N., & Rahman, M. S. (2019, March). An Optimized Stand-alone
Green Hybrid Grid System for an Offshore Island, Saint Martin, Bangladesh. In 2019
International Conference on Energy and Power Engineering (ICEPE) (pp. 1-5). IEEE.
[12]. Singh, R. S. S., Ibrahim, A. F. T., Salim, S. I. M., & Chiew, W. Y. (2009, November).
Door sensors for automatic light switching system. In 2009 Third UKSim European
Symposium on Computer Modeling and Simulation (pp. 574-578). IEEE.
[13]. Vaghela, M., Shah, H., Jayswal, H., & Patel, H. (2017). Arduino based auto street light
intensity controller. Invention Rapid: Embedded Systems, 2013(3), 1-4.
[14]. Jewel, M. H., Islam, M. N., & Hasan, M. J. (2017). Automatic Room Light Control
Using Bidirectional Visitor Counter and Gas Detection (Doctoral dissertation, East West
University).
[15]. Pavithra, D., & Balakrishnan, R. (2015, April). IoT based monitoring and control
system for home automation. In 2015 global conference on communication technologies
(GCCT)(pp. 169-173). IEEE.
[16]. Khadem, T., Billah, S. B., Barua, S., & Hossain, M. S. (2017, September). Homer based
hydrogen fuel cell system design for irrigation in Bangladesh. In 2017 4th International
Conference on Advances in Electrical Engineering (ICAEE)(pp. 445-449). IEEE.
[17]. Adhya, S., Saha, D., Das, A., Jana, J., & Saha, H. (2016, January). An IoT based smart
solar photovoltaic remote monitoring and control unit. In 2016 2nd international
conference on control, instrumentation, energy & communication (CIEC) (pp. 432-436).
IEEE.