DESIGN AND IMPLEMENTATION OF A RAIN WATER DETECTOR-ALARM SYSTEM OYUBU A.O

Similar documents
A Rain Sensitive House Window Closes Automatically When Raining

An Autonomous Nonvolatile Memory Latch

ISSP User Guide CY3207ISSP. Revision C

WeatherWatcher ACP. Astronomers Control Panel (V4 or >) Ambient Virtual Weather Station (Pro or Internet editions) ASCOM platform v4.

SERIALLY PROGRAMMABLE CLOCK SOURCE. Features

SC125MS. Data Sheet and Instruction Manual. ! Warning! Salem Controls Inc. Stepper Motor Driver. Last Updated 12/14/2004

Differential Pressure Sensor

MM74C912 6-Digit BCD Display Controller/Driver

Double Layer Capacitors. PN: NEX_ series & NED_ series

Introduction to Computer Engineering. CS/ECE 252, Fall 2012 Prof. Guri Sohi Computer Sciences Department University of Wisconsin Madison

OPERATION MANUAL. 3 in 1, IR, Type K/J/R/E/T, Pt 100 ohm THERMOMETER. Model : TM-2000

Chapter 7. Sequential Circuits Registers, Counters, RAM

SUMMER 18 EXAMINATION Subject Name: Principles of Digital Techniques Model Answer Subject Code:

In-System Serial Programming (ISSP) Guide

VELA. Getting started with the VELA Versatile Laboratory Aid. Paul Vernon

Software Engineering 2DA4. Slides 8: Multiplexors and More

University of Connecticut Department of Electrical and Computer Engineering. ECE 4901: Fall 2017 Spring 2018

Combinational logic systems

Implementing an analog speedometer in STISIM Drive using Parallax BSTAMP microcontroller

Weather Station with Data Storage

P300. Technical Manual I/Os, 240 solenoid drivers th Street, Davis, CA 95616, USA Tel: Fax:

Period/Frequency Output

CONTENTS. Batteries. La Crosse Technology, Ltd Page 1

JOHNDEERE MOBILE WEATHER VALUE AND WALK AROUND GUIDE CLICK THE ARROW TO GET STARTED

LCFesR 3.0 precise, wide range measuring unit

(d) describe the action of a 555 monostable timer and then use the equation T = 1.1 RC, where T is the pulse duration

CMOS Digital Integrated Circuits Lec 13 Semiconductor Memories

In-System Serial Programming (ISSP) Guide

PART kHz CRYSTAL ALARM FUNCTION

Name: Answers. Mean: 83, Standard Deviation: 12 Q1 Q2 Q3 Q4 Q5 Q6 Total. ESE370 Fall 2015

Microcontroller Based Applied Digital Control

Exam 3--PHYS 102--S14

YEAR III SEMESTER - V

MM74C912 6-Digit BCD Display Controller Driver MM74C917 6-Digit Hex Display Controller Driver

DS1225Y. 64K Nonvolatile SRAM FEATURES PIN ASSIGNMENT


Neural Network Based Density Measurement

Dual Ultra-Low-Voltage SOT23 µp Supervisors with Manual Reset and Watchdog Timer

S-882Z Series ULTRA-LOW VOLTAGE OPERATION CHARGE PUMP IC FOR STEP-UP DC-DC CONVERTER STARTUP. Rev.1.2_00. Features. Applications.

Miniature Electronically Trimmable Capacitor V DD. Maxim Integrated Products 1

NAME SID EE42/100 Spring 2013 Final Exam 1

5-V Low Drop Voltage Regulator TLE 4290

OPERATING MANUAL. EIB-Kombisensor AS 315 N

M E F I N A L P R O J E C T

Programmable Timer High-Performance Silicon-Gate CMOS

MODE button MAX/MIN button CHANNEL button / C/ F / RCC button SNOOZE / LIGHT button Battery compartment A/C in-jack 3. 4.

3B SCIENTIFIC PHYSICS

The Development of a Low Cost and Portable Light Absorbance Measurement Device for Chemical Education

PI4GTL bit bidirectional low voltage translator

LH5P832. CMOS 256K (32K 8) Pseudo-Static RAM

HN58C256 Series word 8-bit Electrically Erasable and Programmable CMOS ROM

Microcontroller-Based Universal Stepper Motor Controllers

The Real-Time Clocks of the 71M65XX Metering ICs

Lecture 6: Time-Dependent Behaviour of Digital Circuits

Acceleration/Velocity/Displacement VIBRATION METER

Memory, Latches, & Registers

DATASHEET CA3162. Features. Description. Ordering Information. Pinout. Functional Block Diagram. A/D Converters for 3-Digit Display

O P E R A T I N G M A N U A L

LOGIC CIRCUITS. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D.

with Manual Reset and Watchdog Timer

