GroupI WaterLevelIndicator
GroupI WaterLevelIndicator
net/publication/367163151
CITATIONS READS
0 6,564
3 authors, including:
All content following this page was uploaded by Ahad Hossain Shuvo on 15 January 2023.
Prepared By (Group- I ):
Serial No. Name ID
1 Farhan Ishrak 11909009
2 Tasrina Parvin 11909014
3 Ahad Hossain 11909022
4 Sumaiya Jafrin 11909027
5 Tasmiara Jahan Toma 11909048
Submission Date: / /
1
ABSTRACT
2
INDEX
1 Introduction 4
2 Literature review 4
3 Apparatus 5
4 Block diagram 5
5 Methodology 6
6 Code 16
7 Output 19
8 Conclusion 19
9 Reference 20
3
INTRODUCTION
Water tanks are used as the primary source of water supply in today's
homes and structures. And, given our modern technology, it's not
unexpected that these water tanks include built-in water level gauges.
Others, particularly those who had their own water tanks built long ago
without built-in water level monitors, are not so fortunate. Filling tanks
with water wastes a lot of water because it takes time and you can't
always detect if the tank is full, therefore some people abandon the
process and fail to turn off the water supply when the tank is full,
wasting a lot of water and energy. The goal of this project is to raise the
water level.
LITERATURE REVIEW
4
APPARATUS
BLOCK DIAGRAM
5
METHODOLOGY
Resistor:
6
among other things, it's used to terminate transmission cables.
Resistors with a lot of power many watts of electrical power are
dissipated as heat, and they can be employed as part of a motor.
Controllers, power distribution systems, or as generator test loads.
Transistor:
7
Jumper wire:
Buzzer:
8
Breadboard:
Engineers utilize breadboards to test the many items that they create.
9
9V battery:
Use a 9v battery with your arduino projects to provide a higher-
current power supply for things like motors. You can also feed 9v
power into your arduino‟s dc barrel jack using 9v battery clip with a
jack to get a regulated 5v from the internal regulator.
Buy a 9v battery from amazon, sparkfun, adafruit, or newark.
10
LED:
A typical 5mm led has a forward voltage drop of 2 volts and a
forward current of 20 mill amperes. When connecting a led to your
Arduino, don't forget to use a current-limiting resistor!
LEDs are available from Amazon, Sparkfun, Adafruit, and Newark.
The sensor has a series of ten exposed copper traces, five of which are
power traces and five are sense traces.
These traces are interlaced so that there is one sense trace between
every two power traces.
Usually these traces are not connected but are bridged by water when
submerged.
11
There’s a Power LED on the board which will light up when the
board is powered.
12
The resistance is inversely proportional to the height of the water:
The less water the sensor is immersed in, results in poor conductivity
and will result in a higher resistance.
The water level sensor is super easy to use and only has 3 pins to
connect.
13
S (Signal) pin is an analog output that will be connected to one of the
analog inputs on your Arduino.
14
LCD display module:
The term LCD stands for liquid crystal display. It is one kind of
electronic display module used in an extensive range of applications
like various circuits & devices like mobile phones, calculators,
computers, TV sets, etc. These displays are mainly preferred for
multi-segment light-emitting diodes and seven segments. The main
benefits of using this module are inexpensive; simply programmable,
animations, and there are no limitations for displaying custom
characters, special and even animations, etc.
I2C Module
15
CODE
Arduino programming
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup()
{
Serial.begin(9600);
lcd.init();
lcd.backlight();
pinMode(Red, OUTPUT);
pinMode(Green, OUTPUT);
pinMode(Blue, OUTPUT);
pinMode(buzzer, OUTPUT);
}
void R()
{
digitalWrite(Red, HIGH);
16
digitalWrite(Green, LOW);
digitalWrite(Blue, LOW);
}
void G()
{
digitalWrite(Red, LOW);
digitalWrite(Green, HIGH);
digitalWrite(Blue, LOW);
}
void B()
{
digitalWrite(Red, LOW);
digitalWrite(Green, LOW);
digitalWrite(Blue, HIGH);
}
void loop()
{
int value = analogRead(A0);
lcd.setCursor(0, 0);
lcd.print("Value :");
lcd.print(value);
lcd.print(" ");
Serial.println(value);
lcd.setCursor(0, 1);
lcd.print("W Level :");
17
if (value == 0)
{
digitalWrite(buzzer, LOW);
lcd.print("Empty ");
R();
} else if (value > 1 && value < 350)
{
digitalWrite(buzzer, LOW);
R();
lcd.print("LOW ");
} else if (value > 350 && value < 450)
{
digitalWrite(buzzer, LOW);
B();
lcd.print("Medium");
} else if (value > 450)
{
digitalWrite(buzzer, HIGH);
G();
lcd.print("HIGH ");
}
}
18
Output
CONCLUSION
(Software). The possibilities for new Arduino projects are infinite. The
potentials for
19
Although it has its own limitations, it is an excellent tool for learning.
REFERENCE
20