Automatic Drip Irrigation Unit using Pic Controller



Similar documents
AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

An Introduction to MPLAB Integrated Development Environment

ONLINE HEALTH MONITORING SYSTEM USING ZIGBEE

Hardware and Logic Implementation of Multiple Alarm System for GSM BTS Rooms

Agricultural Robot (Irrigation System, Weeding, Monitoring of Field, Disease Detection)

Android based Secured Vehicle Key Finder System

Wireless Sensor Network Based Low Power Embedded System Design For Automated Irrigation System Using MSP430

Design,DevelopmentandPerformanceStudyofL-HomeSecuritySystem

If an occupancy of room is zero, i.e. room is empty then light source will be switched off automatically

GSM Based Electrical Control System for Smart Home Application

Design of Wireless Home automation and security system using PIC Microcontroller

SMS Based Automatic Vehicle Accident Information System

Accident Notification System by using Two Modems GSM and GPS

Cell Phone Based Liquid Inventory Management Using Wireless System

Design And Implementation Of Bank Locker Security System Based On Fingerprint Sensing Circuit And RFID Reader

Accurate Measurement of the Mains Electricity Frequency

HIGH SECURED VEHICLE WITH INTERIOR VENTILATION CONTROL AND PERIMETER MONITORING SYSTEM

Design and Development Web Server and Embedded Based Agriculture Automation with Remote Monitoring System

Intelligent Home Automation and Security System

MICROCONTROLLER BASED SMART HOME WITH SECURITY USING GSM TECHNOLOGY

Palaparthi.Jagadeesh Chand. Associate Professor in ECE Department, Nimra Institute of Science & Technology, Vijayawada, A.P.

Design and Construction of Microcontroller Based Charge Controller for Photovoltaic Application

EasyPIC4 User s Manual

ET-BASE AVR ATmega64/128

Programming PIC Microcontrollers in PicBasic Pro Lesson 1 Cornerstone Electronics Technology and Robotics II

Development of Low Cost Private Office Access Control System(OACS)

Solar Powered Smart Irrigation System

Microcontroller Based Anti-theft Security System Using GSM Networks with Text Message as Feedback

MAHMOUD OMID Department of Agricultural Machinery, Faculty of Agriculture, University of Tehran, Karaj, Iran Author s omid@ut.ac.

Development of a GSM based Control System for Electrical Appliances

Microcontroller-based experiments for a control systems course in electrical engineering technology

Design and Construction of Variable DC Source for Laboratory Using Solar Energy

Computer Automation Techniques. Arthur Carroll

