Flood Management and Control Using GSM

Embed Size (px)

Citation preview

  • 8/8/2019 Flood Management and Control Using GSM

    1/13

    ABHIJEET JADHAV

    KARTHIK MADANGOPALARPIT SANCHETI

    RAKESH BHARADWAJ

  • 8/8/2019 Flood Management and Control Using GSM

    2/13

    BLOCK DIAGRAM:

  • 8/8/2019 Flood Management and Control Using GSM

    3/13

    BLOCK DIAGRAM CONSISTS OF:

    Water level sensor

    Infrared Sensor

    Microcontroller

    Motor Driver circuit

    LCD display

    Hooter

    GSM Modem Interface

  • 8/8/2019 Flood Management and Control Using GSM

    4/13

    WATER LEVEL SENSOR:

    Here's an extremely simple water level sensor which will sense thelevel of flood that keeps the water level between two predefinedlevel. Due to the high input impedance of the LM311 IC (U1),practically no electrolysis of the metal is observed, and any non-

    toxic metal could successfully be used as sensors without anydeterioration.

    The LM311 was chosen for this circuit because it contains a built-in npn transistor at the output. The user sets the inverting input,which is kept at a voltage level determined by the voltage divider.

    The non-inverting input is connected to sensor B for lower-leveldetection of the water.

  • 8/8/2019 Flood Management and Control Using GSM

    5/13

    This circuit uses an infrared (IR) beam system which transmits theinfrared signal that is of 38 to 40 KHz signal. When interrupted byany device it will sound an alarm and simultaneously it will begiven to the microcontroller for further processing.

    When the beam is broken a relay is tripped which can be used tosound a bell or alarm.

    The IR beam is very strong. Distances over 25 yards (8 to10meters) can be monitored. A 12VDC unregulated supply is required

    to power the kit. Infrared (IR) radiation is electromagnetic radiation of a wavelength

    longer than that of visible light, but shorter than that of

    microwaves.

    INFRARED SENSOR :

  • 8/8/2019 Flood Management and Control Using GSM

    6/13

    MICROCONTROLLER:-

    The AT89S52 is a low-power, high-performance CMOS 8-bit

    microcontroller with 8K bytes of in-system programmable Flash memory.The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer.

    By combining a versatile 8-bit CPU with in-system programmable Flashon a monolithic chip, the Atmel AT89S52 is a powerful microcontrollerwhich provides a highly-flexible and cost-effective solution to manyembedded control applications.

    AT89S52 is designed with static logic for operation down to zerofrequency and supports two software selectable power saving modes:

    1. The Idle Mode: It stops the CPU while allowing the RAM,timer/counters, serial port, and interrupt system to continue functioning.

    2. The Power-down mode: It saves the RAM contents but freezes theoscillator, disabling all other chip functions until the next interrupt orhardware reset

  • 8/8/2019 Flood Management and Control Using GSM

    7/13

    FEATURES:

    Compatible with MCS-51 Products

    8K Bytes of In-System Programmable (ISP) Flash Memory

    Endurance: 1000 Write/Erase Cycles

    4.0V to 5.5V Operating Range Fully Static Operation: 0 Hz to 33 MHz

    Three-level Program Memory Lock

    256 x 8-bit Internal RAM

    32 Programmable I/O Lines

    Three 16-bit Timer/Counters

    Eight Interrupt Sources

    Full Duplex UART Serial Channel

    Low-power Idle and Power-down Modes

    Interrupt Recovery from Power-down Mode

    Watchdog Timer

    Dual Data Pointer

    Power-off Flag

    MICROCONTROLLER:

  • 8/8/2019 Flood Management and Control Using GSM

    8/13

    MOTOR DRIVER:

    The Device is a monolithic integrated high voltage, high currentfour channel driver designed to accept standard DTL or TTL logiclevels and driven inductive loads (such as relays, DC and steppingmotors) and switching power transistors.

    A separate supply input is provided for the logic, allowingoperation at a lower voltage and internal clamp diodes areincluded.

    This device is suitable for use in switching applications atfrequencies up to 5 kHz. The L293DD is assembled in a 20 leadsurface mount which has 8 center pins connected together andused for heat sinking.

  • 8/8/2019 Flood Management and Control Using GSM

    9/13

    LCD:

    LCD is used to indicate the blockage in pipe by displaying thenumber of pipe which is predefined.

    We are using 2x16 Serial LCD Display Module.

    It will also display the flood chances in the area.

  • 8/8/2019 Flood Management and Control Using GSM

    10/13

    BUZZER:

    The word "buzzer" comes from the rasping noise that buzzersmade when they were electromechanical devices, operated fromstepped-down AC line voltage at 50 or 60 cycles.

    Buzzer or beeper is a signaling device, usually electronic, typicallyused in automobiles, household appliances such as a microwaveoven, or game shows.

  • 8/8/2019 Flood Management and Control Using GSM

    11/13

    GSM modem is interfaced using max232. This modem helps us to sendsms to the control room which would make the squad aware about thefloods and blockages.

    Now that we have the 8 bit value in the 89S52, we want to send thatvalue to the PC. The 89S52 has a built in serial port that makes it very

    easy to communicate with the PC's serial port. Butthe 89S52 outputs are 0 and 5 volts and we need +10 and -10 volts

    to meet the RS232 serial port standard. The easiest way to get these

    values is to use the MAX232.

    The MAX232 acts as a buffer driver for the processor. It accepts the

    standard digital logic values of 0 and 5 volts and converts them to theRS232 standard of +10 and -10 volts.

    It also helps protect the processor from possible damage from static that

    may come from people handling the serial port connectors.

    MODEM INTERFACE:

  • 8/8/2019 Flood Management and Control Using GSM

    12/13

    PIN DIAGRAM:

  • 8/8/2019 Flood Management and Control Using GSM

    13/13