International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 05 Issue: 03 | Mar-2018 www.irjet.net p-ISSN: 2395-0072
© 2018, IRJET | Impact Factor value: 6.171 | ISO 9001:2008 Certified Journal | Page 3323
Smart Energy Management System
ATHUL KRISHNAN1, APARNA P2, ASWATHY THULASY3, SOORYA MOHAN4, KEERTHY A S PILLAI5
1,2,3,4Student, Department of Computer Science and Engineering, Sree Buddha College of Engineering,
Pattoor, Kerala, India.
5Asst.Professor, Department of Computer Science and Engineering, Sree Buddha College of Engineering,
Pattoor, Kerala.
---------------------------------------------------------------------***---------------------------------------------------------------------
Abstract - This paper describes a smart campus
management system (SCEMS) that will reduce the energy
consumption of all electrically powered devices in a campus
environment by using a mobile application, a Bluetooth Low
Energy Beacons (BLE Beacon), Microcontroller, different
sensors. BLE Beacons and mobile application determines
whether a user enters or exits the room. Sensorswilldetermine
the position of the user inside the room, includes whether the
user is walking or not. This paper enables the automatic
control of electrical appliances thus reducing electricity costs.
The proposed system will cut off the power of applianceswhen
the user is not around them. There by reducing the energy
consumption and ensures a cost effective energy usage
Key Words: BLE Beacon, Microcontroller,
Microprocessor, Relay, TCP/IP, MQTT, IoT…
1. INTRODUCTION
Energy Powered Systems in the world are undergoing
drastic changes and also facing many challenges in the
matters of production, reliability, and efficiency. The Energy
consumption in most campuses are not efficient because of
the user’s ignorance. This results in the large wastage of
resources. Since this cannot be controlled from Energy
Supplier side, a more efficient manner should be
implemented. There exist many methods for energy
management[1]. The major advantage of our system when
compared to others is that our system monitors energy
consumption continuously and controls the appliances to
save energy.
The development in IoT influenced many studies and
developments in Energy Management Systems. Here we use
several sensors, microcontrollers and a BLE Beacon for
conserving energy. The thermal sensors can monitor the
physical activities and biometric information of the user
inside the room. The BLE Beacons will determine whether a
user enters or exits the room, thus enabling the system to
control the appliances without causing any interference to
the user[3]. There are large number of IoT products
available in market that manages energy byswitchingon/off
the light based on human presence[4]. The main
disadvantage of these systems is it requires large
infrastructure. Our System provides a better solution for
these problems.
2. LITERATURE SURVEY
Since our system mainly focuses on automation the need for
dividing the modules and identifying the component needed
was challenging. The proposed system consists of three
modules.
An Indoor Positioning System(IPS) is usedformonitoringthe
user’s presence inside the room. There exist many methods
for detecting the presence of user in the room. But here we
are only using a couple of sensors and a beacon only. The
beacon is used to detect the entrance or exit of the user by
emitting a low energyBluetoothsignal[2].Wealsoimplement
a lightweight algorithm for controlling the power in an
environment.Thusour paper eliminatestheneedforusageof
a complexmethodslikefingerprintscanning,retinalscanning
or a triangulation process. Since our system doesn’t use any
complex process for power controlling, it can run on any
smartphone without causing severe drainage of battery.
The next module is an Energy Management System(EMS).
Based on the results of survey that we conducted, we
understood thatwe do not necessarilyneedamicroprocessor
for triggering a relay. So Arduino microcontroller are used
here fortriggering therelay. Inthe futureworks,to makeour
system completely independent we can implement
microprocessors like raspberry pi for more advanced
complex operations.
Then comes the Server module(SM). Traditionally a server
receives the request from a smartphone via a mobile app,
processes the request, and then gives a command to the
microcontrollerwhether to or not to change thecurrentstate
of electrical appliances.The communicationis donebasedon
traditional TCP/IP powered MQTT method[7].
3. CONCEPT LEVEL DESIGN
3.1 Arduino Microcontroller
It is an open-source hardware. It is coded using its own
Arduino IDE. This microcontroller board is equippedbyaset
of digital and analogue pins that are used to interface other
various expansion boards and circuits[5]. This
microcontroller board has two communication interfaces,
including a USB, that can be used to load program from a PC.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 05 Issue: 03 | Mar-2018 www.irjet.net p-ISSN: 2395-0072
© 2018, IRJET | Impact Factor value: 6.171 | ISO 9001:2008 Certified Journal | Page 3324
Fig -1: Arduino Microcontroller
3.2 Relay
A Relay is a special type of switch, which contains an
Electromagnet. When a current flow through the coil an
Electromagnetic field is set up[6]. The contacts at theendsof
iron armature are pushed together for completing the
circuit. Thus relay acts as a switch which is operated
electrically. In the open state, when the relay is activatedand
circuit is closed. In the closed state, when the relay is
inactive, circuit gets disconnected, allowing no current to
flow. Thus relay provides a safety logic.
Fig -2: Relay Unit
3.3 Block Diagram
When ArduinoMicrocontrollerisbootsup,ourproposed
algorithm is executed first and starts detecting the presence
of any user in the room with the help ofBeacons and Sensors
attached. If the presence of any user is detected, then the
Servermodulewill send a commandtothemicrocontrollerto
turn the power on. After receiving the command, the
microcontrollerwillinitializeitspins totriggertherelayunit.
If there is nouser, thenthemicrocontrollerwillcommandthe
microcontroller to switch-off the initialized pins, thus
pushing the relay unit into an open state where the power is
cut down.
Fig -3: Block Diagram
Fig -4: Structural Overview
4. STEPS & ADVANTAGES
First we started our project by setting up the Arduino
microcontroller. An Ethernet Shield is mounted on
microcontroller for enabling the connectivity.Thenanopen-
source platform Android studio is installed for writing the
codes. Another open-source platform Arduino IDE is also
used for coding.
As discussed above, we employ BLE Beacons forsensing the
user’s positon. Our mobile application installed in the user
smartphone executes our power control algorithm. As per
our algorithm power-supply in the office is turned on only
when the user is inside the room. Processing is done in our
server. This process is done by comparing the distance of
user with the nearest beacon. It also compares previous
distances to check that the user is approaching the door
either from outside or from inside. The sensors will help
determining the user’s position inside the room.
Now based on the results obtained from our algorithm, we
need to control switching of electrical appliances.Theserver
will now give commands to the Arduino microcontroller
which is interfaced to a relay unit. This relay unitwillcontrol
the electrical appliances like lights, fans etc.
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 05 Issue: 03 | Mar-2018 www.irjet.net p-ISSN: 2395-0072
© 2018, IRJET | Impact Factor value: 6.171 | ISO 9001:2008 Certified Journal | Page 3325
When Server detects the presence of a user then it sends a
message to the Arduino microcontroller to turn the power
on. Then the Arduino initialize its pins to trigger the relay
unit and it makes the power on. If that’s not the case, that is
if Server didn’t detect any activity, then it commands the
Arduino microcontroller to turn off the power. This will
switch-off any initialized pins in Arduino microcontroller
thusmaking the relay unit into an open state wherepoweris
cut off.
We made a script and stored it into the Arduino
microcontroller and had made that script self-executing
whenever the system is booted up. Thus eliminating the
running of code manually or by giving commands using an
IDE on every booting.
Advantages of the proposed method are:
1) The usage of beacon increases the engagement between
the application and user which also increases the retention.
2) Since the microcontroller and Beacons are implemented,
our product is cost efficient.
3) Our system does not have a large infrastructure, which
makes the real time implementation easier.
4) Even though traditional MQTT protocols are used, user
detection is pretty faster.
5. CONCLUSIONS & FUTURE WORKS
The proposed method is implemented on Arduino
microcontroller using Android studio and Arduino IDE. The
code is written in JAVA language and different IDE libraries
are also linked to ascertain the user movements and
controlling the power.
The software we are using are mainly open-source. We are
implementing the code on a microcontroller ratherthanona
microprocessor. So maintenance and installation costs are
thus reduced drastically. Also usage of BLE Beacons also
reduced the cost. Thus overall our system is cost effective
and can be easily developed to a product.
As the future work, Since the orientation of the Beacons and
Sensors are a bit harder to implement thus there exists a
scope for improving our algorithm for better reliability. Also
in future the implementation of human detection algorithm
increases the security thus by detecting intruders.
REFERENCES
[1] Andreas Kamilaris, Balaji Kalluri, Sekhar Kondepudi,
Tham Kwok Wai, “A literature survey on measuring
energy usage for miscellaneous electric loads in offices
and commercial buildings,” Renewable and Sustainable
Energy Reviews, June 2014.
[2] Rida M E, Liu F, Jadi Y, et al. “ Indoor location position
based on Bluetooth signal strength[C],” Information
Science and Control Engineering (ICISCE), 2015 2nd
International Conference on. IEEE 2015:769-773.
[3] Cho H, Ji j, Chen Z, et al. “Accurate Distance Estimation
between Things: A Self-correcting Approach[J],” Open
Journal of Internet of Things (OJIOT), 2015.
[4] Berkovich G.“Accurate and reliable real-time indoor
positioning on commercial smartphones[C]” , Indoor
Positioning and Indoor Navigation (IIPN), 2014
International Conference on. IEEE, 2014.
[5] Arduino UNO, https://www.arduino.cc
[6] Relay Unit, https://en.wikipedia.org/wiki/Relay
[7] MQTT, http://mqtt.org/