Non - Contact Forehead Infrared Thermometer. Care Q7 USER MANUAL - 1 -

National Quali cations Date of birth Scottish candidate number

Introduction to Computer Engineering. CS/ECE 252, Spring 2017 Rahul Nayar Computer Sciences Department University of Wisconsin Madison

Physics 240 Fall 2003: Final Exam. Please print your name: Please list your discussion section number: Please list your discussion instructor:

Digital Systems Roberto Muscedere Images 2013 Pearson Education Inc. 1

Chapter 28. Direct Current Circuits

HIGHLY ACCURATE PENDULUM INSTRUMENT ECE-492/3 Senior Design Project Spring 2013

Where, τ is in seconds, R is in ohms and C in Farads. Objective of The Experiment

From Physics to Logic

In-System Serial Programming (ISSP) Guide

Acceleration, Velocity, Separate probe VIBRATION METER Model : VB-8202

Digital logic signals

Digital logic signals

Regulated 3.3V Charge Pump MAX679

Appendix D Nomenclature. Abstract

Laboratory 3 Measuring Capacitor Discharge with the MicroBLIP

MM74C922 MM74C Key Encoder 20-Key Encoder

MM74C90 MM74C93 4-Bit Decade Counter 4-Bit Binary Counter

Digital Stored Grain Quality Management. BinMaster Level Controls Lincoln, Nebraska, USA

Four-Channel Thermistor Temperature-to-Pulse- Width Converter

Pi in the Sky (Sensors) Ian Bragg from Gadsden, AL Jacksonville State University Mentors: Raj and Dr. Loft NCAR SIParCS

GR16. Technical Manual. 10 M SPS, 16-bit Analog Signal Digitizer up to 8MB FIFO

Designing a Thermostat Worksheet

(Refer Slide Time: 00:01:30 min)

ATtiny bit AVR Microcontroller with 16K Bytes In-System Programmable Flash DATASHEET APPENDIX B. Appendix B ATtiny1634 Specification at 125 C

NV Electronically Programmable Capacitor

Temperature Compensation for the 71M651x/651xH, 71M652x, and 71M653x Energy Meter ICs

Switched Mode Power Conversion Prof. L. Umanand Department of Electronics Systems Engineering Indian Institute of Science, Bangalore

DS0026 Dual High-Speed MOS Driver

,- # (%& ( = 0,% % <,( #, $ <<,( > 0,% #% ( - + % ,'3-% & '% #% <,( #, $ <<,(,9 (% +('$ %(- $'$ & " ( (- +' $%(& 2,#. = '%% ($ (- +' $ '%("

NATIONAL CERTIFICATE (VOCATIONAL) NQF LEVEL 2 SUPPLEMENTARY EXAMINATION

Compact, Dual-Output Charge Pump

RTAC104 AFM References in Package

CSE370: Introduction to Digital Design

Harnessing the Power of Arduino for the Advanced Lab

CMPE12 - Notes chapter 1. Digital Logic. (Textbook Chapter 3)

INSTRUMENTAL ENGINEERING

ECE 220 Laboratory 4 Volt Meter, Comparators, and Timer

S No. Questions Bloom s Taxonomy Level UNIT-I

Applications LED READY = READY LED READY LED. Charge mode indicator. max 140 C Shunt Sense Osc. Figure 1 Block diagram with external circuit

Transcription:

