Professional Documents
Culture Documents
IOT
IOT
Pragatheeshwaran N 22305475
Sachin C 22305477
Saravana Muthu J 22305479
Nantheeswaran K 22392088
Rajasekar V 22392090
Guided By
• These alerts enable timely interventions, preventing potential battery failures and optimizing
overall performance. One of the system's key advantages is its accessibility. Users can access
critical battery information from any location with internet connectivity, thanks to ThingSpeak's
user-friendly interface.
• This feature ensures that users can monitor battery health remotely, enhancing convenience and
efficiency. Moreover, the system's scalability and affordability make it suitable for various
applications, ranging from small-scale home automation projects to large-scale industrial setups.
• The open-source nature of NodeMCU and ThingSpeak further enhances the system's versatility,
allowing for customization and adaptation to specific user needs. Overall, the "IoT based
Battery Monitoring System" represents a practical and efficient solution for ensuring the
reliable operation of battery systems.
• By leveraging IoT technology, this system not only enhances productivity but also helps prevent
unexpected battery failures, ultimately leading to cost savings and improved efficiency across
diverse environments.
1.Power Source: This represents the source of electrical power for your system. It could be a battery, AC
power supply, solar panel, or any other power source depending on your application requirements.
2.Battery: This block symbolizes the energy storage component of your system. It stores
electrical energy and provides power to the rest of the components as needed. The battery block is
connected to the charging module to ensure it remains charged and ready for use.
3.Charging Module: This block manages the charging process of the battery. It typically includes
components such as a charging IC, voltage regulation circuitry, and protection circuitry to ensure safe
and efficient charging.
4.NodeMCU ESP8266: This block represents the main microcontroller unit in your system. It controls
the overall functionality of the system, including data processing, communication with peripherals, and
execution of programmed logic. The NodeMCU interacts with other blocks to gather sensor
data, display information on the LCD, and manage power usage.
5. LCD: This block represents the liquid crystal display used for visual output. It displays information
such as sensor readings, system status, user interface elements, etc. The NodeMCU controls the content
displayed on the LCD and updates it as necessary.
Each block in the diagram represents a distinct functional unit of the system, and the
connections between them illustrate how data or signals flow between these units. This visual
representation helps in understanding the overall system architecture and facilitates
communication between different stakeholders involved in the project.
Circuit Diagram
CONFIGURING THINGSPEAK TO PLOT CHARGING AND
DISCHARGING VOLTAGE:
ThingSpeak provides a very good tool for IoT based projects. By using the ThingSpeak site,
we can monitor our data and control our system over the Internet, using the Channels and
webpages provided by ThingSpeak. ThingSpeak ‘Collects’ the data from the sensors, ‘Analyze
and Visualize’ the data and ‘Acts’ by triggering a reaction.
Here we are briefly explaining to use ThingSpeak for this IoT Battery Monitoring Project.
You can check various ThingSpeak based Iot projects here to learn more about it.
We will use ThingSpeak to monitor battery charging and discharging voltage. We will also
use IFTTT platform to connect with ThingSpeak to send email/message alerts for a full or
empty battery.
Step 1: First of all, the user needs to Create an Account on ThingSpeak.com, then
Sign In and click on Get Started.
Step 2: Now go to the ‘Channels’ menu and click on New Channel option on the same
page for further process. You will see a form for creating the channel, fill in the Name
and Description as per your choice. Then fill ‘Charging Voltage’, and
‘Discharging
Voltage’ in Field 1 and Field 2 labels, tick the checkboxes for the Fields. Click on Save
channel at bottom of the page. Now your new channel has been created.
Step 3: Click on API Keys menu and copy the Write API key. This key will be used in
the code to send the data on ThingSpeak.
Code:
#include <ESP8266WiFi.h>
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
void setup() {
Serial.begin(115200);
Serial.println("Connecting to WiFi");
WiFi.begin(ssid, pass);
Serial.println("\nWiFi connected");
void loop() {
int analogvalue = analogRead(A0);
float temp = (analogvalue * 3.3) / 1024.0; volt
= temp / (r2 / (r1 + r2));
Disadvantages: