This is an old revision of the document!


Flood Detecton System

Alexandru Ionascu - AAC 2021

1. Project Objective

This project aims to create a system that notifies owner on his smartphone about a possible flood via push notifications. This will be achieved by measuring the distance from the floor to the ultrasonic sound sensor and if it's less than 2 centimeters, it will trigger a push notification by sending a POST request to the Pushover API.

2. Project Description

#TODO

3. Hardware Description

The hardware has two main components:

  • ESP32 Board
    • The ESP32 Board controls the entire system. It establishes the Wi-Fi connection, it measures the water level based on the input received form the ultrasonic sensor and performs HTTP POST request if floor level is closer than 2cm.

 ESP32 Wroom Board

  • HC-SR04 Ultrasonic Sensor
    • The module is used to measure the distance from the sensor to the floor which helps the ESP32 Board to decide if the floor level has raised depending on the water lever.
    • The concept behind the ultrasonic sensor is the following: by sending out a sound wave at a frequency above the range of human hearing, the transducer of the sensor acts as a microphone to receive and send the ultrasonic sound. The sensor determines the distance to a target by measuring time lapses between the sending and receiving of the ultrasonic pulse. It sends an ultrasonic pulse out at 40kHz which travels through the air and if there is an obstacle or object, it will bounce back to the sensor. By calculating the travel time and the speed of sound, the distance can be calculated.
    • The trigger signal is linked to the digital GPIO 5, the echo signal is linked to the GPIO 18, the VCC signal is linked to 5V and the ground signal is linked to GND.

 HC-SR04 Ultrasonic Distance Sensor

4. Software Description

#TODO

5. Issues and Solutions

#TODO

6.Conclusions

#TODO

iothings/proiecte/2021/flood-detection.1643318985.txt.gz · Last modified: 2022/01/27 23:29 by alexandru.ionascu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0