International Journal of Advancements in Research & Technology, Volume 4, Issue 6, June -2015 1 DESIGN AND IMPLEMENTATION OF A RAIN WATER DETECTOR-ALARM SYSTEM OYUBU A.O Department of Electrical/Electronic Engineering, Delta State University, Abraka, Oleh Campus, Nigeria. Email:akposweet@yahoo.com ABSTRACT From time immemorial humans used the sun to dry many things, a process known as sun drying. Sun drying is carried out in the farm, home, industry, laboratory, hospitals and other institutions for a number of reasons. These reasons range from totally eliminating water molecules from the things being dried, i.e. outright drying, like clothes, some farm produce, during building work, and in sculpture to exposing certain electronic materials/components directly to the sun so that the ultra- violet rays from the sun can cause some changes in the component, and in pharmaceutical/chemical industries where certain plants used for pharmaceutical purpose/chemicals are exposed to direct sunlight for a little while to cause some chemical changes in them and even at home sometimes when we open our windows to allow the sun rays to fall into our rooms to eliminate dampness, and allow for proper aeration. When rain falls, it will cause a setback to all the reasons for sun-drying enumerated above, especially when the materials being sun dried are not retrieved quickly. Thus, designing and constructing a device which gives one a heads-up the instant it starts to rain hopefully giving you time to retrieve the materials being sun dried, close your windows, and bring in possession is not only apropos but also absolutely imperative. The rain detector is a device that alerts the user when it is just about to rain. Minute droplets of rain water trigger the alarm, thus, alerting the user that rain is imminent. It is a battery powered device which combines sensors, a buzzer for the alarm system, silicon transistors, capacitor and other components in its circuitry to realize its purpose. Key words: Rain water, microcontroller, embedded C language, Buzzer. 1.0 INTRODUCTION Mankind has always harnessed the elements of nature for different purposes. Water for irrigation and Electricity generation (Hydro Electric Power),wind for wind mill used for many applications ranging from turning turbines that generate electricity, to quarry for crushing stones, sun for drying, heating and cooking especially when brought to focus. From time immemorial humans used the sun to dry many things, a process known as sun drying. Sun drying is carried out in the farm, home, industry, laboratory, hospitals and other institution for a number of reasons. These reasons range from totally driving out water molecules from the things being dried, outright drying, like clothes, some farm produce, during building work, and in sculpture to exposing certain electronic materials/components directly to the sun so that the ultra- violet rays from the sun can cause some changes in the component,and in pharmaceutical/chemical industries where certain plants used for pharmaceutical purpose/chemicals are exposed to direct sunlight for a little while to cause some chemical changes in them and even at home sometimes when we open our windows to allow the sun rays to fall into our rooms to eliminate dampness, and allows for proper aeration. When rain falls, it will cause a setback to all the reasons for sun-drying enumerated above, especially when the materials being sun dried are not retrieved quickly. Thus, designing and constructing a device which gives one a heads-up the instant it starts to rain hopefully giving you time to retrieve the materials being sun dried, close your windows, and bring in possession is not only apropos but also absolutely imperative. Also, since it can rain at any time without any warning, clothes in a clothes line outside the house that are almost dry may get wet if we do not realize it is raining on time. Thus, this project will also help house wives and other users to be quickly alerted to avoid rain from wetting shirts/ dresses being sundried at the clothes line outside the house. 2.0 LITERATURE REVIEW For a number years up till date, some works on Rain water detection have been done by electronic designers/hobbyist. These works range from the application of rain detector circuit/device in irrigation, collecting rain water for domestic and industrial use a process known as rain water harvesting to using rain detector/sensor in

International Journal of Advancements in Research & Technology, Volume 4, Issue 6, June -2015 2 automobiles to control the power windows and roof whenever it senses moisture a design known as automatic rain sensing windows. P. Campbell, et al, [1] in their work, Automatic Rain sensing windows worked to create a device that will allow car windows to roll up automatically when it rains thereby preventing the interior from getting destroyed. The design was essentially used with automobiles. In [2] Campbell scientific built a rain detector which functions to detect whether it is raining or snowing, and the output used to control another circuit. In [3] Mohammed Hadi Ismail incorporated a rain detector in his work designed to harvest rain water automatically and store same in reservoir for domestic use. Other electronic hobbyists have designed one form of rain detector/sensor in the past but the main objective of this work which is detecting rain and alerting the user was never considered. 3.0 SYSTEM DESIGN The design of the system is in two sections; namely, the hardware, and the software sections. The hardware section consists of the power supply unit, and the audio output unit which functions to alert the user of the presence of rain. The software section is essentially made up of an embedded C language program containing sets of instructions that are transferred into the microcontroller, the heart of the project. These instructions carryout the specific functions of sensing the minutest drop of rain water and alerting the user of the presence of rain by triggering ON the audio output (Buzzer). Power supply unit Sensor Switch Audio Output Figure 1: Functional block diagram of the system 3.1 Power supply unit The power supply unit consists of a 9V battery for powering the circuit. The 9V supply is however regulated for use with the microcontroller by regulating it to 5Vdc supply for the microcontroller using a fixed voltage regulator LM7805. 3.2 Sensing unit The sensor is essentially made up of a Veroboard which will receive the droplets of rain water and send signals to the microcontroller for processing. The verobaord s multiple interface which are also in close proximity with each other plays a vital role here. The board s stripes of interfaces were wired alternately such that all odd lines of stripes are linked, the even lines are also linked in same way. While the odd stripes are connected to Pin 7 of the microcontroller, the even stripes are connected to Vcc. This is so done so that whenever the veroboard receives even the minutest drop of rain water, both terminals are easily shorted and signal sent to the microcontroller.the microcontroller s Pin 22 which becomes high on receiving the signal drives the NPN transistor to saturation which consequently switches ON the audio output to alert user of the presence of rain. A 10k resistor is connected to the sensing unit to serve as a pulldown resistor. A pull down resistor pulls a floating node to a logic level low, i.e. it holds the logic signal near zero when no other active device is connected. (Also, a 1k resistor is connected between the base of the transistor and the microcontroller to limit the base current to a certain value)