More Related Content

PDF
IRJET- A Remotely Controlled Home Automation System for Energy Saving
PDF
IRJET - IoT based Home Automation using ATmega328 Microcontroller
PDF
IRJET - Intelligent Lighting Solution
PDF
Paper 5 tahun kebelakang 2019 2015 ferdi andersen nugraha 09030581721005
PDF
IRJET- Centralized Wireless Home Appliances Control System
PDF
Smart home using andriod application
PDF
IRJET - Monitoring Indoor Air Quality in Industries
PDF
IRJET - Smart Yoga Instructor
IRJET- A Remotely Controlled Home Automation System for Energy Saving
IRJET - IoT based Home Automation using ATmega328 Microcontroller
IRJET - Intelligent Lighting Solution
Paper 5 tahun kebelakang 2019 2015 ferdi andersen nugraha 09030581721005
IRJET- Centralized Wireless Home Appliances Control System
Smart home using andriod application
IRJET - Monitoring Indoor Air Quality in Industries
IRJET - Smart Yoga Instructor

What's hot (18)

PDF
Smart digital and analogue ambience control and
PDF
Power house automation using wireless communication
PDF
IoT Based Home Automation using Intel Galileo Gen-2
PDF
IRJET- Intelligent Room Lighting System
PPTX
WEB BASED REALTIME CONTROL AND HOME AUTOMATION SYSTEM
PDF
Process monitoring, controlling and load management system in an induction motor
PDF
A Review on Smart Generator Control using Android Application
PDF
Smart Sensor Network for Society Automation-A Review
PDF
IRJET- Brainy Streets with Automatic Lighting System
PDF
IRJET- Home Automation using Smartplug
PDF
IRJET-5G Mobile Technology
PDF
The development of supervisory system for electricity control in smgg, guntur...
PDF
IRJET- Arduino based Smart Grid Power Monitoring and Control by using IoT
PDF
IRJET- Smart Light Intensity Management System
PDF
Automatic Room Lights Controller Using Arduino & PIR Sensor
PDF
IRJET- Water Management System using IoT with WSN
PDF
International Journal of Computational Engineering Research(IJCER)
PDF
IRJET- Measuring Electricity Consumption of Appliances and Monitoring the...
Smart digital and analogue ambience control and
Power house automation using wireless communication
IoT Based Home Automation using Intel Galileo Gen-2
IRJET- Intelligent Room Lighting System
WEB BASED REALTIME CONTROL AND HOME AUTOMATION SYSTEM
Process monitoring, controlling and load management system in an induction motor
A Review on Smart Generator Control using Android Application
Smart Sensor Network for Society Automation-A Review
IRJET- Brainy Streets with Automatic Lighting System
IRJET- Home Automation using Smartplug
IRJET-5G Mobile Technology
The development of supervisory system for electricity control in smgg, guntur...
IRJET- Arduino based Smart Grid Power Monitoring and Control by using IoT
IRJET- Smart Light Intensity Management System
Automatic Room Lights Controller Using Arduino & PIR Sensor
IRJET- Water Management System using IoT with WSN
International Journal of Computational Engineering Research(IJCER)
IRJET- Measuring Electricity Consumption of Appliances and Monitoring the...
Ad

