Professional Documents
Culture Documents
Accessed
Irrigation System
A mini project report
Submitted by
M.Kiruba Sankar
(11BEE045)
III-EEE-C
R.Sivasubramanian
(11BEEL10)
III-EEE-C
C.Ruban Karthik
(11BEE058)
III-EEE-C
ACKNOWLEDGEMENT
We express our regards and thanks to the Head of the Department of the
Electronics and Communication Engineering, Mepco Schlenk Engineering
College Dr. R.ShanthaSelvaKumari, M.S., Ph.D., for providing necessary
facilities to carry out this project.
ABSTRACT
Contents: Acknowledgement
Abstract
Basics of Embedded Systems
Introduction
Concept (Proposal)
Working
Hardware
Circuitry
Components
Microcontroller(P89v51RD2)
TSOP 1738(IR receiver)
LCD Module
Auxiliary Logic gates
Motor Drivers
DC Motor
Software
Coding
Simulation Model (Proteus Model)
Conclusion
EMBEDDED SYSTEMS
Definition
An embedded system is a single-purpose computer built into a larger system
for the purposes of controlling and monitoring the system. It is designed as a way that
performs only a few embedded functions and has real time computing constraints.
Embedded system consists of both hardware and software designed for particular
application.
History
In the earliest years of computers in the 193040s, computers were sometimes
dedicated to a single task, but were far too large and expensive for most kinds of tasks
performed by embedded computers of today. Over time however, the concept of
programmable controllers evolved from traditional electromechanical sequencers, via
solid state devices, to the use of computer technology.
One of the first recognizably modern embedded systems was the Apollo
Guidance Computer, developed by Charles Stark Draper at the MIT Instrumentation
Laboratory. At the project's inception, the Apollo guidance computer was considered
the riskiest item in the Apollo project as it employed the then newly developed
monolithic integrated circuits to reduce the size and weight. An early mass-produced
embedded system was the Automatics D-17 guidance computer for the Minuteman
missile, released in 1961. It was built from transistor logic and had a hard disk for
main memory. When the Minuteman II went into production in 1966, the D-17 was
replaced with a new computer that was the first high-volume use of integrated circuits.
This program alone reduced prices on quad NAND gate ICs from $1000/each to
$3/each, permitting their use in commercial products.
Since these early applications in the 1960s, embedded systems have come
down in price and there has been a dramatic rise in processing power and
functionality. The first microprocessor for example, the Intel 4004, was designed for
calculators and other small systems but still required many external memory and
support chips. In 1978 National Engineering Manufacturers Association released a
"standard" for programmable microcontrollers, including almost any computer-based
controllers, such as single board computers, numerical, and event-based controllers
As the cost of microprocessors and microcontrollers fell it became feasible to
replace expensive knob-based analog components such as potentiometers and variable
capacitors with up/down buttons or knobs read out by a microprocessor even in some
consumer products. By the mid-1980s, most of the common previously external
system components had been integrated into the same chip as the processor and this
modern form of the microcontroller allowed an even more widespread use, which by
the end of the decade were the norm rather than the exception for almost all electronic
devices.
The integration of microcontrollers has further increased the applications for
which embedded systems are used into areas where traditionally a computer would not
have been considered. A general purpose and comparatively low-cost microcontroller
may often be programmed to fulfill the same role as a large number of separate
components. Although in this context an embedded system is usually more complex
than a traditional solution, most of the complexity is contained within the
microcontroller itself. Very few additional components may be needed and most of
the design effort is in the software. The intangible nature of software makes it much
easier to prototype and test new revisions compared with the design and construction
of a new circuit not using an embedded processor.
Characteristics
Embedded systems are designed to do some specific task, rather than be a
general-purpose computer for multiple tasks. Some also have real-time performance
constraints that must be met, for reasons such as safety and usability; others may have
low or no performance requirements, allowing the system hardware to be simplified to
reduce costs.
Embedded systems are not always standalone devices. Many embedded
systems consist of small, computerized parts within a larger device that serves a more
general purpose. For example, the Gibson Robot Guitar features an embedded system
for tuning the strings, but the overall purpose of the Robot Guitar is, of course, to play
music. Similarly, an embedded system in an automobile provides a specific function
as a subsystem of the car itself.
The program instructions written for embedded systems are referred to
as firmware, and are stored in read-only memory or Flash memory chips. They run
with limited computer hardware resources: little memory, small or non-existent
keyboard or screen.
Peripherals
Embedded Systems talk with the outside world via peripherals, such as:
Synchronous Serial Communication Interface: I2C, SPI, SSC and ESSI (Enhanced
Synchronous Serial Interface)
Advantages
They are designed to do a specific task and have real time performance
constraints which must be met.
They allow the system hardware to be simplified so costs are reduced.
They are usually in the form of small computerized parts in larger devices
which serve a general purpose.
The program instruction for embedded system run with limited computer
hardware resources, little memory and small or even non-existent keyboard or
screen.
Reliability
Embedded systems often reside in machines that are expected to run
continuously for years without errors and in some cases recover by themselves if an
error occurs. Therefore the software is usually developed and tested more carefully
than that for personal computers, and unreliable mechanical moving parts such as disk
drives, switches or buttons are avoided.
The system cannot safely be shut down for repair, or it is too inaccessible to repair.
Examples include space systems, undersea cables, navigational beacons, bore-hole
systems, and automobiles.
The system must be kept running for safety reasons. "Limp modes" are less
tolerable. Often backups are selected by an operator. Examples include aircraft
navigation, reactor control systems, safety-critical chemical factory controls, train
signals.
The system will lose large amounts of money when shut down: Telephone
switches, factory controls, bridge and elevator controls, funds transfer and market
making, automated sales and service.
watchdog timer that resets the computer unless the software periodically notifies
the watchdog
Introduction:
Extremely Secure Remote Accessed Irrigation System is to
access and manipulate the existing irrigation systems through at a
remote distance as for an advanced and secured mode of undeniable
operations , this could enable the irrigation more simpler rather than
to reach the field and operated the commodities like motor manually
,this also provides an authenticated access to the irrigation system as
that a simple personalized protocol for establishing the connection
takes place here, as that cant be easily plagiarized thus the reliability
on the security of the irrigations systems will be on a great hold in
this protocol.
CONCEPT SKETCH:-
START
Authentication
failure
CHECK THE
RECEPTION
PROTOCOL
If authenticated
To ON
Check the
operation
To OFF
To OFF
(Using ON switch )
Working:LCD DISPLAY
Remote input
MONITORING
TSOP1738
IR-Receiver
IC 7404
P89v51RD2
L293D
DC motor driver
MOTOR
Features:
80C51 Central Processing Unit
5 V Operating voltage from 0 to 40 MHz
64 kB of on-chip Flash program memory with ISP (In-System Programming) and
IAP
(In-Application Programming)
Supports 12-clock (default) or 6-clock mode selection via software or ISP
SPI (Serial Peripheral Interface) and enhanced UART
PCA (Programmable Counter Array) with PWM and Capture/Compare functions
Four 8-bit I/O ports with three high-current Port 1 pins (16 mA each)
Three 16-bit timers/counters
Programmable Watchdog timer (WDT)
Eight interrupt sources with four priority levels
TSOP 1738:-
receiver series. This IR sensor module consists of a PIN diode and a pre
amplifier which are embedded into a single package. The output of TSOP is
active low and it gives +5V in off state. When IR waves, from a source, with a
Centre frequency of 38 kHz incident on it, its output goes low.
Lights coming from sunlight, fluorescent lamps etc. may cause disturbance to it
and result in undesirable output even when the
source is not transmitting IR signals. A band
pass filter, an integrator stage and an automatic
gain control are used to suppress such
disturbances. TSOP module has an inbuilt
control circuit for amplifying the coded pulses
from the IR transmitter. A signal is generated when PIN photodiode receives the
signals. This input signal is received by an automatic gain control (AGC). For a
range of inputs, the output is fed back to AGC in order to adjust the gain to a
suitable level. The signal from AGC is passed to a band pass filter to filter
undesired frequencies. After this, the signal goes to a demodulator and this
demodulated output drives an NPN transistor. The collector output of the
transistor is obtained at pin 3 of TSOP module.
Members of TSOP17xx series are sensitive to different center frequencies
of the IR spectrum. For example TSOP1738 is sensitive to 38 kHz
whereas TSOP1740 to 40 kHz center frequency.
Auxiliary Components:IC 7404 (NOT Gate-Inverter) to invert the output produced by TSOP 1738,
Jumper wires, Supply, DC motor (Prototype), Motor supply etc.
SOFTWARE:Coding:#include<REG51.h>
sbit E=P0^0;
sbit H=P0^6;
sbit RS=P3^0;
sbit RW=P3^1;
sbit S=P3^2;
unsigned char arr1[17]={ "
MOTOR ON " },arr2[18]={ "
},arr3[16]={ "INITIATE SIGNAL" },i;
unsigned char arr4[16]={ "SIGNAL CONFIRMED"};
void lcdcmd(unsigned char k);
void lcddat(unsigned char k);
void delay1 (unsigned int del);
void main(void)
{
P2=0x00;
P0 = 0x00;
P3=0x07;
lcdcmd(0x3C); //Initialize LCD
lcdcmd(0x01); // Clear LCD
lcdcmd(0x0E); // Display ON
MOTOR OFF
"
}}
if(H==1){
P2=0x00;
{
lcdcmd(0x80); // Address of the first line in the LCD
for(i=0;i<18;i++){
lcddat(arr2[i]);
delay1(50000);
} }} }} }}
void lcdcmd(unsigned char k){
P1=k; RS =0; //register control select
RW=0; //write enable
S=1; S=0; delay1(500); S=1;
return;}
void lcddat(unsigned char k){
P1 = k; RS = 1; //register control select
RW=0; //write enable
S=1; S=0; delay1(500); S=1;
return;}
void delay1 (unsigned int del) // delay function
{ while(--del);}
Future Work:
This project is been initially proposed to made as
control and monitor standardized instrument through the
concept of GSM with mobile communication, that might
cover a large area of monitoring and controlling as GSM is a
satellite based communication media, Hence extension of
this project with GSM and mobile communication along
with certain agricultural accessory robots like Ploughing
robots, Harvesting robot, Fertilizer spraying robot could
enable the mode of farming to a far better and easy place
away from the hurdles as its facing now.
Complete Model
Main Circuit ON
Signal Initiation
Authentication
Signal Confirmation
Motor OFF
Motor ON
Video Demonstration:
A complete video demonstration of the prototype is available in the
following links
1)http://www.youtube.com/watch?v=ZvzRmOKBkmU
2)https://drive.google.com/file/d/0BzQ3khXLWoDyNjBKanJTdXlmZjA/edit?usp=sharing
SL No
Component
Cost
Microcontroller Board
Rs 450
(PV89V52 RD2)
2
USB Connector
Rs 50
LCD Display
Rs 150
TSOP IR SENSOR
Rs 60
Jumper Wires
Rs 200
IR Receiver Module
Rs 80
Rs 80
Rs 150
Miscellaneous
Rs 500
Total
Rs 1720
References:I.
www.hydrology.nl/images/docs/dutch/2006.06.07_Bandara.pdf
II.
www.iwmi.cgiar.org/Publications/IWMI_Research.../REPORT09.PDF
III.
www.ltinstitute.com/.../Electronics%5CProject%5CPDFProject%5Cprojec..
IV.
SMS based device switching and status monitoring BY ,Yash doshi ,Vaibhav doshi ,Aniket
khedekar,Kaushal joshi Under Guidance Of Mrs. Radha sivadas VIVEKANAND EDUCATION
SOCIETYS POLYTECHNIC, CHEMBUR, MUMBAI-71
V.
VI.
VII.
VIII.
Websites:www.keil.com
www.engineersgarage.com
www.robokits.co.in
www.instructables.com
www.digibay.in
www.google.co.in
Declaration:
We hereby declare that the above given project report
and the project on Extremely Secured Remote accessed irrigation system
is completely done and reported by us and its not liable to any sort of
plagiarism. Information provided here is complete and rightful to our
concern and belief.
Signature
(M.Kiruba Sankar)
(R.Siva Subramaninan)
(C.Ruban Karthik)
Date: 30.4.14
Place: Mepco Schlenk Engineering College, Sivakasi