International Journal of Advancements in Research & Technology, Volume 4, Issue 6, June -2015 3 Veroboard Vcc P.7 10K Figure 2: Sensor interfaced with microcontroller 3.3 Microcontroller unit PPI. Here a programmed microcontroller with embedded C language is used. The microcontroller used in this work is. The different units are interfaced 3.4 Switching and Audio units through the ports of standard microcontroller (). The is a low-power, highperformance CMOS 8-bit microcomputer with 8K The switching unit of this design is essentially an bytes of Flash programmable and erasable read NPN, C945, and transistor. It is used for this work only memory (PEROM). The device is because the microcontroller cannot supply more manufactured using Atmel s high-density nonvolatile memory technology and is compatible with to drive the output unit (Buzzer).The C945 has a than 5-10mA which is far less than what is needed the industry-standard 80C51 and 80C52 instruction set and pinout. The on-chip Flash allows the program memory to be reprogrammed in-system or typical DC current gain of 200mA at 1mA and a maximum of 0.15A.Thus,a typical base current of 200mA can trigger to turn On the buzzer. The by a conventional non-volatile memory switching and audio unit is connected to the programmer. By combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmel is a powerful microcomputer which provides a highly-flexible and cost-effective solution to many embedded control applications. The provides the following standard features: 8K bytes of flash, 256 bytes of RAM, 32 I/O lines, three 16 bit timer / counter, a six vector two level interrupt architecture, full duplex serial microcontroller s () Pin 22 through the base of the transistor.when the base voltage (Signal from the microcontroller) appears at the base of the transistor, the transistor is driven to saturation and allows current to flow in the buzzer thereby turning it ON {Buzzing to alert the user of the presence of Rain}.The Buzzer used in this work is the 9V, 4KHZ, 17MM H8MM PCB mount Piezoelectric type. port, on chip oscillator and clock circuitry. The extension ports can be done by using 8255 standard

International Journal of Advancements in Research & Technology, Volume 4, Issue 6, June -2015 4 Vcc P.22 1K Buzzer Figure 3: Switching and Audio unit 4.0 TEST AND RESULT The designed rain detector-alarm system was tested for a period of ten rainy days to ascertain its reliability/functionality. The testing which was done before it started to rain revealed that the audio unit of the system was triggered ON even when the droplets of rain have not become visible to the human eyes, thus showing clearly that the system could detect the thinnest or minutest droplets of rain and alert the user accordingly, which is in agreement with the design objective. 4.1 TABLE OF TEST RESULTS Table 1: Test Results. DAYS BUZZER ACTIVATION TIME TIME IT STARTED RAINING RECOVERY TIME [T1] [T2] [T3]=[T2-T1] 1. 16.00 hour 16.05 hour 5 minutes 2. 11.00 hour 11.07 hour 7 minutes 3. 14.00 hour 14.03 hour 3 minutes 4. 09.00 hour 09.15 hour 15 minutes 5. 13.00 hour 13.20 hour 20 minutes 6. 15.00 hour 15.10 hour 10 minutes 7. 20.00 hour 20.06 hour 6 minutes 8. 18.00 hour 18.15 hour 15 minutes 9. 08.00 hour 08.09 hour 9 minutes 10. 21.00 hour 21.05 hour 5 minutes

International Journal of Advancements in Research & Technology, Volume 4, Issue 6, June -2015 5 4.1.1 Graph of reliability/functionality of the designed system 24 20 16 12 8 4 0 1 2 3 4 5 6 7 8 9 10 DAYS IT RAINED BUZZER ACTIVATION TIME (Hours) RECOVERY TIME (Minutes) Figure 4: Graph of reliability/functionality of the designed system 4.2 DISCUSSION OF RESULT From the table and the graph of reliability/functionality, it can be deduced that for each of the days it rained, the system alerted the user first before it actually started to rain thereby giving the user ample time to retrieve/recover possession and preventing them from being drenched by rain water. This time herein referred to as recovery time is the basis for this design. 5.0 CONCLUSION The rain water detector-alarm system will be useful in both domestic and industrial applications. It alerts the user(s) of the presence of rain when it is just about to rain as even the minutest droplets of water triggers it ON thereby giving the user ample time to retrieve possessions, shut windows, and in some cases prepare to harvest rain water. The device when properly placed to receive the first set of droplets of rain water can save the user from damaging possessions that were being sundried/prevent rain from entering homes, offices, and silos to mention but a few. 6.0 REFERENCES [1] P.campbell et al 2005.Automatic rain sensing windows [2] Campbell Scientific,2005.Snow and rain detector [3] Mohammed Hadi Ismail, 2008.Harvesting rain water. [4] Ci Lindsay. A (2005). What is a microcontroller? Student guide version.3 parallax inc, USA [5] Embeddronics.http//www.embeddronics.com [6] Circuits for the hobbyist. VABAVR