Similar to IRJET- Smart Energy Management System (20)

PDF
IRJET- Smart Power Optimization with IoT
PDF
Residential and Official Extension of IOT Enabled Building Automation System
PDF
Arduino Based Smart Light Management System for Smart Cities
PDF
IRJET- IoT based Smart Energy Meter
PDF
IRJET - Smart Power Monitoring and Controlling through IoT
PDF
IRJET- IoT based Classroom Automation System
PDF
IRJET - Dynamic Domestic Energy Utility Monitoring and Management using IoT
PDF
IRJET- Multi Plug Control using Internet of Things
PDF
IRJET- Power Monitoring with Time Controlling & Data Logging
PDF
IRJET- Designing of Smart Switch for Home Automation
PDF
Industrial Mains Power Monitoring and Alert System Over LAN Network
PDF
IRJET- Energy Consumption and Monitoring System using IoT
PDF
DESIGN AND IMPLEMENTATION OF A WIRELESS SENSOR AND ACTUATOR NETWORK FOR ENERG...
PPTX
Smart invocation.pptx
PPTX
Smart invocation.pptx
PDF
02. Security and Control System for IoT-Based Electrical Devices.pdf
PDF
Electrical Appliances Control using Wi-Fi and Laptop
PPTX
IOT-Based-Energy-Meter and smart jome appliances.pptx
PDF
IRJET- Iot Based Smart Energy Monitoring
PDF
POWER CONSUMING SYSTEM USING WSN IN HEMS
IRJET- Smart Power Optimization with IoT
Residential and Official Extension of IOT Enabled Building Automation System
Arduino Based Smart Light Management System for Smart Cities
IRJET- IoT based Smart Energy Meter
IRJET - Smart Power Monitoring and Controlling through IoT
IRJET- IoT based Classroom Automation System
IRJET - Dynamic Domestic Energy Utility Monitoring and Management using IoT
IRJET- Multi Plug Control using Internet of Things
IRJET- Power Monitoring with Time Controlling & Data Logging
IRJET- Designing of Smart Switch for Home Automation
Industrial Mains Power Monitoring and Alert System Over LAN Network
IRJET- Energy Consumption and Monitoring System using IoT
DESIGN AND IMPLEMENTATION OF A WIRELESS SENSOR AND ACTUATOR NETWORK FOR ENERG...
Smart invocation.pptx
Smart invocation.pptx
02. Security and Control System for IoT-Based Electrical Devices.pdf
Electrical Appliances Control using Wi-Fi and Laptop
IOT-Based-Energy-Meter and smart jome appliances.pptx
IRJET- Iot Based Smart Energy Monitoring
POWER CONSUMING SYSTEM USING WSN IN HEMS
Ad

