CPSC_5207EL_01_2025SP Internet of Things
Term Project Presentation
Team 09
Design and Automate a Water-Tank Level Controller for
Laurentian University’s Fraser Building using Tinker cad.
Presented by
Deboprio Mani Haris Najeeb Moumita Nag
Student ID: 0445124 Student ID: 0463770 Student ID: 0446981
Overview
• Introduction 01
• System Architecture 02
• Project’s tech-stack Project Objectives 03
• Entity-Relationship (ER) diagrams 04
• DFDs’ (units/modules) integration in the project. 05
• Software Development 06
• Results 07
• Drawbacks 10
• Reference Table 12
Introduction
In today’s digital era, the water crisis remains a significant
challenge for communities worldwide. The Water Tank Level
Controller project is designed to enhance water management
efficiency within Laurentian University’s Fraser Building. This
initiative seeks to minimize water wastage and reduce the need
for manual intervention by automatically regulating the water
pump based on real-time tank level measurements. Leveraging
Arduino technology, ultrasonic sensors, and TinkerCad
simulations for design and validation, the system offers
substantial benefits, including improved water conservation, 01
enhanced energy efficiency, and cost savings.
System Architecture
• Ultrasonic sensors measure water levels
• Arduino controls pump, buzzer, and LEDs
• Automatic ON/OFF operation of pump
• Aims to save water, energy, and reduce manual effort
02
Many more..
Project’s tech-stack Project Objectives
Hardware:
Arduino UNO (ATmega328)
Ultrasonic Sensors
Piezo Buzzer
DC Motor
LEDs
Connecting Wires
Software:
Arduino IDE (C/C++)
Tinkercad Simulation
03
ER Diagram
04
Data Flow
Diagram
05
Software Development
06
Project Circuit View
07
// C++ code
//
int Waterlevel = 0;
long readUltrasonicDistance(int triggerPin, int echoPin)
{
pinMode(triggerPin, OUTPUT); // Clear the trigger
Code Overview:
digitalWrite(triggerPin, LOW);
delayMicroseconds(2);
// Sets the trigger pin to HIGH state for 10 microseconds
digitalWrite(triggerPin, HIGH);
delayMicroseconds(10);
digitalWrite(triggerPin, LOW);
pinMode(echoPin, INPUT);
// Reads the echo pin, and returns the sound wave travel time in microseconds
return pulseIn(echoPin, HIGH);
}
void setup()
{
[Link](9600);
pinMode(8, OUTPUT);
pinMode(10, OUTPUT);
pinMode(6, OUTPUT);
pinMode(2, OUTPUT);
}
void loop()
{
Waterlevel = 0.01723 * readUltrasonicDistance(4, 3);
[Link](Waterlevel);
if (Waterlevel > 200){
08
Code Overview:
Water level goes down to 200 then it means the water tank is empty and buzzer
start
buzzing and motor start working to fill the tank.
digitalWrite(8, HIGH);
digitalWrite(10, LOW);
digitalWrite(6, HIGH);
digitalWrite(2, HIGH);
}
if (Waterpump == 120) {
When water level reaches the 120 then it means the water tank is filled and
buzzer
start buzzing again and motor stopped working.
digitalWrite(8, HIGH);
digitalWrite(10, HIGH);
digitalWrite(6, LOW);
digitalWrite(2, LOW);
}
digitalWrite(6, LOW);
delay(10);
// Delay a little bit to improve simulation performance
09
Limitations/Drawback
As it consists servo and dc motor so it requires high power supply. If the water
level is not constant then it might not show exact water level in tank.
Future Enhancement
The automatic water level controller has a great future scope. In order to
regulate the water's acidity or alkalinity, pH sensors may be added to the
Arduino project's automated water level meter and controller. Also, we can add
WIFI module and water level controller can be controlled by mobile
application.
10
Conclusion
Our goal is to conserve water and power with this project. Natural resource
conservation is crucial. To get over this problem, this project can detect and show
the tank's water level. When it reaches a certain level, the pump or tap will switch
on or off, saving power and water. Thus, the Arduino project for a water level
monitor and controller might be quite beneficial in reducing the amount of
manpower needed. Its application is not limited and can be used in industrial and
agricultural purpose as well..
11
Reference Table
1.P. V. Kulkarni and M. S. Joshi, “An IOT based water supply monitoring and controlling system,” Int. J.
Res. Sci. Eng. Technol., vol. 5, no. 9, pp. 16152–16157, 2016.
2.D. A. Aziz, “Webserver Based Smart Monitoring System Using ESP8266 Node MCU Module,” Int. J. Sci.
Eng. Res., vol. 9, no. 6, pp. 801–808, 2018.
3.J. Sheng, “Real Time DC Water Tank Level Control using Arduino Mega 2560,” IEEE Int. Symp. Ind.
Electron., vol. 2019-June, pp. 635– 640, 2019.
12
Any Questions?
Thank You