Serial, RS232: Difference between revisions

From doityourselfchristmas.com
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:




==Voltages==
The signal level of the <strong>RS232</strong> signal can have two states. A high bit, or mark
state is identified by a <em>negative</em> voltage and a low bit or space
state uses a <em>positive</em> value. This might be a bit confusing, because
in normal circumstances, high logical values are defined by high voltages
also. The voltage limitations are shown below.
<center>
<table class="pinout">
<caption>RS232 voltage values</caption>
<tr><th>Level</th><th>Transmitter<br>capable (V)</th><th>Receiver<br>capable (V)</th></tr>
<tr class="odd"><td>Space state (0)</td><td align="center">+5 ... +15</td><td align="center">+3 ... +25</td></tr>
<tr class="even"><td>Mark state (1)</td><td align="center">-5 ... -15</td><td align="center">-3 ... -25</td></tr>
<tr class="odd"><td>Undefined</td><td align="center">-</td><td align="center">-3 ... +3</td></tr>
</table>
</center>


== Achievable distances==
== Achievable distances==

Revision as of 15:14, 17 March 2009

Overview

Communication as defined in the RS232 standard is an asynchronous serial communication method. The word serial means, that the information is sent one bit at a time. Asynchronous tells us that the information is not sent in predefined time slots. Data transfer can start at any given time and it is the task of the receiver to detect when a message starts and ends.



Voltages

The signal level of the RS232 signal can have two states. A high bit, or mark state is identified by a negative voltage and a low bit or space state uses a positive value. This might be a bit confusing, because in normal circumstances, high logical values are defined by high voltages also. The voltage limitations are shown below.

RS232 voltage values
LevelTransmitter
capable (V)
Receiver
capable (V)
Space state (0)+5 ... +15+3 ... +25
Mark state (1)-5 ... -15-3 ... -25
Undefined--3 ... +3

Achievable distances

RS232 cable length according to Texas Instruments
Baud rateMaximum cable length (ft)
1920050
9600500
48001000
24003000

External Links