This document describes a wireless agro device control system designed to help farmers control electrical appliances on their farms wirelessly. The key components include an AT89C51 microcontroller, LAB TOOL-48UXP, MAX232 for converting voltage levels, a MOXA NPORT 5110 serial-to-ethernet converter, D-Link 2100 AP router, and solid state relays. The system allows a client computer to wirelessly control devices connected to the microcontroller via TCP/IP communication over the wireless network.
2. INTRODUCTION
Wireless agro device control system is
designed by keeping in mind about the
farmers of our India .This system will help
them to work with their electrical
appliances wirelessly with ease and
comfortably.
6. ATMEL 89C51
The AT89C51 provides the following standard features:
4 Kbytes of Flash,
128 bytes of RAM,
32 I/O lines,
two 16-bit timer/counters,
a five vector two-level interrupt architecture,
a full duplex serial port,
on-chip oscillator and
clock circuitry.
9. About RS 232:
A popular way to transfer commands and data between a personal computer
and a microcontroller is the use of standard interface, like RS232.
The protocol RS232 defines the signals used in communication, and the
hardware to transfer signals between devices.
The standard defines voltage levels V(0) to be at least +5V at the
transmitting end of the line TX, and can be degraded along the line to
become at least +3V at the receiving and of the line.
Similarly voltage level V(1) must be at least 5V at TX, and at least 3V at‐ ‐
RX.
The standard also defined the upper limit for these voltages to be up to
±15V. Logic high is transferred as V(0).
The microcontroller cannot handle such voltage levels, so typically a voltage
level translator is inserted between the microcontroller and the connector
where the RS232 signals are available.
11. About MAX232:
The MAX232 is an IC, first created in 1987 by Maxim Integrated Products, that
converts signals from an RS-232 serial port to signals suitable for use in TTL
compatible digital logic circuits.
The MAX232 is a dual driver/receiver and typically converts the RX, TX, CTS
and RTS signals.
It is helpful to understand what occurs to the voltage levels. When a MAX232
IC receives a TTL level to convert, it changes a TTL logic 0 to between +3 and
+15 V, and changes TTL logic 1 to between -3 to -15 V, and vice versa for
converting from RS232 to TTL.
The MAX232(A) has two receivers (converts from RS-232 to TTL voltage
levels), and two drivers (converts from TTL logic to RS-232 voltage levels).
This means only two of the RS-232 signals can be converted in each direction.
Typically, a pair of a driver/receiver of the MAX232 is used for TX and RX
signals, and the second one for CTS and RTS signals.
13. About SSR:
A solid-state relay (SSR) is an electronic switching device
that switches on or off when a small external voltage is applied
across its control terminals.
SSRs consist of a sensor which responds to an appropriate input
(control signal), a solid-state electronic switching device which
switches power to the load circuitry, and a coupling mechanism
to enable the control signal to activate this switch without
mechanical parts.
The relay may be designed to switch either AC or DC to the
load. It serves the same function as an electromechanical relay,
but has no moving parts.
15. About MOXA:
This 1-port Serial to Ethernet (also called a serial device server) has one
RS232 port and can be used for most basic and advanced applications;
1-port Serial RS232 to Ethernet converter
High performance and reliability MOXA brand
Many advanced features and functions
Indication LED lights
Virtual COM management software included
Management software works with Windows and Linux
Power supply included
17. About D-link:
It’s best to use a computer (with an Ethernet adapter) that is connected
to a switch for configuring the DWL-2100AP.
The default IP address for the DWL-2100AP is 192.168.0.50 with a
Subnet Mask of 255.255.255.0.
We will need to assign your computer a Static IP address within the
same range as the DWL-2100AP’s IP address for the purpose of
configuring the DWL-2100AP.
18. Lab tool-48uxp
USB or parallel port interface with auto-switch power
Support 5V and 3.3V low voltage devices, 1.8V chip support
through low voltage adapter.
Less then 2 seconds per Mbit Programming speed for high density
flash chip.
No adapter required for DIL chip up to 48-pin
48-pin universal pin driver and current limit
Auto-sense/ Self programming with statistical report
Device insertion /continuity check
Universal adapter for 44-pin PLCC/ QFP/ TQFP/PSOP and
40/48 TSOP
Supports OS : Windows 95 / 98 / ME / NT / 2000 /
XP / Vista(32bit) / 7(32bit) (Parallel port)
19. PROCEDURE
First take AT89s52 microcontroller and dump the program in it by using the
kit LAB TOOL UXP.
Make the hardware connection as follows:
connect the crystal oscillator and reset switch to microcontroller .
connect max232 to microcontroller for converting TTL to RS232
voltage.
connect MOXA(serial to ethernet converter) to MAX232.
connect ROUTER(D-LINK) to MOXA.
• Now write client TCP/IP program in client like laptop or pc. Define the
server(MOXA) ip address and port number in the program.
20. ADVANTAGES
Wireless agro device control system is benificial in the ways like:
::: protecting the people working in farm fields from
getting electrical shock when coming contact with electrical
equipments like motor etc.
::: farmer can perform multitasks rather than wasting time
in only one work like switching on and off according to its
requirement.
21. FUTURE SCOPE
Now we are using the technology of server and client TCP/IP
protocol through wifi.
We can futher implement it by using WHITE FI wireless
internet available in rural areas in future.
White-fi is a term being used to describe the use of a Wi-
Fi technology within the TV unused spectrum, or
TV white space.
22. CONCLUSION
Wireless agro devices control system is not only for the farmers
but can be applied in any field of agro like poultry , hatchery,
dairy farm etc…
This application can also be useful in the process of making
DIGITAL INDIA.