How To Program A Microcontroller Board (Eb064) With A Psp Microcontroller (B064-74) With An Ios 2.5V (Power) And A Ppt (Power Control) (Power Supply) (

Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol

DESIGN OF SMS ENABLED CAR SECURITY SYSTEM

Embedded Intensive Patient Care Unit

Embedded Patient Monitoring System

GUI BASED REMOTE ON/OFF CONTROL AND MONITORING SINGLE PHASE LAMP USING MICROCONTROLLER

Analog-to-Digital Converters

Microtronics technologies Mobile:

A Novel Solution for Remote Monitoring of Electrical and Electronic Gadgets

Design and Implementation of an Accidental Fall Detection System for Elderly

DATA LOGGER AND REMOTE MONITORING SYSTEM FOR MULTIPLE PARAMETER MEASUREMENT APPLICATIONS. G.S. Nhivekar, R.R.Mudholker

AUTOMATIC LPG BOOKING, LEAKAGE DETECTION AND A REAL TIME LPG MEASUREMENT MONITORING SYSTEM

An Energy Efficient Air Conditioner System without Compressor: Application of Embedded System

Lab Experiment 1: The LPC 2148 Education Board

ARM7 Based Smart ATM Access & Security System Using Fingerprint Recognition & GSM Technology

Raghavendra Reddy D 1, G Kumara Swamy 2

Display Message on Notice Board using GSM

DCDC-USB. 6-34V 10A, Intelligent DC-DC converter with USB interface. Quick Installation Guide Version 1.0c P/N DCDC-USB

Development of an Internet based Embedded System for Smart House Controlling and Monitoring

Conversion Between Analog and Digital Signals

CELL PHONE CONTROL ROBOT CAR

Fondamenti su strumenti di sviluppo per microcontrollori PIC

Microcontroller Based Automated Water Level Sensing and Controlling: Design and Implementation Issue

ADVANCED FIRE ALARMING SYSTEM THROUGH MOBILE PHONE

Innovative Practices in Optimal Utilization of Solar Energy (Solar Tracking System)

IP Box Camera ACM Ver Hardware User s Manual

Design of Fuzzy Drip Irrigation Control System Based on ZigBee Wireless Sensor Network

Tutorial for MPLAB Starter Kit for PIC18F

Remote Patient Monitoring- An Implementation in ICU Ward

BE635 User Manual. Rev. V Bolymin, Inc. All Rights Reserved.

Design of Control System for Measurement of Ph and EC of Fertilizer Solution

Feasibility Study of Implementation of Cell Phone Controlled, Password Protected Door Locking System

EMBEDDED GSM MONITOR AND CONTROL USING ANDROID APPLICATION

Real-Time Vehicle Data Logging System Using GPS And GSM

Room Temperature based Fan Speed Control System using Pulse Width Modulation Technique

Green House Monitoring and Controlling Using Android Mobile Application

DSO138 oscilloscope program upgrade method

POCKET SCOPE 2. The idea 2. Design criteria 3

Peak Power Tracker Circuit Description (from

Getting Started with PIC24F/PIC24H Programming and Interfacing in C

Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester

Embedded Security System using RFID & GSM

UPS PIco. to be used with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation

Measuring Resistance Using Digital I/O

III. BLOCK DIAGRAM. A) Power Supply

Location-Aware and Safer Cards: Enhancing RFID Security and Privacy

International Journal of Electronics and Computer Science Engineering 1588

Serial Communications

Microcontroller Based Smart ATM Access & Security System Using Fingerprint Recognition & GSM Technology

Fuzzy Irrigation Controller Using Solar Energy

PICNet 1. PICNet 1 PIC18 Network & SD/MMC Development Board. Features. Applications. Description

GSM based Remote Sensing and Control of an Irrigation System using WSN: a Survey

Microcontroller-based Wireless Heart Rate Telemonitor for Home Care

DEVELOPMENT OF E-PUBLIC DISTRIBUTION SYSTEM (E-PDS) USING SMART CARD

Android based Alcohol detection system using Bluetooth technology

Tire pressure monitoring

PICmicro tm Development Board

Gsm Based Controlled Switching Circuit Between Supply Mains and Captive Power Plant

Understanding Mechatronics Engineering Using a School Project

PC BASED PID TEMPERATURE CONTROLLER

Advanced Car Security System Using GSM

WIRELESS INSTRUMENTATION TECHNOLOGY

A DESIGN OF DSPIC BASED SIGNAL MONITORING AND PROCESSING SYSTEM

Measuring, Controlling and Regulating with labworldsoft

Evo Laser Firmware Developer s Manual

Welcome to the tutorial for the MPLAB Starter Kit for dspic DSCs

Transcription:

Automatic Drip Irrigation Unit using Pic Controller M.Lincy Luciana Dept. of EEE, Sri RamakrishnaInstitute Of Technology Coimbatore.10, Tamilnadu, India. B.Ramya Dept. of EEE, Sri RamakrishnaInstitute Of Technology Coimbatore.10, Tamilnadu, India. A.Srimathi Dept. of EEE, Sri RamakrishnaInstitute Of Technology Coimbatore.10, Tamilnadu, India. Abstract - In the field of agriculture, use of proper method of irrigation is important and it is well known that drip irrigation is very economical and efficient. In the conventional drip irrigation system, the farmer has to continuously monitor the soil and weather conditions in favor of growth of crops. In this project, temperature sensor and moisture sensor are used to measure the soil and weather conditions of the field. The temperature and moisture values from the sensors are sensed to the microcontroller and thus the current temperature and moisture are compared with predefined values. According to the temperature and moisture value, required amount of water is supplied to the crops. The sensed temperature and moisture will be displayed in the liquid crystal display. Keywords - drip irrigation, sensors, microcontroller, and moisture. I.INTRODUCTION The continuous increasing demand of the food requires the rapid improvement in food production technology. In India, the economy is mainly based on agriculture; still we are not able to make full use of agricultural resources. The main reason is the lack of rain and scarcity of land reservoir water. Another very important reason of this is due to unplanned use of water due to which a significant amount of water goes waste. At the present, the farmers have been using irrigation technique in India through the manual control in which the farmers irrigate the land at the regular intervals. This process consumes more water or sometimes water reaches the root late due to which the crops get dried. This problem can be perfectly rectified if we use automatic micro controller based drip irrigation system in which the irrigation will take place only when there will be intense requirement of water. In the modern drip irrigation systems, the most significant advantage is that water is supplied near the root zone of the plants due to which a large quantity of water is saved in [1].Using the temperature sensor and moisture sensor, the requirement of water to the crop can be sensed and its measurements in [2] are displayed in the LCD Display using PIC controller. According to the requirements of the crop, water is allowed to flow through the pump. The software used is MPLAB IDE v8.50 and Tiny Boot loader. MPLAB IDE v8.50 is used for programming the Programmable Interrupt Controller (PIC) in C Language. Tiny Boot loader is used to write the program in the program memory of the chip. II. DRIP IRRIGATION UNIT The important parameters to be measured for automation of irrigation system are soil moisture and temperature. The entire field is first divided into small sections such that each section should contain moisture sensor and a temperature sensor. LM35 in [3] can be used as a temperature sensor while Soil moisture sensor in [4] can be used to detect moisture contents of soil. The temperature sensors are placed at the different locations of the field. The Vol. 2 Issue 3 May 2013 108 ISSN: 2278-621X

moisture sensors are buried in the ground at required depth. Once the soil has reached desired moisture level the sensors send a signal to the micro controller. If the moisture content in the field gets reduced in the field, the signal is produced through controller. Water from the source is pumped using the pump which is stored in the tank in [5]. The temperature level and moisture level sensed from the sensor will be displayed in the LCD display. The water is supplied drop by drop to the root of the plant. After reaching desired moisture level, the sensor gives corresponding signal to the controller. Hence the yielding of crop is high and the water usage is low. LCD PIC16F877A Temperature Sensor Relay Moisture Sensor Water Source Pump FIELD Figure 1. Layout of the drip irrigation unit III. STUDY OF CROPS The requirements for growth of various crops at the different seasons were studied. The temperature and moisture are two basic parameters which influences the growth of the crop. Hence the importance is given to both of this parameter. Each crop requires different temperature and moisture levels at various stages. But there is an optimum range of values in [7]. The temperature and moisture are the inter-related parameter. When the soil temperature increases, soil moisture decreases. Hence the comparison of these both parameter can be used for the better yield of crops. The temperature and moisture level of the various crops such as rice, wheat, bajra in [11], sugarcane were studied. IV. HARDWARE DESCRIPTION AUTOMATIC DRI P IRRIGATION UNIT USING MICROCONTROLLER can be used universally for various types of crops. The current drip irrigation unit is designed for three different crops such as rice, wheat, bajra. On power up of the unit, there is a facility for the selection of crop by using switches. On pressing the corresponding Vol. 2 Issue 3 May 2013 109 ISSN: 2278-621X

switch the particular crop is selected. Then the soil temperature and soil moisture is displayed continuously in the liquid crystal display (LCD). A.Selection of crops Four switches are connected to the PORTD of the controller. PORTD is configured as the input port. Based on the switch input to the port the program enters the corresponding loop where the current temperature and moisture will be compared with the predefined values. When switch 1 is pressed, the rice crop is selected. The predefined set of values stored for the rice crop will be taken as the reference values and comparison is made. Similarly switch 2 is dedicated to wheat crop and switch 3 for bajra Figure 2 Switch arrangement B. Liquid crystal display The LCD will display the alphabets, numbers, characters and symbols. The LCD used here is eight bit parallel type and the display size is 16*2. Liquid Crystal Display is used for displaying the temperature and moisture value.lcd consists of three control pins and eight data pins. Based on the commands given to the control pins, data can be read from or write to the LCD.The eight data pins of the LCD are connected to the PORTB pins RB0-RB7. Three control pins are connected to PORTC pins. RC0, RC1, RC2 are used for register select (RS), read/write (R/W) and enable (E) respectively. 16*2 LCD RB0 V SS V CC V EE RS R/W E D0 D1 D2 D3 D4 D5 D6 D7 GND 5V PIC16F877A RB7 Vol. 2 Issue 3 May 2013 RC0 RC1 RC3 110 ISSN: 2278-621X

Figure.3 Interfacing LCD with PIC16F877A Initially the display is cleared and the cursor is placed at the first character of the first line. Then the data to be displayed is sent to the LCD. LCD accepts only the ASCII values as input. Hence the hexadecimal values are converted into ASCII values and it is fed to the LCD to display the temperature.v CC and V SS are provided with 5V and ground respectively.v EE is used for controlling LCD contrast. C. Sensor interfacing The LM35 sensor is used to measure the temperature and to measure the moisture.the LM35 series sensors are precision integrated-circuit temperature sensors whose output voltage is linearly proportional to the Celsius temperature. The LM35 requires no external calibration since it is internally calibrated. The LM35 precision centigrade temperature sensor is an analog sensor. The analog output voltage from the LM35 is linearly proportional to temperature in Celsius. Hence there is no requirement for the external calibration. The PIC microcontroller consists of inbuilt analog to digital converter. The PORTA and PORTE are configured as the analog input channels. The output is fed to the channel 1(RA0). The digital output is thus converted will be available for the further process in special registers ADRESH and ADRESL. Since the ADC is having 10-bit resolution, it must be converted into 8- bit and then the output is fed to the LCD. 16*2 LCD V SS V CC V EE RS R/W E D0 D1 D2 D3 D4 D5 D6 D7 LM35 RB0 GND 5V RA0 RD4 RB7 SOIL MOISTURE SENSOR RED YELLOW BLACK GREEN RC0 RC1 RC3 Figure.4 Interfacing sensor with PIC16F877A V. PUMP AND RELAY UNIT Vol. 2 Issue 3 May 2013 111 ISSN: 2278-621X

Relay along with transistor is used to turn on/off the pump. Transistor BC547 acts as a switching device. The collector is permanently connected to the DC 12V which provides coil voltage for relay. 12V Control Pin from PIC16F8 77A 220 ohm 220 ohm BC547 PUMP RELAY Fig.5 Interfacing Pump with Relay Unit The emitter is grounded. When the supply is given to the base of the transistor, it turns on the relay and when the supply is cut-off, the relay is turned off. The supply voltage required for the load connected (pump) to the relay should be given to the common pin. VI. SOFTWARE DESCRIPTION MPLAB IDE is the software used for programming PIC microcontroller through embedded C. TINY Boot loader is used to download the program in to the flash of the PIC. A. MPLAB IDE MPLAB IDE is a Windows Operating System (OS) software program that runs on a PC to develop applications for Microchip microcontrollers and digital signal controllers. It is called an Integrated Development Environment, or IDE, because it provides a single integrated "environment" to develop code for embedded microcontrollers. A development system for embedded controllers is a system of programs running on a desktop PC to help write, edit, debug and program code - the intelligence of embedded systems applications - into a microcontroller. MPLAB IDE runs on a PC and contains all the components needed to design and deploy embedded systems applications. B.PROTEUS ISIS PROTEUS allows engineers to run interactive simulations of real designs for circuit simulation. It has a range of simulator models for popular micro-controllers and a set of animated models for related peripheral devices such as LED and LCD displays, keypads and more. It is possible to simulate complete micro-controller systems and thus to develop the software for them without access to a physical prototype. It have simulated our hardware model using the software Proteus ISIS. The simulator models such as PIC16F877A, LED, LCD display, Switches, pot, Relay, Resistors, Transistor and sources were used and results were verified with hardware results. C.TINY BOOT LOADER Vol. 2 Issue 3 May 2013 112 ISSN: 2278-621X

Tiny is a boot loader for the Microchip PIC microcontrollers. It is the smallest boot loader, taking less than 100 words of program space. Supports families of PIC devices: 16F, 18F, dspic30 (those devices that support selfprogramming). VII. RESULTS The output of LM35 - Precision Centigrade Temperature Sensor is in the form of analog. The input supply voltage is 5 volts. The output will be in the form of voltage. The room temperature is 29 degree Celsius. The output will be in millivolts, 290 millivolts. This analog is converted to digital data through ADC0808. It is directly connected to microcontroller. Its calibration is simple and easy. The output value of temperature sensor is displayed in the LCD. Table 1 : Output of the LM35 - Precision Centigrade Temperature Sensor Temp( o C) Vout (mv) 27 270 28 280 29 290 30 300 31 310 32 320 33 330 The soil moisture sensor is directly connected to the microcontroller. The input supply voltage given to the sensor is 3-10 volts. The output voltage is in digital form. The digital data is directly sent to the controller. The value is displayed in the LCD. Table 2: Output of the Soil Moisture Sensor RH (%) Vout(mV) 10 1325 20 1600 30 1860 40 2110 50 2360 60 2605 70 2860 80 3125 90 3405 95 3555 According to the moisture level of field, the water is supplied to the field. If the moisture level of the field is low, then the water is flowed to the field. When it reaches the level, automatically microcontroller closes the valve in [10]. The water source to plants and shrubs at a carefully controlled rate by a means of flexible tubing with tiny drippers, sprayers, hoses, and bubblers attached to it. This system is economical, efficient and automated. VIII. CONCLUSION Vol. 2 Issue 3 May 2013 113 ISSN: 2278-621X

The Microcontroller based drip irrigation system monitors and controls all the activities of drip irrigation system efficiently. The moisture of the soil and the temperature of the surroundings will be measured and water is supplied to the crop accordingly which prevents water clogging. This system saves water because the water is directly fed to the root and the quality of the crop gets improved. It also helps in time saving, removal of human error in adjusting available soil moisture levels and to maximize their net profits. IX. FUTURE WORK Water resources can be utilized efficiently and effectively based on various other parameters so that agricultural sector becomes more productive. Automatic drip irrigation at different seasons is another future scope. Water is allowed to the field of crops depending upon the particular season. Some more parameters such as plant growth at different stages,wheather condition are to be taken into account to determine the water requirement for the crop This will improve agriculture leading to economical development of our nation. REFERENCES [1] Rafael Munoz-Carpena, Herbert Bryan, and Waldemar Klassen., Automatic soil moisture based drip irrigation for improving tomato production. Proc. Fla. State. Hort. Soc. 116:80-85,2003 [2] Tahar Boutraa, Abdellah Akhkha, Abdulkhaliq Alshuaibi, Ragheid Atta; Evaluation of the effectiveness of an automated irrigation system using wheat crops. AGRICULTURE AND BIOLOGY JOURNAL OF NORTH AMERICA; ISSN Print: 2151-7517, ISSN Online: 2151-7525, doi:10.5251/abjna.2011.2.1.80.88 [3] Muhammad Ali Mazidi, Janice Gillispie Mazidi, Rolin D. McKinlay, The 8051 Microcontroller and Embedded Systems using Assembly and C,, Pearson Edition, Second Edition [4] Mohamed Said Abdall El Marazky, Fawzi Said Mohammad and Hussein Mohamed Al-Ghobari., Evaluation of Soil Moisture Sensors under Intelligent Irrigation Systems for Economical Crops in Arid Regions, American Journal of Agricultural and Biological Sciences 6 (2): 287-300, 2011ISSN 1557-4989. [5] Rafael Muñoz-Carpena and Michael D. Dukes., Automatic Irrigation Based on Soil Moisture for Vegetable Crops Published in 2nd international conferrance on Irrigation And Drainage/ May 12-15./ #AE354. [6] Benzekri, A, Refoufi, L Design and Implementation of a Microprocessor Based Interrupt-Driven Control for an Irrigation System,10.1109/ICELIE.2006.347214, 2006, pp: 68 73. [7] Shi-feng Yang; Jian-ying Guo; Xiu-qing Wang Detecting of water shortage information in crops with acoustic emission technology and automatic irrigation system,10.1109/spawda.2008.4775854.., 2008, pp: 566 569. [8] Ashok & K.Ashok,; Microcontroller based drip irrigation system, published in technical paper in www. Engineers.com on April 30th, 2010. [9] K.Prathyusha1, M. Chaitanya Suman2.., DESIGN OF EMBEDDED SYSTEMS FOR THE AUTOMATION OF DRIP IRRIGATION, International Journal of Application or Innovation in Engineering & Management (IJAIEM) Volume 1, Issue 2, October 2012 ISSN 2319-4847 [10] Priyanka D. Hande and Prof. S.S. Kulkarni Microcontroller Based Irrigation, International Journal of Microcircuits and Electronic. [11] A.M. Gaber, E.I. Gaber, A.S. El-Hassanin and F. M. El- Boraie., Maximizing Water Use Efficiency of Pearl Millet by Water and Drip Irrigation Management Natural Resources Dept., Ins. of African Research and Studies, Cairo Univ., Egypt.., published in the 2nd International Conf. on Water Resources & Arid Environment (2006). [12] Govinda Bhandari, EFFECT OF PRECIPITATION AND TEMPERATURE VARIATION ON THE YIELD OF MAJOR CEREALS IN DADELDHURA DISTRICT OF FAR WESTERN DEVELOPMENT REGION, NEPAL published in International Journal Of plant, Animal and Environmental Science-Volume 3, Issue 1.. Vol. 2 Issue 3 May 2013 114 ISSN: 2278-621X