Smart Energy Management by Iot
Smart Energy Management by Iot
Smart Energy Management by Iot
MANAGEMENT
SYSTEM USING IOT
INTRODUCTION
𝑃 = 𝑉𝑟𝑚𝑠 × 𝐼𝑟𝑚𝑠 × 𝑃𝐹
Where
P = Calculated Power
Vrms = Supplied Voltage
Irms = Drawn Current
PF = Power Factor
Then, accumulated power consumption is calculated with run time of appliances, in
KWh as
After completing the calculation, the measured readings will display using the liquid crystal display
(LCD). In addition, relay is added to allow control of appliances either according to consumer
requirements by sending commands wirelessly from a base station to a microcontroller or when
exceeding permitted consumption limits, it will automatically turn off the power.
ESP 32 will be responsible for sending wirelessly all the measured readings in this part to the
base station. The base station is designed to receive all transmitted measured readings from sensing
node to continue monitoring in real-time through GUI available at computer system and the mobile app
window. Power monitoring feature allows the user to reduce the power consumption thus save cost.
These measured readings are stored in database for further analysis. Then, this measured readings will
be send via internet to the upper most application layer which has different applications on different
level for different purposes. For information accumulation and information preparing at base station it
utilized microcontroller – Node MCU is wi-fi ensured single chip microcontroller unit (MCU) shown
[figure 4 (a)]. Known as a wi-fi module, it has ability to perform wi-fi related activities like IOT
applications and home automation. It is used as an alternative to Arduino Wi-fi shield in order to
connect to a Wi-fi network, because it is considered an inexpensive alternative, with default firmware
and it has the same functions as Wi-Fi Shield. It is also immediately breadboard friendly. It
incorporates inserted TCP/IP stack and numerous Internet conventions for simple web get to.
Node MCU
(ESP8266)
There are three major parts to a smartphone application : the device, cloud server and the mobile app.
Blynk is a smartphone application that allows the developers to create a custom app for their projects’
according to the application It leverages the resources of a smartphone such as the touch screen to
provide a set of widgets that assists to create a custom user interface to control the device remotely. It
consists of two main elements, an application running on Android and iOS and a library compatible
with the Wiring framework with our project board. Blynk app that is shown in Figure handles the data
translation between the device and the smartphone app.
When the project application is registered; the server issues authentication token
which must be included in the main project code. It also enables the device to
communicate between each other and also between other web applications over
internet. Before associating the gadget to a get to access point, it needs to join the
system safely. Wi-Fi provisioning is the process of connecting a new Wi-Fi device
(station) to a Wi-Fi network. The provisioning process involves loading the station
with the network name referred as SSID and its security credentials. The user needs
to send the predefined password. User can download the android mobile app from
Google Play Store
Circuit
Diagram
Connection Diagram
SYSTEM IMPLEMENTATION
By monitoring the power consumption of the devices, the data is collected by the ZigBee coordinator
for the base station which saves all these data in the database at computer system for processing and
analysis, as well as in cloud database for remote access.
Parameters that will be stored are - voltage, current, power factor, real and apparent power,
status of each relay, KWh and cumulative runtime of the system. The data for these parameters
will be displayed through GUI and smartphone app window. Suitable actions like turning devices ON
and OFF, will be done from the GUI or smartphone app screen according to consumer requirements.
In addition, the system will depend on the average of drawn current that is identified in the program,
which means the appliances can be turned OFF automatically using the relays when the drawn current
exceeds the set value.