Efficient Automatic Plant Irrigation System Using ATMEGA Microcontroller
Efficient Automatic Plant Irrigation System Using ATMEGA Microcontroller
Efficient Automatic Plant Irrigation System Using ATMEGA Microcontroller
Sundar Ganesh C S 49
I. INTRODUCTION
Irrigation is the most important cultural practice and
most labour intensive task in daily agriculture sector.
Knowing when and how much to water are two important
aspects of irrigation. To do this automatically, sensors and
methods are available to determine when plants may need
water.
The main objective of this paper is to develop a
microcontroller based system to irrigate the plant
automatically. This system also supports water management
decision, which determines the controlling time for the
process. Another objective of the project is to send a short
message service(SMS) to farmer regarding motor ON and Fig.1 Block Diagram
OFF condition.
II. BLOCK DIAGRAM Liquid crystal display model is used to indicate the
Block diagram shows the various components is output of ADC in decimal, present date, month, year, hour,
shown in Fig.1. Moisture Sensor are copper clad of certain minutes, seconds and the state of relay whether MOTOR ON
length, thickness and separated from each other at a fixed or MOTOR OFF. SIM300 modem is used to connect to a
distance[1]. These sensors are used to measure the moisture GSM network and send text messages regarding on/off status
content of soil in terms of voltage and then given to of motor to farmer’s mobile.
Operational Amplifier.
The Op-Amp used in this project used in non III. SOIL MOISTURE SENSOR
inverting mode obtained the voltage from sensor is amplified, Soil moisture sensor is used to detect the moisture content
since they are of very low voltage and then given to Analog to of the soil. Moisture sensor circuit gives a high voltage when
Digital converter.The analog parameters measured by the it is dry and a low voltage when the soil is wet. The voltage
sensors are then converted to corresponding digital values by obtained from sensor is fed to the OP-AMP
the ADC.
[2]The microcontroller is the heart of the
proposed embedded system. It constantly monitors
the digitized parameters of sensor and verifies them with the
predefined threshold values and checks the condition for dry
and wet, and correspondingly the relay is made ON or OFF.
Another purpose of the microcontroller is to check whether
the real-time clock is equal to the ON/OFF time stored
previously in EEPROM by the user and for user interface
also, when the required condition is met, relay is made
ON/OFF.
International Journal of Emerging Trends in Electrical and Electronics (IJETEE – ISSN: 2320-9569) Vol. 7, Issue. 1, Sep-2013.
Mr. Sundar Ganesh C S 50
The circuit designed uses a 5 V supply and a copper clad as V.REAL TIME CLOCK
sensor. It gives a voltage output corresponding to the
The DS1307 serial real-time clock (RTC) is a
conductivity of the soil. The conductivity of soil depends
low-power, full binary-coded decimal (BCD) clock/calendar
upon the amount of moisture present in it. It increases with
plus 56 bytes of NV-SRAM. The clock/calendar provides
increase in the water content of the soil. Fig.2 shows the
seconds, minutes, hours, day, date, month, and year
sensor circuit used in this work[3].
information. The DS1307 has a built-in power-sense circuit
The copper clad acts as the sensor. It is immersed
that detects power failures and automatically switches to the
into the soil, whose moisture content is under test. The soil is
backup supply.
examined under two conditions, namely dry and wet
The DS1307 is a low-power clock/calendar with 56
condition.
bytes of battery-backed SRAM. The clock/calendar provides
Under dry condition, the probes are placed in the soil
seconds, minutes, hours, day, date, month, and year
under dry conditions and are inserted up to a fair depth of the
information. The date at the end of the month is automatically
soil. As there is no conduction path between the copper clad,
adjusted for months with fewer than 31 days, including
the sensor circuit remains open. Under excess water condition
corrections for leap year. The DS1307 operates as a slave
the conductivity of the soil increases drastically and a steady
device on the I2C bus. Access is obtained by implementing a
conduction path is established.
START condition and providing a device identification code
followed by a register address. Subsequent registers can be
IV.ANALOG TO DIGITAL CONVERTER
accessed sequentially until a STOP condition is executed.
MCP3208 devices are successive approximation
12-bit ADC with on-board sample and hold circuitry. The
MCP3204/3208 devices operate over a broad voltage range
(2.7 V - 5.5 V). Low current design permits operation with
typical standby and active currents of only 500 nA and 320
μA, respectively.Fig.3 shows the functional block diagram of
MCP3208 ADC.
International Journal of Emerging Trends in Electrical and Electronics (IJETEE – ISSN: 2320-9569) Vol. 7, Issue. 1, Sep-2013.
Mr. Sundar Ganesh C S 51
VII.CONCLUSION
Table 1 : Results
IX REFERENCES
International Journal of Emerging Trends in Electrical and Electronics (IJETEE – ISSN: 2320-9569) Vol. 7, Issue. 1, Sep-2013.
Mr. Sundar Ganesh C S 52
International Journal of Emerging Trends in Electrical and Electronics (IJETEE – ISSN: 2320-9569) Vol. 7, Issue. 1, Sep-2013.