More from IRJET Journal (20)

PDF
Enhanced heart disease prediction using SKNDGR ensemble Machine Learning Model
PDF
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
PDF
Kiona – A Smart Society Automation Project
PDF
DESIGN AND DEVELOPMENT OF BATTERY THERMAL MANAGEMENT SYSTEM USING PHASE CHANG...
PDF
Invest in Innovation: Empowering Ideas through Blockchain Based Crowdfunding
PDF
SPACE WATCH YOUR REAL-TIME SPACE INFORMATION HUB
PDF
A Review on Influence of Fluid Viscous Damper on The Behaviour of Multi-store...
PDF
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
PDF
Explainable AI(XAI) using LIME and Disease Detection in Mango Leaf by Transfe...
PDF
BRAIN TUMOUR DETECTION AND CLASSIFICATION
PDF
The Project Manager as an ambassador of the contract. The case of NEC4 ECC co...
PDF
"Enhanced Heat Transfer Performance in Shell and Tube Heat Exchangers: A CFD ...
PDF
Advancements in CFD Analysis of Shell and Tube Heat Exchangers with Nanofluid...
PDF
Breast Cancer Detection using Computer Vision
PDF
Auto-Charging E-Vehicle with its battery Management.
PDF
Analysis of high energy charge particle in the Heliosphere
PDF
A Novel System for Recommending Agricultural Crops Using Machine Learning App...
PDF
Auto-Charging E-Vehicle with its battery Management.
PDF
Analysis of high energy charge particle in the Heliosphere
PDF
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
Enhanced heart disease prediction using SKNDGR ensemble Machine Learning Model
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
Kiona – A Smart Society Automation Project
DESIGN AND DEVELOPMENT OF BATTERY THERMAL MANAGEMENT SYSTEM USING PHASE CHANG...
Invest in Innovation: Empowering Ideas through Blockchain Based Crowdfunding
SPACE WATCH YOUR REAL-TIME SPACE INFORMATION HUB
A Review on Influence of Fluid Viscous Damper on The Behaviour of Multi-store...
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
Explainable AI(XAI) using LIME and Disease Detection in Mango Leaf by Transfe...
BRAIN TUMOUR DETECTION AND CLASSIFICATION
The Project Manager as an ambassador of the contract. The case of NEC4 ECC co...
"Enhanced Heat Transfer Performance in Shell and Tube Heat Exchangers: A CFD ...
Advancements in CFD Analysis of Shell and Tube Heat Exchangers with Nanofluid...
Breast Cancer Detection using Computer Vision
Auto-Charging E-Vehicle with its battery Management.
Analysis of high energy charge particle in the Heliosphere
A Novel System for Recommending Agricultural Crops Using Machine Learning App...
Auto-Charging E-Vehicle with its battery Management.
Analysis of high energy charge particle in the Heliosphere
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...

