top of page

Flood Detection Warning System Prototype

This is a prototype of a flood detection warning system that notifies its users of rising water levels. At the press of a button, water starts pumping into a primary cup. When the water sensor is touched, another water pump activates to counter the flooding. Meanwhile, a Wi-Fi connection is made, allowing an emergency e-mail to be sent to the user. The goal is to help owners of real estate to initiate an early response to potential water damages on their property.

Won 3rd Place at CCSC Midwest 2024!

Date: September 2024

Role: Sole Creator

Technologies Used: Arduino | C++ Variant

Prototype Preview

Project Description

Circuit Design

Wiring Schema

The Arduino Uno R4 WiFi is a board used to store code and operate the connected devices. This board has a LED matrix to display animations, and a built-in Wi-Fi module.

The water pumps used to pump water in and out of the primary cup are connected to the Arduino via a breadboard and NPN transistors. The transistors are connected to a ground pin on the Arduino and a respective digital pin to open and close the ground connection.

The water-level sensor's signal pin is connected directly to an analog pin to relay moisture values. The power is connected directly to a digital pin to turn the sensor on and off. Wi-Fi is built into the Arduino, allowing me to only worry about coding the connection.

Code Design

Before the demo can begin, the arduino sets up the warning e-mail and connects to the Wi-Fi. Afterwards, water starts pumping into the primary cup to simulate flooding.

Once the water sensor detects the water, countermeasures activate and the warning e-mail gets sent. This pauses the rest of the code and immediately disconnects from Wi-Fi afterwards. Then the demo transports all the water back into the secondary water holder, waiting for the demo to be activated again.

Showcasing at a Conference

In September 2024, I showcased this project and got 3rd place at CCSC Midwest in Grand Rapids, Michigan in the Student Showcase! The prototype thus far was designed for the showcase experience, where you could press a single button and the entire demonstration would perform by itself. It was a valuable experience where I got a lot of advice on potential paths the project could continue on!

© 2025 by Carter Meyer

bottom of page