TABLE OF CONTENTS
CHAPTER CONTENTS PAGE NO.
1. Introduction
2. Aim
3. Apparatus
3.1. Introduction to ARDUINO
3.2. Introduction to Ultra Sonic Sensor
4. Block diagram
5. Connections
6. Code Processing
7. Working
8. Result
9. Conclusion
CHAPTER-1
INTRODUCTION:
Our aspiration came from saving of water which is more important now a day. We mostly
forget about turning off the motor which results wastage of water. To avoid this we made a Water
Level Control System which is completely automated. This will turn ON the motor when the water
level is below predefined lower water level. And the motor is turned OFF when the tank is filled. By
doing water management at the individual level we can save plenty of water and could get rid of the
water crisis.
The facility requirements in many industries, farms, hostels, hotels, offices include an
overhead tank for water, which is usually fed through an electric pump that is switched off when the
tank is filled up and switched on when it is empty. So, the most common way of knowing when the
tank is filled is by observing when it overflows the brim. Depending on the type of liquid being
handled, overfilling of such a tank could lead to a great liquid material losses ranging in the order of
thousands of naira per week depending on the extent of such application. These losses can be
prevented if the tank is monitored automatically by incorporating a feedback.
Water level indicator using ultrasonic sensor & arduino is an amazing and very useful
project. The objective of this project is to notify the user the amount of water that is present in the
overhead water tank. This project can be further enhanced to control the water level in the tank by
turning it on, when the water level is low, and turning it off when the water level is high. Thus, the
arduino water level indicator helps in preventing wastage of water in overhead tank.
A transmitter circuit and a receiver circuit, the transmitter circuit makes use of an ultrasonic
sensor to measure the water level in terms of distance. This data is sent to the receiver circuit using
RF communication.
CHAPTER-2
AIM:
The embodiment of the Water Level Control System to notify the user the amount of water
that is present in the overhead water tank and don’t waste water.
CHAPTER-3
APPARATUS:
The apparatus used in this project are:
Arduino Uno R3
Ultrasonic Sensor
16X2 LCD Display
Relay
Jumper wires
LED
Resistor
Switch
Push Button
9v Battery
Bread Board
3.1 Introduction to ARDUINO:
looking at the board from the top down, this is an outline of what you will see (parts of the
board you might interact with in the course of normal use are highlighted):
Starting clockwise from the top centre:
analog reference pin (orange)
digital ground (light green)
digital pins 2-13 (green)
digital pins 0-1/serial in/out - tx/rx (dark green) - these pins cannot be used for digital i/o
(digitalread and digitalwrite) if you are also using serial communication (e.g. [Link]).
reset button - s1 (dark blue) xi
in-circuit serial programmer (blue-green)
analog in pins 0-5 (light blue)
power and ground pins (power: orange, grounds: light orange)
external power supply in (9-12vdc) - x1 (pink)
toggles external power and usb power (place jumper on two pins closest to desired supply)
- sv1 (purple)
usb (used for uploading sketches to the board and for serial communication between the
board and the computer; can be used to power the board) (yellow)
DIGITAL PINS:-
in addition to the specific functions listed below, the digital pins on an arduino
board can be used for general purpose input and output via the pinmode(), digitalread(),and
digitalwrite() comm ands. each pin has an internal pull-up resistor which can be turned on and off
using digitalwrite() (w/ a value of high or low, respectively) when the pin is configured as an input.
the maximum current per pin is 40 ma.
serial: 0 (rx) and 1 (tx). used to receive (rx) and transmit (tx) ttl serial data. on the arduino
diecimila, these pins are connected to the corresponding pins of the ftdi usb-to-ttl serial
chip. on the arduino bt, they are connected to the corresponding pins of the wt11 bluetooth
module. on the arduino mini and lilypad arduino, they are intended for use with an external
ttl serial module (e.g. the mini-usb adapter).
external interrupts: 2 and 3. these pins can be configured to trigger an interrupt on a low
value, a rising or falling edge, or a change in value. see the attachinterrupt() function for
details.
pwm: 3, 5, 6, 9, 10, and 11. provide 8-bit pwm output with the analogwrite() function. on
boards with an atmega8, pwm output is available only on pins 9, 10, and 11.
bt reset: 7. (arduino bt-only) connected to the reset line of the bluetooth module.
spi: 10 (ss), 11 (mosi), 12 (miso), 13 (sck). these pins support spi communication, which,
although provided by the underlying hardware, is not currently included in the arduino
language.
led: 13. on the diecimila and lilypad, there is a built-in led connected to digital pin 13. when
the pin is high value, the led is on, when the pin is low, it's off.
ANALOG PINS:-
in addition to the specific functions listed below, the analog input pins support 10-
bit analogto-digital conversion (adc) using the analogread() function. most of the analog inputs can
also be used as digital pins: analog input 0 as digital pin 14 through analog input 5 as digital pin 19.
analog inputs 6 and 7 (present on the mini and bt) cannot be used as digital pins.
I2 c: 4 (sda) and 5 (scl). support i2 c (twi) communication using the wire library
(documentation on the wiring website).
POWER PINS:-
vin (sometimes labelled "9v"). the input voltage to the arduino board when it's using an external
power source (as opposed to 5 volts from the usb connection or other regulated power source). you
can supply voltage through this pin, or, if supplying voltage via the power jack, access it through this
pin. note that different boards accept different input voltages ranges, please see the documentation
for your board. also note that the lilypad has no vin pin and accepts only a regulated input.
5v. the regulated power supply used to power the microcontroller and other components on the
board. this can come either from vin via an on-board regulator, or be supplied by usb or another
regulated 5v supply.
3v3. (diecimila-only) a 3.3 volt supply generated by the on-board ftdi chip.
gnd. ground pins.
OTHER PINS:-
aref. reference voltage for the analog inputs. not currently supported by the arduino software.
reset. (diecimila-only) bring this line low to reset the microcontroller. typically used to add a reset
button to shields which block the one on the board.
ARDUINO UNO (R3)
the uno is a great choice for your first arduino. it's got everything you need to get started, and
nothing you don't. it has 14 digital input/output pins (of which 6 can be used as pwm outputs), 6
analog inputs, a usb connection, a power jack, a reset button and more. it contains everything needed
to support the microcontroller; simply connect it to a computer with a usb cable or power it with a
ac-to-dc adapter or battery to get started.
CHAPTER-4
BLOCK DIAGRAM:
CHAPTER-5
CONNECTIONS:
CHAPTER-6
CODE PROCESING:
CHAPTER-7
WORKING:
CHAPTER-8
RESULT:
CHAPTER-9
CONCLUSION: