Professional Documents
Culture Documents
INTRODUCTION
Overview
We live in a world where almost everything runs on
electricity. 67% of the resources used to produce
electricity are non-renewable sources of energy. And
yet we do not comprehend the seriousness to conserve
our resources as the rate at which we are using them ,
it is estimated that all of earths non-renewable sources
of energy will get exhausted by 2100.
In India, plug load devices in building sectors are
consuming close to 40 percent of the total electricity
consumption. Though the share of plug load in building
energy is increasing, very few studies exist on the plug
level energy usage and consumption. In order to
address the growing energy use of miscellaneous and
electronic load (e.g. water heater), some measures
need to be taken. Hence identifying needs, this project
focuses on designing the devices that have built-in
capability to measure and report the energy use or
receive control input over the network. This study will
help in creating energy awareness devices. Current
sensor measures the current flowing through device
then controller performs necessary calculations on the
data and puts that data on the internet. By measuring
current and voltage, we can analyse energy
Project docs bosco
Objectives
To interface current sensor and LCD with Arduino Pro mini.
To interface Light detector with Arduino
To program in Arduino cc IDE
To establish Wi-Fi communication between client and
server
PROBLEM STATEMENT
Due to industrial growth and urbanization energy is basic need
of our life. It is also known as strategic commodity. Any
vulnerability about its supply of energy can undermine the
working of whole economy, especially in creating financial
aspects. It is the necessity to manage consumption of
electricity due to limited availability of resources. So the aim
should be to recognize and eliminate the misuse of electricity
by figuring out which equipment utilizes how much amount of
electricity. Building sectors are consuming largest electricity in
India
The increasing generation needs empowered gadgets by
wireless technology which includes Bluetooth, Radio Frequency
Identification, Embedded sensors and many more. In that IOT
technology has grown from its beginning and now presently
widely using it. The electricity plays an important role in our
life. Now-a-days as the consumers are increasing rapidly it
became very hard to handle the electricity requirements.
Project docs bosco
CHAPTER 3
ENERGY MONIOTORING OVER IOT
ARCHITECHTURE OF IOT
The Internet of Things (IoT) is the network of physical objects
devices, vehicles, buildings and other items embedded with
electronics, software, sensors, and network connectivity that
enables these objects to collect and exchange data. The IoT
allows objects to be sensed and controlled remotely across
existing network infrastructure, creating opportunities for more
direct integration of the physical world into computer based
systems, and resulting in improved efficiency, accuracy and
economic benefit, when IoT is augmented with sensors and
actuators, the technology becomes an instance of the more
general class of cyber physical systems, which also
encompasses technologies such as smart grids, smart homes,
intelligent transportation and smart cities So, Internet of Things
or IoT is an architecture that comprises specialized hardware
boards, Software systems, web APIs, protocols which together
creates a seamless environment which allows smart embedded
devices to be connected to internet such that sensory data can
be accessed and control system can be triggered over internet.
Also devices could be connected to internet using various
means like Wi-Fi, Ethernet and so on. Furthermore devices may
Project docs bosco
Software Development
Initial Setups in Arduino IDE Software Step1: Install the Arduino
1.6.7 IDE. Step2: Go to File>>Preferences>>Additional Boards
Manager URLs:
http://arduino.esp8266.com/stable/package_esp8266com_
index.json >>Ok Step 3: Go to Tools>>Boards>>Boards
Manager>> Download the esp8266 by ESP8266 Community
version 2.2.0 Step4: Go to Tools>>Boards>>Generic ESP8266
Module Step5: Go to Tools>>Upload Speed>>11520>>
Port>>choose preferred COM ports.
CIRCUIT DIAGRAM
Project docs bosco
Applied current flowing through the ACS712 copper conduction path generates a magnetic field
which the Hall IC converts into a proportional voltage. Device accuracy is optimized through the close
proximity of the magnetic signal to the Hall transducer.
A precise, proportional voltage is provided by the low-offset, chopper-stabilized BiCMOS Hall IC,
which is programmed for accuracy after packaging.
The ACS712 outputs an analog signal, VIOUT that varies linearly with the uni- or bi-directional AC or
DC primary sampled current, IP (between IP+ e IP-) within the range specified.
It requires a power supply of 5V (VCC) and two capacitors to filter power supply and output.
CF is recommended for noise management, with values that depend on the application.
Controller
Arduino uno microcontroller is used which is based on ATmegha328. After
receiving measured current data and input voltage from analog measurement
circuit we have to calculate the power. The programming is done in Arduino
software (IDE). This is the open source platform. This board also acts as network
traffic controller. It receives the measured data from sensor and send calculated
data to raspberry pi. The instantaneous output is provided to the current flowing
through the terminals by ACS712. If the current is flowing in positive direction
then ACS712 output voltage increases above Vcc/2 and sensitivity measured is
also positive. But if current is flowing in negative direction then ACS 712 output
voltage decreases below Vcc/2 and sensitivity will be in negative. The 10-bit ADC
microcontroller oscillates total 1024 counts. Microcontroller calculate RMS value
of the current using eq. 2. A potential difference is created across its edges
perpendicular to the directions of both the current and the magnetic field. This
hall voltage is converted to RMS value using following equation