原文?/p>
Serial Communication via RS232 Port
By Harsha Perla and Veena Pai
from:
http://electrosofts.com/index.html
RS232
is
the
most
known
serial
port
used
in
transmitting
the
data
in
communication and interface. Even though serial port is harder to program than the
parallel port, this is the most effective method in which the data transmission requires
less
wires
that
yields
to
the
less
cost.
The
RS232
is
the
communication
line
which
enables the data transmission by only using three wire links. The three links provides
„transmit? „receive?nbsp;and common ground.
..
The
„transmit?nbsp;
and
„receive?nbsp;
line
on
this
connecter
send
and
receive
data
between
the
computers.
As
the
name
indicates,
the
data
is
transmitted
serially.
The
two pins are TXD & RXD. There are other lines on this port as RTS, CTS, DSR, DTR,
and RTS, RI. The ??nbsp;and ??nbsp;are the data which defines a voltage level of 3V to 25V
and -3V to -25V respectively.
The
electrical
characteristics
of
the
serial
port
as
per
the
EIA
(Electronics
Industry Association) RS232C Standard specifies a maximum baud rate of 20,000bps,
which is slow compared to today‟s standard speed. For this reason, we have chosen
the new RS-232D Standard, which was recently released.
The
RS-232D
has
existed
in
two
types.
i.e.,
D-TYPE
25
pin
connector
and
D-TYPE 9 pin connector, which are male connectors on the back of the PC. You need
a
female
connector
on
your
communication
from
Host
to
Guest
computer.
The
pin
outs of both D-9 & D-25 are show below.