Category: Main page » Computer

RS-232 interface

pinout

RS232 is a serial interface. It can be found in many different applications where the most common ones are modems and Personal Computers.

25 pin D-SUB male
25 pin D-SUB male connector  at the DTE (Computer)

RS-232 is simple, universal, well understood and supported. It was introduced in 1962, and despite rumors for its early demise, has remained widely used through the industry.

The RS232 signals are represented by voltage levels with respect to a system common (power / logic ground). The "idle" state (MARK) has the signal level negative with respect to common, and the "active" state (SPACE) has the signal level positive with respect to common. RS232 has numerous handshaking lines (primarily used with modems), and also specifies a communications protocol.

The RS-232 interface presupposes a common ground between the DTE and DCE. This is a reasonable assumption when a short cable connects the DTE to the DCE, but with longer lines and connections between devices that may be on different electrical busses with different grounds, this may not be true. RS232 data is bi-polar. +3 to +12 volts indicates an "ON or 0-state (SPACE) condition" while A -3 to -12 volts indicates an "OFF" 1-state (MARK) condition. Modern computer equipment ignores the negative level and accepts a zero voltage level as the "OFF" state. In fact, the "ON" state may be achieved with lesser positive potential. This means circuits powered by 5 VDC are capable of driving RS232 circuits directly, however, the overall range that the RS232 signal may be transmitted/received may be dramatically reduced. The output signal level usually swings between +12V and -12V. The "dead area" between +3v and -3v is designed to absorb line noise. In the various RS-232-like definitions this dead area may vary. For instance, the definition for V.10 has a dead area from +0.3v to -0.3v. Many receivers designed for RS-232 are sensitive to differentials of 1v or less.

Pin Name ITU-T Dir Description
1GND101---Shield Ground
2TXD103-->Transmit Data
3RXD104<--Receive Data
4RTS105-->Request to Send
5CTS106<--Clear to Send
6DSR107<--Data Set Ready
7GND102---System Ground
8CD109<--Carrier Detect
9--RESERVED
10--RESERVED
11STF126-->Select Transmit Channel
12S.CD?<--Secondary Carrier Detect
13S.CTS?<--Secondary Clear to Send
14S.TXD?-->Secondary Transmit Data
15TCK114<--Transmission Signal Element Timing
16S.RXD?<--Secondary Receive Data
17RCK115<--Receiver Signal Element Timing
18LL141-->Local Loop Control
19S.RTS?-->Secondary Request to Send
20DTR108-->Data Terminal Ready
21RL140-->Remote Loop Control
22RI125<--Ring Indicator
23DSR111-->Data Signal Rate Selector
24XCK113-->Transmit Signal Element Timing
25TI142<--Test Indicator

Data is transmitted and received on pins 2 and 3 respectively. Data Set Ready (DSR) is an indication from the Data Set (i.e., the modem or DSU/CSU) that it is on. Similarly, DTR indicates to the Data Set that the DTE is on. Data Carrier Detect (DCD) indicates that a good carrier is being received from the remote modem.

Pins 4 RTS (Request To Send - from the transmitting computer) and 5 CTS (Clear To Send - from the Data set) are used to control. In most Asynchronous situations, RTS and CTS are constantly on throughout the communication session. However where the DTE is connected to a multipoint line, RTS is used to turn carrier on the modem on and off. On a multipoint line, it"s imperative that only one station is transmitting at a time (because they share the return phone pair). When a station wants to transmit, it raises RTS. The modem turns on carrier, typically waits a few milliseconds for carrier to stabilize, and then raises CTS. The DTE transmits when it sees CTS up. When the station has finished its transmission, it drops RTS and the modem drops CTS and carrier together.

Clock signals (pins 15, 17, & 24) are only used for synchronous communications. The modem or DSU extracts the clock from the data stream and provides a steady clock signal to the DTE. Note that the transmit and receive clock signals do not have to be the same, or even at the same baud rate.

Some specs

SPECIFICATIONS RS232
Mode of OperationSINGLE
-ENDED
Total Number of Drivers and Receivers on One Line1 DRIVER
1 RECVR
Maximum Cable Length50 FT.
Maximum Data Rate20kb/s
Maximum Driver Output Voltage+/-25V
Driver Output Signal Level (Loaded Min.)Loaded+/-5V to +/-15V
Driver Output Signal Level (Unloaded Max)Unloaded+/-25V
Driver Load Impedance (Ohms)3k to 7k
Max. Driver Current in High Z StatePower OnN/A
Max. Driver Current in High Z StatePower Off+/-6mA @ +/-2v
Slew Rate (Max.)30V/uS
Receiver Input Voltage Range+/-15V
Receiver Input Sensitivity+/-3V
Receiver Input Resistance (Ohms)3k to 7k

Note: Direction is DTE (Computer) relative DCE (Modem).
Note: Do not connect SHIELD(1) to GND(7).

25 pin D-SUB female
25 pin D-SUB female connector  at the DCE (Modem)

Source:www.pinouts.ru


This page no comment. You can be the first.

Your name:
Your Email:

Comment:
Type the characters: *
captcha
Refresh