water level control project ppt

24
WATER LEVEL DETECTION AND AUTOMATIC PUMP CONTROL BY CHINMOY KUMAR GSHOH B P PODDAR INSTITUTE OF MANAGEMENT AND TECHNOLOGY

Upload: chinmoy-ghosh

Post on 12-Jan-2017

1.239 views

Category:

Technology


115 download

TRANSCRIPT

Page 1: Water level control project ppt

WATER LEVEL DETECTION AND AUTOMATIC PUMP

CONTROL BY CHINMOY KUMAR GSHOH B P PODDAR INSTITUTE OF MANAGEMENT AND TECHNOLOGY

Page 2: Water level control project ppt

INTRODUCTIONAutomatic water pump controller is a series of

functions to control the Automatic Water Pump Controller Circuit in a reservoir or water storage.

The water level sensor is made with a metal plate mounted on the reservoir or water tank.

With a sensor in the short to create the top level and a detection sensor for detecting long again made for the lower level.

And ground lines connected to the bottom of reservoirs.

Page 3: Water level control project ppt

RELATED WORKSKhaled Reza el al., (2010) introduced the notion

of water level monitoring and management within the context of electrical conductivity of the water.

The authors motivated by the technological affordances of mobile devices and the believe that water level management approach would help in reducing the home power consumption and as well as water overflow.

The research result was a flexible, economical and easy configurable system designed on a low cost PIC16F84A microcontroller to determine and senses water level globally.

Page 4: Water level control project ppt

MATERIALS There are some objectives need to be achieved in order to

accomplish this project. ARDUINO ULTARSONIC SENSOR WATER PUMP PCB BOARD SOLDERING RELAY TRANSISTOR 2N2222 RESISTOR CAPACITOR SWITCH LED WIRE FEMALE-HEADER MALE-HEADER BUZZER 16 X 2 LCD

Page 5: Water level control project ppt

BLOCK DIAGRAM & FLOWCHART

Page 6: Water level control project ppt
Page 7: Water level control project ppt

HARDWARE DESIGN

The system performs the sensing level and control activities without the manual observation and attention in the site. Being an automatic system unavailing manpower and providing information for long period of time. The automatic water level control system has the following main components

Page 8: Water level control project ppt

SENSOR UNIT

The sensor assembly consists of four aluminum wires arranged at 1/4, 1/2, 3/4 and full levels in the tank. The dry ends of these wires are connected to analog input pins A1, A2, A3 and A4 of the Arduino respectively. A fifth wire is positioned at the bottom of the tank.

Page 9: Water level control project ppt

CONTROL UNIT

The basic operation of control unit is the controlling water pump by arduino which is programmed by particular program. Water pump are connected with an output pin of arduino via a relay circuit which is connected with a transistor.

Page 10: Water level control project ppt

BUZZER

It is an electronic used to give alarm sound as it is programmed

Page 11: Water level control project ppt

LIQUID CRYSTAL DISPLAY (LCD) LCD (Liquid Crystal Display) screen is an

electronic display module and find a wide range of applications. A 16x2 LCD display is very basic module and is very commonly used in various devices and circuits.

A 16X2 LCD means it can display 16 characters per line and there are 2 such lines. In this LCD each character is displayed in 5x7 pixel matrix. This LCD has two registers, namely, Command and Data.

The command register stores the command instructions given to the LCD. A command is an instruction given to LCD to do a predefined task.

Page 12: Water level control project ppt

PIN DIAGRAM & DESCRIPTION

Page 13: Water level control project ppt

PIN NO.

FUNCTION NAME

1 Ground (0V) Ground2 Supply voltage; 5V (4.7V – 5.3V) Vcc3 Contrast adjustment; through a variable

resistorVEE

4 Selects command register when low; and data register when high

Register Select

5 Low to write to the register; High to read from the register

Read/write

6 Sends data to data pins when a high to low pulse is given

Enable

7

8-bit data pins

DB08 DB19 DB210 DB311 DB412 DB513 DB614 DB715 Backlight VCC (5V) LED+16 Backlight Ground (0V) LED-

Page 14: Water level control project ppt

SIMULATION Using PROTEUS software, now it is possible to

draw a complete circuit for a arduino based system and then tests it.

With PCB layout the software now also offering automatic of both component placement and track routing, getting the design into the computer can often be the most time consuming element of the exercise.

So when we simulate our program which had written in arduino C language, and as we wrote before that will show the water level on the LCD and will turn - on and off- the pump unit according to this value

Page 15: Water level control project ppt

USING PROTEUS SOFTWARE

Page 16: Water level control project ppt

ARDUINO NANO CHIP

Page 17: Water level control project ppt

MOTOR

Page 18: Water level control project ppt

CODING#include<LiquidCrystal.h> // include the library code for lcdLiquidCrystal lcd(12, 11, 5, 4, 3, 2); // #define echopin 9 // echo pin#define trigpin 8 // Trigger pinint maximumRange = 50;long duration, distance;void setup() { lcd.begin(16,2); Serial.begin (9600); pinMode (trigpin, OUTPUT); pinMode (echopin, INPUT ); pinMode (7, OUTPUT);// buzzer pinMode (10,OUTPUT);// pump

}

Page 19: Water level control project ppt

void loop (){ { digitalWrite(trigpin,LOW); delayMicroseconds(2); digitalWrite(trigpin,HIGH); delayMicroseconds(10); duration=pulseIn (echopin,HIGH); distance = ((duration/2) / 29.1); delay (50); Serial.println(distance); lcd.clear(); lcd.setCursor(0,0); lcd.print("level in cm :"); lcd.print(distance); delay(100); }

Page 20: Water level control project ppt

if (distance >= 15 ) { digitalWrite (10,HIGH);// Pump lcd.setCursor(0,1); lcd.print( "Tank Empty"); delay(100); } if (distance <13 && distance > 11 ) { lcd.setCursor(0,1); lcd.print( "1/4 th "); delay(100); }if (distance <10 && distance >9) { lcd.setCursor(0,1); lcd.print("1/2 th"); delay(100); }

Page 21: Water level control project ppt

if (distance <7 && distance > 5 ) { lcd.setCursor(0,1); lcd.print( "3/4 th "); delay(100); } if (distance <= 3 ) { lcd.setCursor(0,1); lcd.print( "TANK FULL"); delay(100); digitalWrite(10,LOW); // pump digitalWrite (7,HIGH); // buzzer delay(5000); digitalWrite (7,LOW);}

Page 22: Water level control project ppt

OUTPUT

Page 23: Water level control project ppt

CONCLUSION

This project involved designing and development of automatic water level control system had exposed to the better way of software and hardware architecture that blends together for the interfacing purposes. The system employs the use of advance sensing technology to detect the water level.

Page 24: Water level control project ppt