Recently uploaded (20)

PPTX
Wireless sensor networks (WSN) SRM unit 2
PDF
IAE-V2500 Engine Airbus Family A319/320
PPTX
Quality engineering part 1 for engineering undergraduates
PPTX
CNS - Unit 1 (Introduction To Computer Networks) - PPT (2).pptx
PPTX
Design ,Art Across Digital Realities and eXtended Reality
DOCX
An investigation of the use of recycled crumb rubber as a partial replacement...
PPTX
chapter 1.pptx dotnet technology introduction
PDF
Cryptography and Network Security-Module-I.pdf
PPTX
Agentic Artificial Intelligence (Agentic AI).pptx
PDF
CELDAS DE COMBUSTIBLE TIPO MEMBRANA DE INTERCAMBIO PROTÓNICO.pdf
PDF
Project_Mgmt_Institute_-Marc Marc Marc .pdf
PPTX
Unit IImachinemachinetoolopeartions.pptx
PDF
Lesson 3 .pdf
PDF
Engineering Solutions for Ethical Dilemmas in Healthcare (www.kiu.ac.ug)
PPT
UNIT-I Machine Learning Essentials for 2nd years
PPTX
BBOC407 BIOLOGY FOR ENGINEERS (CS) - MODULE 1 PART 1.pptx
PPTX
ARCHITECTURE AND PROGRAMMING OF EMBEDDED SYSTEMS
PPTX
CS6006 - CLOUD COMPUTING - Module - 1.pptx
PDF
IAE-V2500 Engine for Airbus Family 319/320
PPTX
MAD Unit - 3 User Interface and Data Management (Diploma IT)
Wireless sensor networks (WSN) SRM unit 2
IAE-V2500 Engine Airbus Family A319/320
Quality engineering part 1 for engineering undergraduates
CNS - Unit 1 (Introduction To Computer Networks) - PPT (2).pptx
Design ,Art Across Digital Realities and eXtended Reality
An investigation of the use of recycled crumb rubber as a partial replacement...
chapter 1.pptx dotnet technology introduction
Cryptography and Network Security-Module-I.pdf
Agentic Artificial Intelligence (Agentic AI).pptx
CELDAS DE COMBUSTIBLE TIPO MEMBRANA DE INTERCAMBIO PROTÓNICO.pdf
Project_Mgmt_Institute_-Marc Marc Marc .pdf
Unit IImachinemachinetoolopeartions.pptx
Lesson 3 .pdf
Engineering Solutions for Ethical Dilemmas in Healthcare (www.kiu.ac.ug)
UNIT-I Machine Learning Essentials for 2nd years
BBOC407 BIOLOGY FOR ENGINEERS (CS) - MODULE 1 PART 1.pptx
ARCHITECTURE AND PROGRAMMING OF EMBEDDED SYSTEMS
CS6006 - CLOUD COMPUTING - Module - 1.pptx
IAE-V2500 Engine for Airbus Family 319/320
MAD Unit - 3 User Interface and Data Management (Diploma IT)

