Abstract:-
Floods are a constant threat throughout the year to the United Stated and its territories like Puerto Rico. Although there are various methods of alerts available; such as the Emergency Broadcast System or sirens, none of these can alert a user remotely in an efficient and timely manner. The design goal of this project is to provide time system able to monitor sudden floods in parking lots, addressing the concern of water damage to vehicles; creating a personal opt-in alert that could reach an end user through their mobile phone. In this case,the system defines two types of nodes: Sensing and Sink. Each sensing node uses a hydro static pressure sensor to monitor the water levels; it will then communicate with neighboring nodes via XBee radios until the data reaches the sink node. The sink node is then responsible for sending the received data from the sensors to a remote server via mobile communications network (GSM). An up to date database of users and flood levels will then be processed and handled by the server, which will send users an email alert that will reach any mobile phone as a text message (SMS).
This project is mainly based on alerting and taking prevention about floods in near-by parking lots and surrounding area.
SYSTEM REQUIREMENTS
Hardware Requirement
Microcontroller(Ardunio / Raspberrypi / node mcu) , Temperature Sensor, Humidity Sensor , Pressure Sensor, Ultrasonic Sensor, GPS, GSM
SOFTWARE REQUIREMENTS
Arduino / Python
Below is the code to define the pin numbers to the variables and library declaration for ESP8266 for connecting to wifi.
#include
//******************************************************//
int REDled = 12;
int GREENled = 2;
int YELLOWled = 13;
int GAS = 15;
//*****************************************************//
const int trigPin = 5;
const int echoPin = 4;
//*****************************************************//
Below code is to check the pin mode whether the sensor or actuators are input or output to the microcontroller. And microcontroller will connect to the derived wifi that is defined by using ssid and password .
void setup()
{
delay(1000);
pinMode(REDled, OUTPUT);
pinMode(GREENled, OUTPUT);
pinMode(YELLOWled, OUTPUT);
digitalWrite(GREENled,LOW);
digitalWrite(REDled,LOW);
digitalWrite(YELLOWled,LOW);
Serial.println();
Serial.println("FLOOD MONITORING SYSTEM");
Serial.println(ssid);
int n = WiFi.scanNetworks();
Serial.println("scan done");
SYSTEM REQUIREMENTS
Hardware Requirement
Microcontroller(Ardunio / Raspberrypi / node mcu) , Temperature Sensor, Humidity Sensor , Pressure Sensor, Ultrasonic Sensor, GPS, GSM
SOFTWARE REQUIREMENTS
Arduino / Python
Below is the code to define the pin numbers to the variables and library declaration for ESP8266 for connecting to wifi.
#include
//******************************************************//
int REDled = 12;
int GREENled = 2;
int YELLOWled = 13;
int GAS = 15;
//*****************************************************//
const int trigPin = 5;
const int echoPin = 4;
//*****************************************************//
Below code is to check the pin mode whether the sensor or actuators are input or output to the microcontroller. And microcontroller will connect to the derived wifi that is defined by using ssid and password .
void setup()
{
delay(1000);
pinMode(REDled, OUTPUT);
pinMode(GREENled, OUTPUT);
pinMode(YELLOWled, OUTPUT);
digitalWrite(GREENled,LOW);
digitalWrite(REDled,LOW);
digitalWrite(YELLOWled,LOW);
Serial.println();
Serial.println("FLOOD MONITORING SYSTEM");
Serial.println(ssid);
int n = WiFi.scanNetworks();
Serial.println("scan done");

No comments:
Post a Comment