Beruflich Dokumente
Kultur Dokumente
Introduction
Full name is RS-232-C
RS-232 defines serial, asynchronous communication
RS-232 is a popular communications interface for connecting
modems and data acquisition devices
RS-232 can be plugged straight into the computers serial port
(know as COM or Comm port).
Architecturally RS-232 is a bi-directional point to point link.
Port Details
Architecturally RS-232 is a bi-directional point to point link
also it specifies the use of start and stop bits.
Logical 1 is -15Vdc
Logical 0 is +15Vdc
RS232
One important aspect of RS-232 is that it is an asynchronous form of
communication.
Asynchronous communication is important because it is efficient; if
no data needs to be sent, the connection is idle. No additional
CPU overhead is required for an idle serial line.
RS-232 is a standard by which two serial devices communicate
The connection must be no longer than 50 feet
Transmission voltage are -15V and + 15V
It is designed around transmission of characters of 7 bits of
length.
Type of Communication
Serial Communications
Serial communication, as the name implies, occurs in serial form
through simple, twisted-pair cables.
It allows peripheral equipment, such as terminals, modems, operator
interface panels, and line printers, to receive ASCII information.
RS232 Standard
Interface between Data Terminal Equipment (DTE) and Data
Communication Equipment (DCE) employing serial binary data
interchanges.
Logic 0 : +3V to 15 VDC
Logic 1 : -3V to -15 VDC
Maximum Distance : 15m or 50ft
Parity
Baud Rate
The UART is also responsible for baud rate generation. This
determines the speed at which data is transmitted and received.
One baud is one bit per second (bps). As of this writing, data rates
can reach up to 230,400 baud.
The cable length between devices is limited by the baud rate -- the
higher the speed, the shorter the cable.
The RS-232C standard only permits transmission speeds up to
19200 baud with a cable length of 45 feet. With modern UARTs,
230,400 baud can be achieved with a short cable length of a few
feet.
Limitations
Large-amplitude, bipolar voltage swings complicate power
supply and driver design
Non-differential signaling limits noise immunity
Cable length typically limited to 15m, more with lowcapacitance cables.
Slower than modern serial interfaces, such as USB .
No standard way to connect more than two devices on one bus
Transmission Speed
In RS-232, each signal change represents one bit, so baud rate and
bits per second are equal
Since each 8 bits of data are accompanied by a start and stop bit,
max. data rate is only 8/10 of baud rate
The final sample is taken 9.5 bit periods after the initial falling edge
and must lie within the stop bit
The permissible error is therefore about 0.5 bit period in 9.5 periods
or 5%
There may be errors in both receiver and transmitter, so each should
be accurate to within about 2%
Transmission Format
Every time a character is sent, the same communication occurs:
Start bit sent.
Seven data bits sent.
Stop bit sent.
This communication is dependent on the fact that both devices are
sampling the bits at the same rate.s
Continue..,
However, serial communications between devices also has its
own speed barrier.
RS-232 was designed with the understanding that the analog
world is far from perfect.
Digital is fast, analog is slow. RS-232 is analog, therefore is it
slow (in computing terms).
Signal noise is bad. It is caused by a variety of sources, all of
which lead to lower speeds and less reliable transmission.