IRJET- Smart Energy Management System

  • 1. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 05 Issue: 03 | Mar-2018 www.irjet.net p-ISSN: 2395-0072 © 2018, IRJET | Impact Factor value: 6.171 | ISO 9001:2008 Certified Journal | Page 3323 Smart Energy Management System ATHUL KRISHNAN1, APARNA P2, ASWATHY THULASY3, SOORYA MOHAN4, KEERTHY A S PILLAI5 1,2,3,4Student, Department of Computer Science and Engineering, Sree Buddha College of Engineering, Pattoor, Kerala, India. 5Asst.Professor, Department of Computer Science and Engineering, Sree Buddha College of Engineering, Pattoor, Kerala. ---------------------------------------------------------------------***--------------------------------------------------------------------- Abstract - This paper describes a smart campus management system (SCEMS) that will reduce the energy consumption of all electrically powered devices in a campus environment by using a mobile application, a Bluetooth Low Energy Beacons (BLE Beacon), Microcontroller, different sensors. BLE Beacons and mobile application determines whether a user enters or exits the room. Sensorswilldetermine the position of the user inside the room, includes whether the user is walking or not. This paper enables the automatic control of electrical appliances thus reducing electricity costs. The proposed system will cut off the power of applianceswhen the user is not around them. There by reducing the energy consumption and ensures a cost effective energy usage Key Words: BLE Beacon, Microcontroller, Microprocessor, Relay, TCP/IP, MQTT, IoT… 1. INTRODUCTION Energy Powered Systems in the world are undergoing drastic changes and also facing many challenges in the matters of production, reliability, and efficiency. The Energy consumption in most campuses are not efficient because of the user’s ignorance. This results in the large wastage of resources. Since this cannot be controlled from Energy Supplier side, a more efficient manner should be implemented. There exist many methods for energy management[1]. The major advantage of our system when compared to others is that our system monitors energy consumption continuously and controls the appliances to save energy. The development in IoT influenced many studies and developments in Energy Management Systems. Here we use several sensors, microcontrollers and a BLE Beacon for conserving energy. The thermal sensors can monitor the physical activities and biometric information of the user inside the room. The BLE Beacons will determine whether a user enters or exits the room, thus enabling the system to control the appliances without causing any interference to the user[3]. There are large number of IoT products available in market that manages energy byswitchingon/off the light based on human presence[4]. The main disadvantage of these systems is it requires large infrastructure. Our System provides a better solution for these problems. 2. LITERATURE SURVEY Since our system mainly focuses on automation the need for dividing the modules and identifying the component needed was challenging. The proposed system consists of three modules. An Indoor Positioning System(IPS) is usedformonitoringthe user’s presence inside the room. There exist many methods for detecting the presence of user in the room. But here we are only using a couple of sensors and a beacon only. The beacon is used to detect the entrance or exit of the user by emitting a low energyBluetoothsignal[2].Wealsoimplement a lightweight algorithm for controlling the power in an environment.Thusour paper eliminatestheneedforusageof a complexmethodslikefingerprintscanning,retinalscanning or a triangulation process. Since our system doesn’t use any complex process for power controlling, it can run on any smartphone without causing severe drainage of battery. The next module is an Energy Management System(EMS). Based on the results of survey that we conducted, we understood thatwe do not necessarilyneedamicroprocessor for triggering a relay. So Arduino microcontroller are used here fortriggering therelay. Inthe futureworks,to makeour system completely independent we can implement microprocessors like raspberry pi for more advanced complex operations. Then comes the Server module(SM). Traditionally a server receives the request from a smartphone via a mobile app, processes the request, and then gives a command to the microcontrollerwhether to or not to change thecurrentstate of electrical appliances.The communicationis donebasedon traditional TCP/IP powered MQTT method[7]. 3. CONCEPT LEVEL DESIGN 3.1 Arduino Microcontroller It is an open-source hardware. It is coded using its own Arduino IDE. This microcontroller board is equippedbyaset of digital and analogue pins that are used to interface other various expansion boards and circuits[5]. This microcontroller board has two communication interfaces, including a USB, that can be used to load program from a PC.
  • 2. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 05 Issue: 03 | Mar-2018 www.irjet.net p-ISSN: 2395-0072 © 2018, IRJET | Impact Factor value: 6.171 | ISO 9001:2008 Certified Journal | Page 3324 Fig -1: Arduino Microcontroller 3.2 Relay A Relay is a special type of switch, which contains an Electromagnet. When a current flow through the coil an Electromagnetic field is set up[6]. The contacts at theendsof iron armature are pushed together for completing the circuit. Thus relay acts as a switch which is operated electrically. In the open state, when the relay is activatedand circuit is closed. In the closed state, when the relay is inactive, circuit gets disconnected, allowing no current to flow. Thus relay provides a safety logic. Fig -2: Relay Unit 3.3 Block Diagram When ArduinoMicrocontrollerisbootsup,ourproposed algorithm is executed first and starts detecting the presence of any user in the room with the help ofBeacons and Sensors attached. If the presence of any user is detected, then the Servermodulewill send a commandtothemicrocontrollerto turn the power on. After receiving the command, the microcontrollerwillinitializeitspins totriggertherelayunit. If there is nouser, thenthemicrocontrollerwillcommandthe microcontroller to switch-off the initialized pins, thus pushing the relay unit into an open state where the power is cut down. Fig -3: Block Diagram Fig -4: Structural Overview 4. STEPS & ADVANTAGES First we started our project by setting up the Arduino microcontroller. An Ethernet Shield is mounted on microcontroller for enabling the connectivity.Thenanopen- source platform Android studio is installed for writing the codes. Another open-source platform Arduino IDE is also used for coding. As discussed above, we employ BLE Beacons forsensing the user’s positon. Our mobile application installed in the user smartphone executes our power control algorithm. As per our algorithm power-supply in the office is turned on only when the user is inside the room. Processing is done in our server. This process is done by comparing the distance of user with the nearest beacon. It also compares previous distances to check that the user is approaching the door either from outside or from inside. The sensors will help determining the user’s position inside the room. Now based on the results obtained from our algorithm, we need to control switching of electrical appliances.Theserver will now give commands to the Arduino microcontroller which is interfaced to a relay unit. This relay unitwillcontrol the electrical appliances like lights, fans etc.
  • 3. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 05 Issue: 03 | Mar-2018 www.irjet.net p-ISSN: 2395-0072 © 2018, IRJET | Impact Factor value: 6.171 | ISO 9001:2008 Certified Journal | Page 3325 When Server detects the presence of a user then it sends a message to the Arduino microcontroller to turn the power on. Then the Arduino initialize its pins to trigger the relay unit and it makes the power on. If that’s not the case, that is if Server didn’t detect any activity, then it commands the Arduino microcontroller to turn off the power. This will switch-off any initialized pins in Arduino microcontroller thusmaking the relay unit into an open state wherepoweris cut off. We made a script and stored it into the Arduino microcontroller and had made that script self-executing whenever the system is booted up. Thus eliminating the running of code manually or by giving commands using an IDE on every booting. Advantages of the proposed method are: 1) The usage of beacon increases the engagement between the application and user which also increases the retention. 2) Since the microcontroller and Beacons are implemented, our product is cost efficient. 3) Our system does not have a large infrastructure, which makes the real time implementation easier. 4) Even though traditional MQTT protocols are used, user detection is pretty faster. 5. CONCLUSIONS & FUTURE WORKS The proposed method is implemented on Arduino microcontroller using Android studio and Arduino IDE. The code is written in JAVA language and different IDE libraries are also linked to ascertain the user movements and controlling the power. The software we are using are mainly open-source. We are implementing the code on a microcontroller ratherthanona microprocessor. So maintenance and installation costs are thus reduced drastically. Also usage of BLE Beacons also reduced the cost. Thus overall our system is cost effective and can be easily developed to a product. As the future work, Since the orientation of the Beacons and Sensors are a bit harder to implement thus there exists a scope for improving our algorithm for better reliability. Also in future the implementation of human detection algorithm increases the security thus by detecting intruders. REFERENCES [1] Andreas Kamilaris, Balaji Kalluri, Sekhar Kondepudi, Tham Kwok Wai, “A literature survey on measuring energy usage for miscellaneous electric loads in offices and commercial buildings,” Renewable and Sustainable Energy Reviews, June 2014. [2] Rida M E, Liu F, Jadi Y, et al. “ Indoor location position based on Bluetooth signal strength[C],” Information Science and Control Engineering (ICISCE), 2015 2nd International Conference on. IEEE 2015:769-773. [3] Cho H, Ji j, Chen Z, et al. “Accurate Distance Estimation between Things: A Self-correcting Approach[J],” Open Journal of Internet of Things (OJIOT), 2015. [4] Berkovich G.“Accurate and reliable real-time indoor positioning on commercial smartphones[C]” , Indoor Positioning and Indoor Navigation (IIPN), 2014 International Conference on. IEEE, 2014. [5] Arduino UNO, https://www.arduino.cc [6] Relay Unit, https://en.wikipedia.org/wiki/Relay [7] MQTT, http://mqtt.org/