Thank you very much for checking out my presentation.
If you are a student or a faculty of an engineering college and need to create a presentation, you can contact me. Check out my profile to know how.
This project describes about a device, which measures the power consumed by our household devices, using IoT technology.
Automatic Irrigation System is a prototype for a system of irrigation or watering automatically based on the Arduino microcontroller integrated with proximity sensors (Ultrasonic Sensor), the DC motor and the pump using LED indicator lights.
Made by :
Andika Jamal Nurganda 151611004
Putri Sintia Sari 151611021
Rizki Verdian 151611025
Refrigeration and Air Conditioning Engineering
Polytechnic State of Bandung
2016
IOT in Electrical & Electronics EngineeringLokesh K N
The evaluation of the IOT in the electrical power industry transformed the way things performed in usual manner. IOT increased the use of wireless technology to connect power industry assets and infrastructure in order to lower the power consumption and cost. The implementation of IoT in power system must rely on the line monitoring and real-time control in all aspects of the grid operating parameters, and the basic characteristics are grid information, communication, and automation.
Automatic Irrigation System is a prototype for a system of irrigation or watering automatically based on the Arduino microcontroller integrated with proximity sensors (Ultrasonic Sensor), the DC motor and the pump using LED indicator lights.
Made by :
Andika Jamal Nurganda 151611004
Putri Sintia Sari 151611021
Rizki Verdian 151611025
Refrigeration and Air Conditioning Engineering
Polytechnic State of Bandung
2016
IOT in Electrical & Electronics EngineeringLokesh K N
The evaluation of the IOT in the electrical power industry transformed the way things performed in usual manner. IOT increased the use of wireless technology to connect power industry assets and infrastructure in order to lower the power consumption and cost. The implementation of IoT in power system must rely on the line monitoring and real-time control in all aspects of the grid operating parameters, and the basic characteristics are grid information, communication, and automation.
Wireless Electronic Notice Board Using Voice Recognition.With the advent of advance technology nowadays, the wireless communication is proving its importance in each and every field of today’s era. This system deals with use of one such wireless technology. The proposed system is a combination of hardware as well as software. The main idea of the project is to develop an electronic notice board which will display the content entered by user’s voice in his mobile phone. This in turn will reduce the paper consumptions and wastage of time involved in conventional notice board.
In speech controlled electronic notice board is very friendly to user and can operate merely from a distance of 10 meters(approx). Here, installed application operates on Voice recognition concept which will be embedded in a microcontroller interfaced with Bluetooth device. Bluetooth wireless technology helps in communication area, and is the fastest growing fields within the wireless technologies.
The past decade has seen significant advancement in the field of consumer electronics. Various ‘intelligent’ appliances such as cellular phones, air-conditioners, home security devices, home theatres, etc. are set to realize the concept of a smart home. They have given rise to a Personal Area Network in home environment, where all these appliances can be interconnected and monitored using a single controller.
Busy families and individuals with physical limitation represent an attractive market for home automation and networking. A wireless home network that does not incur additional costs of wiring would be desirable. Bluetooth technology, which has emerged in late 1990s, is an ideal solution for this purpose.
Home automation involves introducing a degree of computerized or automatic control to
Certain electrical and electronic systems in a building. These include lighting, temperature
Control etc.
This project demonstrates a simple home automation system which contains a remote mobile host controller and several client modules (home appliances). The client modules communicate with the host controller through a wireless device such as a Bluetooth enabled mobile phone, in this case, an android based Smart phone.
This paper describes ultrasonic blind walking stick with the use of arduino. According to WHO, Visually impaired can range from mild severe. Worldwide, between 300 million people are visually impaired due to various causes just about 50 million People are totally Blind in the order of 80 of blindness occurs in people over 50years of age. If u notice them , you can very well know about it they can’t walk without the help of other. For Blind People without Any Support Its very Difficult to reach there. They faces many problems in their daily routine day to day life. revelation loss was linked by means of suicidal thoughts of suicide attempts, in a new study from south Korea. “People with visual harm often suffer substantial psychosocial consequences,†the authors wrote in the British Journal Of Ophthalmology. Ophthalmology is a branch of medicine and surgery which deals with the diagnosis and treatment of eye disorders. Shobhana Sonwane | Priyanka Gaidhane | Diksha Mohane | Nikita Gajbhiye | Akansha Patil | Tasneem Hasan "Smart Blind Stick using Arduino" Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456-6470, Volume-4 | Issue-3 , April 2020, URL: https://www.ijtsrd.com/papers/ijtsrd30754.pdf Paper Url :https://www.ijtsrd.com/engineering/computer-engineering/30754/smart-blind-stick-using-arduino/shobhana-sonwane
GSM Based Fault Monitoring System (Project)Aishwary Verma
This is a modern technique of Monitoring of switchyard which is used in many other countries.
It will be useful for reducing requirement of manpower.
When a fault occurred a SMS will be sent to the registered mobile number detailing about type of fault and location of fault.
The Smart Home Automation made by using Arduino and Cayenne as IoT middleware to control and monitor through a mobile app and the web from anywhere at anytime.
The system configured to send SMS and Email notification due to the reaction of smoke, temperature, magnetic door, PIR motion sensors.
The smart home automated control system is an integrated system to facilitate elderly and disabled people with an easy-to-use home automation system that can be fully operated based on android application. The system is portable and constructed in a way that is easy to install, configure, run, and maintain. A typical wireless smart home automation system allows one to control house hold appliances centralize control unit which is wireless.
This was one of my Diploma in Engineering Projects.
It's a Voice controlled Home Automation System which works with the Internet. Which means you can control your home appliances from anywhere.
I did the Presentation for the Home Automation System. I was also one of the core team members who made it happen.
Here are the complete powerpoint slides.
Thank You
Wireless Electronic Notice Board Using Voice Recognition.With the advent of advance technology nowadays, the wireless communication is proving its importance in each and every field of today’s era. This system deals with use of one such wireless technology. The proposed system is a combination of hardware as well as software. The main idea of the project is to develop an electronic notice board which will display the content entered by user’s voice in his mobile phone. This in turn will reduce the paper consumptions and wastage of time involved in conventional notice board.
In speech controlled electronic notice board is very friendly to user and can operate merely from a distance of 10 meters(approx). Here, installed application operates on Voice recognition concept which will be embedded in a microcontroller interfaced with Bluetooth device. Bluetooth wireless technology helps in communication area, and is the fastest growing fields within the wireless technologies.
The past decade has seen significant advancement in the field of consumer electronics. Various ‘intelligent’ appliances such as cellular phones, air-conditioners, home security devices, home theatres, etc. are set to realize the concept of a smart home. They have given rise to a Personal Area Network in home environment, where all these appliances can be interconnected and monitored using a single controller.
Busy families and individuals with physical limitation represent an attractive market for home automation and networking. A wireless home network that does not incur additional costs of wiring would be desirable. Bluetooth technology, which has emerged in late 1990s, is an ideal solution for this purpose.
Home automation involves introducing a degree of computerized or automatic control to
Certain electrical and electronic systems in a building. These include lighting, temperature
Control etc.
This project demonstrates a simple home automation system which contains a remote mobile host controller and several client modules (home appliances). The client modules communicate with the host controller through a wireless device such as a Bluetooth enabled mobile phone, in this case, an android based Smart phone.
This paper describes ultrasonic blind walking stick with the use of arduino. According to WHO, Visually impaired can range from mild severe. Worldwide, between 300 million people are visually impaired due to various causes just about 50 million People are totally Blind in the order of 80 of blindness occurs in people over 50years of age. If u notice them , you can very well know about it they can’t walk without the help of other. For Blind People without Any Support Its very Difficult to reach there. They faces many problems in their daily routine day to day life. revelation loss was linked by means of suicidal thoughts of suicide attempts, in a new study from south Korea. “People with visual harm often suffer substantial psychosocial consequences,†the authors wrote in the British Journal Of Ophthalmology. Ophthalmology is a branch of medicine and surgery which deals with the diagnosis and treatment of eye disorders. Shobhana Sonwane | Priyanka Gaidhane | Diksha Mohane | Nikita Gajbhiye | Akansha Patil | Tasneem Hasan "Smart Blind Stick using Arduino" Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456-6470, Volume-4 | Issue-3 , April 2020, URL: https://www.ijtsrd.com/papers/ijtsrd30754.pdf Paper Url :https://www.ijtsrd.com/engineering/computer-engineering/30754/smart-blind-stick-using-arduino/shobhana-sonwane
GSM Based Fault Monitoring System (Project)Aishwary Verma
This is a modern technique of Monitoring of switchyard which is used in many other countries.
It will be useful for reducing requirement of manpower.
When a fault occurred a SMS will be sent to the registered mobile number detailing about type of fault and location of fault.
The Smart Home Automation made by using Arduino and Cayenne as IoT middleware to control and monitor through a mobile app and the web from anywhere at anytime.
The system configured to send SMS and Email notification due to the reaction of smoke, temperature, magnetic door, PIR motion sensors.
The smart home automated control system is an integrated system to facilitate elderly and disabled people with an easy-to-use home automation system that can be fully operated based on android application. The system is portable and constructed in a way that is easy to install, configure, run, and maintain. A typical wireless smart home automation system allows one to control house hold appliances centralize control unit which is wireless.
This was one of my Diploma in Engineering Projects.
It's a Voice controlled Home Automation System which works with the Internet. Which means you can control your home appliances from anywhere.
I did the Presentation for the Home Automation System. I was also one of the core team members who made it happen.
Here are the complete powerpoint slides.
Thank You
International Journal of Engineering Research and Applications (IJERA) is an open access online peer reviewed international journal that publishes research and review articles in the fields of Computer Science, Neural Networks, Electrical Engineering, Software Engineering, Information Technology, Mechanical Engineering, Chemical Engineering, Plastic Engineering, Food Technology, Textile Engineering, Nano Technology & science, Power Electronics, Electronics & Communication Engineering, Computational mathematics, Image processing, Civil Engineering, Structural Engineering, Environmental Engineering, VLSI Testing & Low Power VLSI Design etc.
IOT BASED POWER GRID MONITORING & CONTROL SYSTEMvivatechijri
Energy generation corporations provide electricity to any or all the households via intermediate controlled power transmission hubs referred to as Electricity Grid. Generally issues arise thanks to failure of the electricity grid resulting in black out of a complete space that was obtaining provide from that individual grid. This project aims to resolve this downside victimization IOT because the means that of communication and conjointly coping with numerous alternative problems that a wise system will traumatize to avoid needless losses to the Energy producers.
Thank you very much for checking out my presentation.
If you are a student or a faculty of an engineering college and need to create a presentation, you can contact me. Check out my profile to know how.
This presentation explains about the parallel operation of transformers, along with sym. and unsym. voltage ratios, in brief.
Thank you very much for checking out my presentation.
If you are a student or a faculty of an engineering college and need to create a presentation, you can contact me. Check out my profile to know how.
This gives a beginner a brief insight on the areas of digital transformation, and about the basic things to get started.
Thank you very much for checking out my presentation.
If you are a student or a faculty of an engineering college and need to create a presentation, you can contact me. Check out my profile to know how.
This explains about the types of presentations in brief, and about the skills required for an delivering an effective presentation.
Thank you very much for checking out my presentation.
If you are a student or a faculty of an engineering college and need to create a presentation, you can contact me. Check out my profile to know how.
This presentation gives us an insight into different types of solar plate collectors, and their respective applications.
Thank you very much for checking out my presentation.
If you are a student or a faculty of an engineering college and need to create a presentation, you can contact me. Check out my profile to know how.
This presentation explains in brief about the auto-transformers, their concept, math and applications.
Thank you very much for checking out my presentation.
If you are a student or a faculty of an engineering college and need to create a presentation, you can contact me. Check out my profile to know how.
In this presentation, you will be getting a brief glance on the topics which are learnt by a B Tech student, during his course time. This also enables a person in which discipline he can suit best and what topics he can refer to to excel in that discipline.
Thank you very much for checking out my presentation.
If you are a student or a faculty of an engineering college and need to create a presentation, you can contact me. Check out my profile to know how.
This presentation explains about the basics of Transformers
Welcome to WIPAC Monthly the magazine brought to you by the LinkedIn Group Water Industry Process Automation & Control.
In this month's edition, along with this month's industry news to celebrate the 13 years since the group was created we have articles including
A case study of the used of Advanced Process Control at the Wastewater Treatment works at Lleida in Spain
A look back on an article on smart wastewater networks in order to see how the industry has measured up in the interim around the adoption of Digital Transformation in the Water Industry.
Overview of the fundamental roles in Hydropower generation and the components involved in wider Electrical Engineering.
This paper presents the design and construction of hydroelectric dams from the hydrologist’s survey of the valley before construction, all aspects and involved disciplines, fluid dynamics, structural engineering, generation and mains frequency regulation to the very transmission of power through the network in the United Kingdom.
Author: Robbie Edward Sayers
Collaborators and co editors: Charlie Sims and Connor Healey.
(C) 2024 Robbie E. Sayers
6th International Conference on Machine Learning & Applications (CMLA 2024)ClaraZara1
6th International Conference on Machine Learning & Applications (CMLA 2024) will provide an excellent international forum for sharing knowledge and results in theory, methodology and applications of on Machine Learning & Applications.
Final project report on grocery store management system..pdfKamal Acharya
In today’s fast-changing business environment, it’s extremely important to be able to respond to client needs in the most effective and timely manner. If your customers wish to see your business online and have instant access to your products or services.
Online Grocery Store is an e-commerce website, which retails various grocery products. This project allows viewing various products available enables registered users to purchase desired products instantly using Paytm, UPI payment processor (Instant Pay) and also can place order by using Cash on Delivery (Pay Later) option. This project provides an easy access to Administrators and Managers to view orders placed using Pay Later and Instant Pay options.
In order to develop an e-commerce website, a number of Technologies must be studied and understood. These include multi-tiered architecture, server and client-side scripting techniques, implementation technologies, programming language (such as PHP, HTML, CSS, JavaScript) and MySQL relational databases. This is a project with the objective to develop a basic website where a consumer is provided with a shopping cart website and also to know about the technologies used to develop such a website.
This document will discuss each of the underlying technologies to create and implement an e- commerce website.
Saudi Arabia stands as a titan in the global energy landscape, renowned for its abundant oil and gas resources. It's the largest exporter of petroleum and holds some of the world's most significant reserves. Let's delve into the top 10 oil and gas projects shaping Saudi Arabia's energy future in 2024.
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...Amil Baba Dawood bangali
Contact with Dawood Bhai Just call on +92322-6382012 and we'll help you. We'll solve all your problems within 12 to 24 hours and with 101% guarantee and with astrology systematic. If you want to take any personal or professional advice then also you can call us on +92322-6382012 , ONLINE LOVE PROBLEM & Other all types of Daily Life Problem's.Then CALL or WHATSAPP us on +92322-6382012 and Get all these problems solutions here by Amil Baba DAWOOD BANGALI
#vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore#blackmagicformarriage #aamilbaba #kalajadu #kalailam #taweez #wazifaexpert #jadumantar #vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore #blackmagicforlove #blackmagicformarriage #aamilbaba #kalajadu #kalailam #taweez #wazifaexpert #jadumantar #vashikaranspecialist #astrologer #palmistry #amliyaat #taweez #manpasandshadi #horoscope #spiritual #lovelife #lovespell #marriagespell#aamilbabainpakistan #amilbabainkarachi #powerfullblackmagicspell #kalajadumantarspecialist #realamilbaba #AmilbabainPakistan #astrologerincanada #astrologerindubai #lovespellsmaster #kalajaduspecialist #lovespellsthatwork #aamilbabainlahore #Amilbabainuk #amilbabainspain #amilbabaindubai #Amilbabainnorway #amilbabainkrachi #amilbabainlahore #amilbabaingujranwalan #amilbabainislamabad
Using recycled concrete aggregates (RCA) for pavements is crucial to achieving sustainability. Implementing RCA for new pavement can minimize carbon footprint, conserve natural resources, reduce harmful emissions, and lower life cycle costs. Compared to natural aggregate (NA), RCA pavement has fewer comprehensive studies and sustainability assessments.
Hierarchical Digital Twin of a Naval Power SystemKerry Sado
A hierarchical digital twin of a Naval DC power system has been developed and experimentally verified. Similar to other state-of-the-art digital twins, this technology creates a digital replica of the physical system executed in real-time or faster, which can modify hardware controls. However, its advantage stems from distributing computational efforts by utilizing a hierarchical structure composed of lower-level digital twin blocks and a higher-level system digital twin. Each digital twin block is associated with a physical subsystem of the hardware and communicates with a singular system digital twin, which creates a system-level response. By extracting information from each level of the hierarchy, power system controls of the hardware were reconfigured autonomously. This hierarchical digital twin development offers several advantages over other digital twins, particularly in the field of naval power systems. The hierarchical structure allows for greater computational efficiency and scalability while the ability to autonomously reconfigure hardware controls offers increased flexibility and responsiveness. The hierarchical decomposition and models utilized were well aligned with the physical twin, as indicated by the maximum deviations between the developed digital twin hierarchy and the hardware.
Forklift Classes Overview by Intella PartsIntella Parts
Discover the different forklift classes and their specific applications. Learn how to choose the right forklift for your needs to ensure safety, efficiency, and compliance in your operations.
For more technical information, visit our website https://intellaparts.com
1. MEASUREMENT OF POWER CONSUMPTION BY
VARIOUS DEVICES USING IoT TECHNOLOGY
FOR
CONTROL SYSTEMS LAB
2. ABSTRACT
In today’s world, with the rise in usage of electricity in various fields, there is a need of
even keeping track of the usage of power, so that it can be arranged into proper data, can be
analysed, which can be used for prediction of future power usage, and accumulating the
required resources to comply for the future, and this can be done using a technology named
IoT (Internet of Things). The project uses a NodeMCU module, along with ESP8266,
ADS1115 and an open source IoT platform, ThingSpeak. The project focuses on monitoring
and measuring the power used by various devices used in our daily life, calculating other
parameters and creating a database of the data collected, this data being seen through
ThingSpeak.
3. TABLE OF CONTENTS
DESCRIPTION PAGE NUMBER
LIST OF FIGURES 5
ABBREVIATIONS/ NOTATIONS/ NOMENCLATURE 6
1. INTRODUCTION
1.1 Electrical Energy and its consumption in India 7
1.2 Traditional Electricity Meters vs Smart Electricity Meters 8
1.3 Advantages of Smart Electricity Metering System 9
2. DESCRIPTION OF THE COMPONENTS
2.1 NodeMCU 10
2.2 ADS1115 12
2.3 Non-invasive AC current sensor 13
2.4 ThingSpeak 16
3 SCHEMATIC DIAGRAM AND THE CODE 17
4 WORKING OF THE CIRCUIT 20
5 OUTPUT OF THE PROJECT 22
6 CONCLUSION 22
7 REFERENCES 23
4. LIST OF FIGURES
Page 8:
Traditional Electromechanical Meter Architecture
Smart Meter Architecture
The important function carried by smart meter.
Page 10:
NodeMCU v0.9
NodeMCU v1.0
Page 11:
NodeMCU Pin Configuration
Page 13:
Pinout of ADS1115
Page 14:
Current Sensor
Page 15:
Layout of Current Sensor and its other versions
Page 17:
Circuit diagram 1
Page 18:
Circuit diagram 2
Page 21:
Output values of the project, in the form of a graph.
5. ABBREVIATIONS/ NOTATIONS/ NOMENCLATURE
TOE: Tonnes of Oil Equivalent
MCU: Microcontroller Unit
SoC: System on Chip
SDK: Software Development Kit
UART: Universal Asynchronous Receiver-Transmitter
SPI: Serial Peripheral Interface
I2C: Inter-Integrated Circuit
IDE: Integrated Development Environment
Lua: A programming language
GPIO: General-Purpose input/output
PWM: Pulse Width Modulation
SDA: Serial Data Line
SCL: Serial Clock line
API: Application Programming Interface
HTTP: Hypertext Transfer Protocol
6. 1. INTRODUCTION
1.1. ElectricalEnergyand its consumption in India
Electrical energy is the most convenient form of energy for most human uses.
Electrical energy is easy to move from one location to another and easy to use, but it is almost
impossible to store in any large quantity. It can be used for running computers and
most appliances, home heating, and even transportation. Electricity is used by industry,
households, and businesses, and accounts for 18% of end use energy worldwide.
Energy consumption in India has gone up manifold in recent years and demand is
expected to rise further due to speedy electrification, increase in household purchasing power,
technology advancement, e-mobility prospects, industrial and agricultural advancements.
According to the ministry of power, in terms of TOE, energy demand in the country is
expected to increase to about 1,250 million TOE(as per the integrated energy policy report) to
1,500 million TOE (as per the International Energy Agency) by 2030.
Of the above, residential electricity consumption constitutes 24% of the total electricity
consumption in India. In this sector, lighting and cooling requirements constitute 75% of the
total household electricity consumption. Here, requirements are further projected to grow by
260% by 2021, according to World Bank estimates.
The Indian Power sector has grown significantly since independence and the generation
capacity has increased from 1,362 MW in 1947 to over 250,257 MW in July, 2014. Despite
significant increase in electricity generation, the shortage of Power continues to persist
primarily on account of the growth in electrification and demand for Power outsmarting the
growth in generation and capacity addition. Even after considerable growth in the Power sector
and improvement in the electricity supply, many parts of the country continue to face Power
shortages.
From developing insight into consumer behaviour, customising solutions for end users,
to plugging gaps and spillage in the transmission systems by purging malpractices, the future
7. of energy management lies in the integration of digital technology with the existing
infrastructure, and strategic usage of data across applications.
1.2. Traditional Electricity Meters vs Smart Electricity Meters:
Traditional Electromechanical Meter Architecture
Smart Meter Architecture
The important function carried by smart meter.
8. 1.3. Advantages of Smart metering system:
Advantages of Smart Meters for Utilities:
•With the advent of advanced monitoring technology, the number of personnel required will
be less.
• The increased ability for load management during peak load times.
• Makes more efficient use of grid resources.
• The system offers the latest tariff model for electricity market.
Advantages of Smart Meters for Consumers:
• Benefits the consumers in more accurate and timely electrical billing.
• Allows the consumer to schedule the electrical usage in the most optimal manner.
• Allows the user to think about the better plan for using the electrical equipment during the
expensive hours.
• Allows the consumer to switch between conventional to renewable resources based on the
tariff.
Advantages of Smart Meters for Government:
• The encouragement for smart meters will allow utilities to perform better in monitoring and
controlling aspects of power systems.
• Encourages the renewable energy resources by consumers.
• An encouragement for environmental conditions with less CO2 emissions.
• Prevents blackout by better monitoring and load forecasting for power grid.
So, our project focuses on smart metering using NodeMCU module with ESP8266-12 and
ADS1115, wherein we measure the power consumed by a load, convert the data into required
type, and sent to an online database, which displays the result in the form of a graph.
9. 2. DESCRIPTION OF THE COMPONENTS
2.1. NodeMCU
The NodeMCU is an open source software and hardware development environment
that is built around a very inexpensive SoC called the ESP8266. The ESP8266, designed and
manufactured by Espressif Systems, contains all crucial elements of the modern computer:
CPU, RAM, networking, and even a modern operating system and SDK.
The firmware uses the Lua scripting language. It is based on the eLua project.
NodeMCU v0.9 NodeMCU v1.0
NodeMCU Dev Kit has Arduino like Analog (i.e. A0) and Digital (D0-D8) pins on its
board.
It supports serial communication protocols i.e. UART, SPI, I2C etc.
Using such serial protocols, we can connect it with serial devices like I2C enabled LCD
display, Magnetometer HMC5883, MPU-6050 Gyro meter + Accelerometer, RTC chips, GPS
modules, touch screen displays, SD cards etc.
10. NodeMCU Pin Configuration
How to write codes for NodeMCU?
After setting up ESP8266 with Node-MCU firmware, let’s see the IDE required for
development of NodeMCU.
NodeMCU with ESPlorer IDE:
Lua scripts are generally used to code the NodeMCU. Lua is an open source,
lightweight, embeddable scripting language built on top of C programming language.
NodeMCU with Arduino IDE:
Here is another way of developing NodeMCU with a well-known IDE i.e. Arduino
IDE. We can also develop applications on NodeMCU using Arduino development
environment. This makes easy for Arduino developers than learning new language and
IDE for NodeMCU.
11. Features:
NodeMCU Lua ESP-12E WIFI Development Board
Wireless 802.11 b/g/n standard
Support STA / AP / STA + AP three operating modes
Built-in TCP / IP protocol stack to support multiple TCP Client connections (5 MAX)
D0 ~ D8, SD1 ~ SD3: used as GPIO, PWM, IIC, etc., port driver capability 15mA
AD0: 1 channel ADC
Input: 4.5V ~ 9V (10VMAX), USB-powered
Current: continuous transmission: ≈70mA (200mA MAX), Standby: <200uA
Transfer rate:110-460800bps
Support UART / GPIO data communication interface
Remote firmware upgrade (OTA)
Support Smart Link Smart Networking
Working temperature: -40 ℃ ~ + 125 ℃
Drive Type: Dual high-power H-bridge driver
2.2. ADS1115
The ADS1115 4-channel breakout board is perfect for adding high-resolution
analog to digital conversion to any microprocessor-based project. This board can run with
power and logic signals between 2v to 5v, so this is compatible with all common 3.3v and
5v processors. As many of 4 of these boards can be controlled from the same 2-wire I2C
bus, giving you up to 16 single-ended or 8 differential channels. A programmable gain
amplifier provides up to x16 gain for small signals.
12. Pinout of ADS1115
ADS1115 Features:
Resolution: 16 Bits
Programmable Sample Rate: 8 to 860 Samples/Second
Power Supply/Logic Levels: 2.0V to 5.5V
Low Current Consumption: Continuous Mode: Only 150µA Single-Shot Mode:
Auto Shut-Down
Internal Low-Drift Voltage Reference
Internal Oscillator
Internal PGA: up to x16
I2C Interface: 4-Pin-Selectable Addresses
Four Single-Ended or 2 Differential Inputs
Programmable Comparator
2.3. Non-invasive AC Current Sensor
A current sensoris a device that detects electric current in a wire and generates a
signal proportional to that current. The generated signal could be analog voltage or current or
even a digital output. The generated signal can be then used to display the measured current in
13. an ammeter or can be stored for further analysis in a data acquisition system or can be used for
the purpose of control.
The sensed current and the output signal can be:
Alternating current input,
Analog output, which duplicates the wave shape of the sensed current.
Bipolar output, which duplicates the wave shape of the sensed current.
Unipolar output, which is proportional to the average or RMS value of the sensed
current.
Direct current input,
Unipolar, with a unipolar output, which duplicates the wave shape of the sensed current
Digital output, which switches when the sensed current exceeds a certain threshold
Technologies:
Hall effect IC sensor.
Transformer or current clamp meter, (suitable for AC current only).
Fluxgate Transformer Type, (suitable for AC or DC current).
Resistor, whose voltage is directly proportional to the current through it.
Fiber optic current sensor, using an interferometer to measure the phase change in the light
produced by a magnetic field.
Rogowski coil, electrical device for measuring alternating current (AC) or high speed
current pulses.
Current Sensor
14. Layout of Current Sensor and its other versions
This non-invasive current sensor (also known as a “split core current transformer”)
can be clamped around the supply line of an electrical load to tell you how much current is
passing through it. It does this by acting as an inductor and responding to the magnetic field
around a current-carrying conductor. By reading the amount of current being produced by the
coil, you can calculate how much current is passing through the conductor.
Applications:
Suitable for the current measuring
Monitoring and protection of AC motor
Lighting equipment
15. Air compressor
Specifications:
Input Current: 0~30A AC
Output Mode: DC 0~1V
Non-linearity:2-3%
Build-in sampling resistance, Rl: 62Ω
Turn Ratio: 1800:1
Resistance Grade: Grade B
Work Temperature: -25°C ~ ﹢70°C
Dielectric Strength (between shell and output): 1000V AC/1min 5mA
Leading Wire in Length: 1m
Open Size: 13mm x 13mm
2.4. ThingSpeak:
According to its developers, ThingSpeak is an open source IoT application and API to
store and retrieve data from things using the HTTP protocol over the Internet or via a Local
Area Network. ThingSpeak enables the creation of sensor logging applications, location
tracking applications, and a social network of things with status updates.
ThingSpeak was originally launched by ioBridge in 2010 as a service in support of IoT
applications.
ThingSpeak has integrated support from the numerical computing
software MATLAB from MathWorks, allowing ThingSpeak users to analyse and visualize
uploaded data using MATLAB without requiring the purchase of a MATLAB license from
MathWorks.
Sensor data can be sent to ThingSpeak from Arduino, Raspberry Pi, BeagleBone Black,
and other hardware.
16. 3. SCHEMATIC DIAGRAM AND THE CODE
Schematic Diagramof the project:
Circuit diagram 1
18. CODE:
/*
* This sketch sends ads1115 current sensor data via HTTP POST request to
thingspeak server.
* It needs the following libraries to work (besides the esp8266 standard
libraries supplied with the IDE):
*
* - https://github.com/adafruit/Adafruit_ADS1X15
*
* designed to run directly on esp8266-01 module, to where it can be
uploaded using this marvelous piece of software:
*
* https://github.com/esp8266/Arduino
*
* 2015 Tisham Dhar
* licensed under GNU GPL
*/
#include <ESP8266WiFi.h>
#include <Wire.h>
#include <Adafruit_ADS1015.h>
// replace with your channel's thingspeak API key,
String apiKey = "XXXXXXXXXXXXX";
//WIFI credentials go here
// replace with your router/hotspot name
const char* ssid = "XXXXXXXXXXX";
// replace with router/hotspot password
const char* password = "XXXXXXXXXXXXXXXXXXXXX";
Adafruit_ADS1115 ads; /* Use this for the 16-bit version */
const char* server = "api.thingspeak.com";
WiFiClient client;
double offsetI;
double filteredI;
double sqI,sumI;
int16_t sampleI;
double Irms;
double squareRoot(double fg)
{
double n = fg / 2.0;
double lstX = 0.0;
while (n != lstX)
{
lstX = n;
n = (n + fg / n) / 2.0;
}
return n;
}
double calcIrms(unsigned int Number_of_Samples)
{
/* Be sure to update this value based on the IC and the gain settings! */
float multiplier = 0.125F; /* ADS1115 @ +/- 4.096V gain (16-bit results)
*/
for (unsigned int n = 0; n < Number_of_Samples; n++)
{
19. sampleI = ads.readADC_Differential_0_1();
// Digital low pass filter extracts the 2.5 V or 1.65 V dc offset,
// then subtract this - signal is now centered on 0 counts.
offsetI = (offsetI + (sampleI-offsetI)/1024);
filteredI = sampleI - offsetI;
//filteredI = sampleI * multiplier;
// Root-mean-square method current
// 1) square current values
sqI = filteredI * filteredI;
// 2) sum
sumI += sqI;
}
Irms = squareRoot(sumI / Number_of_Samples)*multiplier;
//Reset accumulators
sumI = 0;
//-------------------------------------------------------------------------
-------------
return Irms;
}
void setup() {
Serial.begin(115200);
delay(10);
// We start by connecting to a WiFi network
Serial.println();
Serial.println();
Serial.print("Connecting to ");
Serial.println(ssid);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("");
Serial.println("WiFi connected");
Serial.println("IP address: ");
Serial.println(WiFi.localIP());
ads.setGain(GAIN_ONE); // 1x gain +/- 4.096V 1 bit = 2mV
0.125mV
ads.begin();
}
void loop() {
//Serial.print("Differential: "); Serial.print(results); Serial.print("(");
Serial.print(trans_volt); Serial.println("mV)");
double current = calcIrms(2048);
20. if (client.connect(server,80)) { // "184.106.153.149" or
api.thingspeak.com
String postStr = apiKey;
postStr +="&field1=";
postStr += String(current);
postStr += "rnrn";
client.print("POST /update HTTP/1.1n");
client.print("Host: api.thingspeak.comn");
client.print("Connection: closen");
client.print("X-THINGSPEAKAPIKEY: "+apiKey+"n");
client.print("Content-Type: application/x-www-form-urlencodedn");
client.print("Content-Length: ");
client.print(postStr.length());
client.print("nn");
client.print(postStr);
}
client.stop();
//Serial.println("Waiting...");
// thingspeak needs minimum 15 sec delay between updates
delay(20000);
}
4. WORKING OF THE CIRCUIT
At the start of the project, we have to take a load (either a resistive load, inductive
load, or a capacitive load), which has its phase and neutral wires separated, i.e., both the
wires aren’t kept together in another wire.
Now, take either a phase wire, or a neutral wire, and place it in the current sensor,
by clamping it.
Now, connect the current sensor to the circuit, as shown in the above diagram, and
powerup the circuit with a DC source (a mobile charger, or a power bank, with a USB 2.0
version wire to connect to the NodeMCU).
Make sure that the code which you have uploaded has the correct WiFi username
and password.
Now, go to the ThingSpeak site, login into your account, and create a new channel
named “Raw Measurement”, for getting the values.
21. 5. OUTPUT OF THE PROJECT
Output values of the project, in the form of a graph.
6. CONCLUSION
So, in here, we have used an MC named “NodeMCU”, which has an inbuilt
WiFi module in it, along with a ADC named “ADS1115”, and a current sensor of clamp type,
to measure the values. We have powered the project with an external source of 5V DC. We
have measured the values of various loads and conceived the data in a website named
“ThingSpeak”. So, we can be able to measure the amount of power that we consume. This
project is a prototype of a bigger one, which can measure the real power, current, voltage and
power factor of the loads, which can be useful for evaluation of usage.