Fms Final Report (Deep)
Fms Final Report (Deep)
On
Supervisor:
PROF.YASHIKA VADNERKAR
1
YADAVRAO TASGAONKAR INSTITUTE OF
ENGINEERING AND TECHNOLOGY
BHIVPURI RD. KARJAT (M.S.)
——————————————————————————–
DEPARTMENT OF COMPUTER ENGINEERING
CERTIFICATE
This is to certify that the TE Project entitled
2
YADAVRAO TASGAONKAR INSTITUTE OF
ENGINEERING AND TECHNOLOGY
BHIVPURI RD. KARJAT (M.S.)
——————————————————————————–
CERTIFICATE OF APPROVAL
This is to certify that the project TE Project entitled
Submitted by
Mr. Divyesh Mahajan
Mr. Deep Patil
Mr. Soham Chandorkar
Is approved for the degree of Bachelor of Engineering in Computer Engineering SEM-VI
for academic year 2023– 2024 .
3
YADAVRAO TASGAONKAR INSTITUTE OF
ENGINEERING AND TECHNOLOGY
BHIVPURI RD. KARJAT (M.S.)
——————————————————————————–
DECLARATION BY STUDENT
We declare that this written submission represents our ideas in our own words and where
others ideas or words have been included. We have adequately cited and referenced the
original sources. We also declare that We have adhered to all principles of academic honesty
and integrity and have not misrepresented or fabricated or falsified any idea/data/fact/source
in our submission. We understand that any violation of the above will be cause for
disciplinary action by the Institute and can also evoke penal action from the sources which
have thus not been properly cited or from whom proper permission has not been taken when
needed.
4
ABSTRACT
A new digital currency in the form virtual cash, known as Bitcoin was acquainted with the
world by Satoshi in 2009. Bitcoin is the most notable computerized money. It is based on
peerto-peer distributed system with no central authority controlling it. It is based on the
technique known as Blockchain, a kind of peer-to-peer ledger system containing the record
of all transactions. All set of transactions are logged in the blocks. The new transactions
generated by the users are broadcasted using signed blocks to verify over the Bitcoin
network. The transaction is verified by mining process and added to the Blockchain. In order
to add the transaction into the block, the miner solves the cryptographic puzzle. The miners
are rewarded for their work. This paper is focused on mining strategy and reward
mechanism of the Bitcoin. The challenges in mining process are identified and probable
solutions are presented.
5
Contents
1 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1 . 1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.2 Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.3 Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.4 Component . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3 LITERATURE SURVEY. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4 PROBLEM DEFINATION. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5 PROPOSED SYSTEM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.1 System Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
6 METHODOLOGY . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
6.1 Proposed Algorithum . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
7. IMPLEMENTATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
9. SYSTEM ANALYSIS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
10. Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
11.REFERENCES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
6
List of Figures
7
CHAPTER 1
INTRODUCTION
In recent years, the world has witnessed an increase in the frequency and severity of floods,
posing significant challenges to communities, infrastructure, and ecosystems. The ability to
accurately monitor water levels in real-time is crucial for timely response and mitigation
efforts. Leveraging advancements in Internet of Things (IoT) technology, our project
introduces a comprehensive Flood Monitoring System powered by Think Speak.
The Flood Monitoring System offers an innovative approach to gather, analyze, and visualize
critical data related to water levels in flood-prone areas. By integrating IoT sensors with the
Think Speak platform, our system provides continuous monitoring and remote access to
flood-related data in real-time. This enables stakeholders, including government agencies,
emergency responders, and local communities, to make informed decisions and take
proactive measures to mitigate the impact of flooding events.
Through this project, we aim to address the pressing need for reliable flood monitoring
solutions that can adapt to dynamic environmental conditions. By harnessing the power of
IoT and ThingSpeak, our system offers a scalable and cost-effective approach to flood
management, enhancing resilience and preparedness in vulnerable regions. This introduction
sets the stage for a detailed exploration of our Flood Monitoring System, highlighting its
components, functionality, and potential impact on disaster response and management.
8
1.1 OVERVIEW
Flood monitoring systems play a crucial role in early warning and mitigation efforts,
especially in regions prone to flooding. In recent years, the Internet of Things (IoT) has
emerged as a promising technology for developing efficient and scalable flood monitoring
solutions. This abstract introduces a novel flood monitoring system that leverages IoT
devices and the ThingSpeak platform for real-time data collection, analysis, and
dissemination.
The proposed system consists of a network of IoT sensors deployed in flood-prone areas to
monitor key environmental parameters such as water level, rainfall intensity, and
temperature. These sensors are equipped with connectivity capabilities, allowing them to
transmit data to a central server via the internet. The ThingSpeak platform is utilized as the
central data repository and analysis tool, offering features such as data visualization,
analytics, and alerting.
Upon receiving data from the IoT sensors, the ThingSpeak platform processes and analyzes
the information in real-time to detect potential flood events. Advanced analytics techniques,
including machine learning algorithms, may be employed to forecast flood occurrences based
on historical data patterns. In the event of a flood alert, the system can automatically trigger
notifications to relevant authorities and stakeholders via email, SMS, or other communication
channels.
Furthermore, the system offers a user-friendly interface for stakeholders to access real-time
and historical flood data, aiding in decision-making and emergency response planning.
Additionally, the scalability and flexibility of the IoT architecture enable easy deployment
and expansion of the monitoring network to cover larger geographical areas.
9
1.2 OBJECTIVE
develop a Flood Monitoring System utilizing Internet of Things (IoT) technology integrated
with ThingSpeak platform to accurately detect, monitor, and analyze flood conditions in real-
time. This system aims to provide timely and actionable information to authorities and
stakeholders to mitigate risks, minimize damages, and enhance preparedness and response
efforts in flood-prone areas.
Develop a reliable and cost-effective sensor network capable of accurately detecting and
monitoring water levels in real-time.
Implement an efficient data transmission mechanism to securely transmit water level data to
the ThingSpeak platform for analysis and visualization.
Integrate an alerting mechanism with the system to promptly notify relevant authorities and
stakeholders via a buzzer in case of significant rise in water levels or abnormal flow patterns.
Ensure the scalability and flexibility of the system to accommodate varying environmental
conditions and geographical locations.
Incorporate mechanisms for system maintenance and troubleshooting to ensure
continuous and uninterrupted operation.
Conduct thorough testing and validation procedures to verify the accuracy, reliability, and
responsiveness of the Flood Monitoring System under simulated flood scenarios.
Provide user-friendly interfaces for both administrators and end-users to access real-time
data, configure system settings, and manage alerts efficiently.
Collaborate with local authorities, community organizations, and relevant stakeholders to
ensure seamless integration of the system into existing flood management strategies and
emergency response protocols.
Continuously monitor and evaluate the performance of the system to identify areas for
improvement and optimize its functionality over time.
Adhere to relevant standards and regulations pertaining to flood monitoring systems and IoT
technologies to ensure compliance and interoperability.
10
1.3 SCOPE
The future of Flood Monitoring Systems lies in the integration of IoT (Internet of Things)
technology to enhance their capabilities, efficiency, and effectiveness. Here's a glimpse into
what the future might hold for IoT-based Flood Monitoring Systems:
1.Advanced Sensor Technologies: IoT-based flood monitoring systems will leverage
advanced sensor technologies for more accurate and real-time data collection. This could
include the use of drones equipped with high-resolution cameras and LiDAR sensors to
monitor water levels, detect blockages in drainage systems, and assess flood damage.
2.Predictive Analytics: By integrating IoT devices with AI (Artificial Intelligence) and
machine learning algorithms, flood monitoring systems can move beyond simply detecting
water levels to predicting and forecasting flood events. These systems will analyze historical
data, weather patterns, soil moisture levels, and other relevant factors to provide early
warnings and proactive flood management strategies.
3.Remote Monitoring and Control: IoT-based flood monitoring systems will enable remote
monitoring and control capabilities, allowing authorities to access real-time data and control
flood management infrastructure such as flood gates, pumps, and barriers from a centralized
dashboard. This remote access will improve response times and coordination during flood
events.
4.Community Engagement: Future IoT-based flood monitoring systems will incorporate
community engagement features, such as mobile applications and social media integration, to
empower citizens to contribute to flood monitoring efforts. Citizens can report local flooding
incidents, upload photos or videos, and receive real-time alerts and evacuation instructions
through these platforms.
5.Integration with Smart Cities: As cities become smarter and more interconnected, IoT-
based flood monitoring systems will seamlessly integrate with other smart city infrastructure,
such as traffic management systems, emergency response systems, and urban planning
initiatives. This integration will enable holistic approaches to flood management and urban
resilience.
6.Environmental Monitoring: In addition to monitoring water levels and flood risk, IoT-based
flood monitoring systems will expand to include environmental monitoring capabilities. This
could involve monitoring water quality, biodiversity, and ecosystem health in flood-prone
areas to better understand
11
1.4 COMPONENT
Jumper wire
NodeMCU ESP8266: NodeMCU is a low-cost open source IoT platform. It initially included firmware
which runs on the ESP8266 Wi-Fi SoC from Espressif Systems, and hardware which was based on the
ESP- 12 module. ESP8266 is a system-on-chip (SoC) which integrates a 32- bit microcontroller.
12
HC-RC 04 sensor:
This is the HC-SR04 ultrasonic distance sensor. This economical sensor
provides 2cm to 400cm of non-contact measurement functionality with a
ranging accuracy that can reach up to 3mm. Each HC-SR04 module includes
an ultrasonic transmitter, a receiver and a control circuit.
Jumper wire
A jump wire (also known as jumper, jumper wire, DuPont wire) is an electrical wire, or
group of them in a cable, with a connector or pin at each end (or sometimes without them –
simply "tinned"), which is normally used to interconnect the components of a breadboard or
other prototype or test circuit
CHAPTER 2
13
EXISTENCE SYSTEM AND DISADVANTAGES
1.River Gauges and Sensors: River gauges and sensors are installed along waterways to
measure various parameters such as water level, flow rate, and rainfall intensity. These
sensors can be traditional mechanical devices or modern electronic sensors that transmit data
6.Early Warning Systems: Early warning systems are designed to provide timely alerts
and warnings to communities at risk of flooding. These systems use real-time data from flood
14
monitoring sensors and models to trigger alarms, send notifications, and disseminate
emergency information through various communication channels such as sirens, text
Disadvantages
1.Limited Coverage:
5.Vulnerability to Damage:.
CHAPTER 3
15
Literature survey
IoT based flood monitoring system that measure water level in real time. The
prototype is based on idea that the level of water can be very important parameterwhen it
comes to the flood occurrencesespecially in disaster prone area. A water level sensor is used
to detect the desired parameter and if the water level reaches the parameter the signal will be
freed in real time to thinkspeak visulisation like platform. A cloud server was configured as
data repository. The measurement of water level are displayed in dashboard platform. The
proposed solution with integrated sensory system that allows inner monitoring of water
quality. Alerts and relevant data are transmitted over the internet to a cloud server and can be
received by user terminal owned by consumer. The outcome of water measurement is
displayed in web based remote dashboard.
CHAPTER 4
16
PROBLEM DEFINATION
3.Real-time Alerting: Implementing a robust alerting mechanism that can quickly notify
relevant authorities and individuals when flood conditions are detected, enabling prompt
response and evacuation efforts.
CHAPTER 5
17
PROPOSED SYSTEM
•The system begins with an IoT-based water level sensor placed in the area prone to
flooding. This sensor continuously measures the water level in the designated location.
2Buzzer Alarm:
•An alarm buzzer is connected to the MCU. When the water level exceeds the threshold and
overflow is detected, the MCU activates the buzzer to sound the alarm.
•The alarm serves as an audible alert to notify nearby individuals of the flooding situation .
3.ThingSpeak Integration:
•The MCU is configured to send the water level data to the ThingSpeak platform using its
API.
•ThingSpeak is a cloud-based IoT platform that allows for real-time data collection, storage,
and visualization.
•The water level data collected by the MCU is displayed in real-time on ThingSpeak's
5.Internet Connectivity:
•The system requires an internet connection to transmit data to the ThingSpeak platform.
•This can be achieved through various means, such as Wi-Fi, Ethernet, or cellular
connectivity, depending on the deployment location and availability of internet infrastructure.
6.Power Supply:
18
•The system requires a reliable power source to operate continuously.
•Depending on the deployment location, this could be mains power, battery backup, or solar
power, ensuring uninterrupted operation even during power outages.
CHAPTER 6
METHODOLOGY
6.1 PROPOSED ALGORITHUM
19
1.nitialize constants and variables:
•Define the pins for ultrasonic sensor (trigPin1 and echoPin1), LEDs (redled and grnled), and
buzzer (BUZZER).
•Declare ThingSpeak channel number (ch_no), write API key (write_api), and Wi-Fi
credentils (ssid and pass).
•Declare variables to store the start time (startMillis), current time (currentMillis), and the
duration and distance measured by the ultrasonic sensor.
2.Setup function:
•Configure pin modes for the ultrasonic sensor, LEDs, and buzzer.
•Measure the duration of the echo pulse returned by the ultrasonic sensor and calculate
the distance based on the speed of sound.
•Turn on the red LED and activate the buzzer to indicate overflow.
20
•Turn on the green LED and turn off the red LED.
CHAPTER 7
IMPEMENTATION
21
1. River Basins and Watersheds: FMS can be installed along rivers, streams, and
watersheds to monitor water levels and detect changes in flow patterns. This helps in
predicting flood events and managing water resources more effectively.
2. Coastal Areas: Coastal regions are prone to flooding due to storm surges, high
tides, and sea level rise. FMS can be deployed to monitor sea levels, wave heights, and
tidal fluctuations, providing early warnings of coastal flooding.
3. Urban Areas: Urban areas with poor drainage systems or high impervious surfaces
are vulnerable to flash floods during heavy rainfall. FMS can be integrated with urban
infrastructure to monitor stormwater runoff, sewer overflows, and inundation levels in
streets and neighborhoods.
4. Critical Infrastructure: FMS can be installed near critical infrastructure such as
dams, levees, bridges, and power plants to monitor water levels and assess flood risk.
This helps in ensuring the safety and resilience of infrastructure assets during flood
events.
5. Agricultural Lands: Agricultural areas are susceptible to flooding, which can
damage crops, soil, and infrastructure. FMS can be used to monitor soil moisture
levels, river flows, and precipitation, enabling farmers to make informed decisions
about irrigation, drainage, and crop management.
6. Remote or Inaccessible Areas: Remote or inaccessible regions with limited
infrastructure may lack traditional flood monitoring systems. FMS with IoT
technology can be deployed in these areas to provide real-time data on water levels and
flood conditions, improving disaster preparedness and response efforts.
7. Developing Countries: Developing countries often face challenges in managing
flood risk due to limited resources and infrastructure. FMS can be implemented in
these regions to enhance early warning systems, support disaster management
CHAPTER 8
22
Choose appropriate water level sensors (such as ultrasonic sensors or pressure
transducers) and microcontroller boards (such as Arduino or Raspberry Pi).
Connect the water level sensors to the microcontroller boards and ensure proper
wiring and connections.
Add additional components like LEDs for visual alerts and a buzzer for audible
alerts.
8.2 Software Development:
Write firmware or software code for the microcontroller boards to read data from
the water level sensors.
Implement algorithms to calculate water levels based on sensor readings and
determine overflow conditions.
Add logic to trigger visual and audible alerts (such as LED blinking and buzzer
activation) when overflow is detected.
Integrate with IoT platforms like ThingSpeak for data logging, visualization, and
remote monitoring.
Code:
[3:19 pm, 30/3/2024] Deep Patil: #include "ThingSpeak.h"
#include <ESP8266WiFi.h>
#define redled D3
#define grnled D4
23
unsigned long currentMillis;
WiFiClient client;
long duration1;
int distance1;
void setup()
pinMode(trigPin1, OUTPUT);
pinMode(echoPin1, INPUT);
pinMode(redled, OUTPUT);
pinMode(grnled, OUTPUT);
digitalWrite(redled, LOW);
digitalWrite(grnled, LOW);
Serial.begin(115200);
WiFi.begin(ssid, pass);
delay(500);
Serial.print(".");
Serial.println("WiFi connected");
Serial.println(WiFi.localIP());
ThingSpeak.begin(client);
24
void loop()
digitalWrite(trigPin1, LOW);
delayMicroseconds(2);
digitalWrite(trigPin1, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin1, LOW);
Serial.println(distance1);
if (distance1 <= 4)
digitalWrite(D3, HIGH);
tone(BUZZER, 300);
digitalWrite(D4, LOW);
delay(1500);
noTone(BUZZER);
else
digitalWrite(D4, HIGH);
digitalWrite(D3, LOW);
currentMillis = millis();
25
ThingSpeak.setField(1, distance1);
ThingSpeak.writeFields(ch_no, write_api);
startMillis = currentMillis;
[5:58 pm, 30/3/2024] Jontya Raj gaikwad Ytiet, 5050: 099236 79014
CHAPTER 9
26
SYSTEM ANALYSIS
1.Sensor Deployment:
•Flood monitoring systems utilize various types of sensors to measure parameters such as
water level, rainfall intensity, and weather conditions.
•Sensors are strategically deployed in flood-prone areas, including rivers, streams, coastal
regions, and urban drainage systems.
2.Data Collection:
•Sensors continuously collect data on relevant environmental parameters, such as water level
readings from river gauges or rainfall measurements from rain gauges.
•Data collected by the sensors are transmitted to a central monitoring station or a cloud-based
platform for processing and analysis.
•At the monitoring station or cloud platform, collected data undergoes processing and
analysis to identify trends, patterns, and anomalies indicative of potential flood events.
•Advanced algorithms may be employed to analyze historical data, predict flood risks, and
issue early warnings.
•Based on the analysis of collected data, the flood monitoring system may trigger early
warning alerts when certain thresholds are exceeded.
•Alerts may be issued through SMS, email, sirens, mobile applications, or other
communication channels, depending on the capabilities of the system and the preferences of
end-users.
•Response actions may include evacuations, deployment of rescue teams, activation of flood
control infrastructure (e.g., flood barriers), and dissemination of safety information to
affected communities.
CHAPTER 10
CONCLUSION
28
An IoT-based Flood Monitoring System integrated with ThingSpeak provides an effective
solution for monitoring water levels and issuing overflow alerts in flood-prone areas. By
leveraging IoT technology and cloud-based platforms, the system enhances disaster
preparedness, facilitates timely response, and promotes community resilience to flooding
events. Investing in such systems is essential for protecting lives, property, and infrastructure
in vulnerable regions.
29
CHAPTER 11
REFERENCE
flood monitoring system is an integrated network of sensors, data processing tools, and
communication channels designed to detect, monitor, and respond to flood events in real-
time. It collects data on water levels, rainfall, and other relevant parameters, analyzes this
data to identify flood risks, and issues early warning alerts to stakeholders. By providing
timely information and enabling proactive measures, flood monitoring systems help mitigate
the impacts of floods, protect lives, and minimize damage to property and
infrastructure."Flood Monitoring and Early Warning Systems: A Review of Methods and
Technologies" by Seonki Park et al. (2018) - This paper provides a comprehensive review of
different methods and technologies used in flood monitoring and early warning systems.
"Remote Sensing and GIS-Based Flood Monitoring System" by S.S. Vutukuru et al. (2019) -
This paper discusses the use of remote sensing and GIS technologies for flood monitoring.
https://iotprojectsideas.com/iot-based-flood-monitoring-system-using-nodemcu-thingspeak
30
31