ArticleslgStudy

computer science

RS-232

RS-232 is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand RS-232 rather than just read about it. In short: In telecommunications, RS-232 or Recommended Standard 232 is a standard introduced in 1960 for serial communication transmission of data. It formally defines signals connecting between a DTE (data terminal equipment) such as a computer terminal or PC, and a DCE (data circuit-terminating equipment or data communication equipment), such as a modem.

RS-232 — main illustration
RS-232 — illustration

Key takeaways

  • RS-232 belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect RS-232 to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of RS-232 from memory before moving on to harder problems.

Reference excerpt

In telecommunications, RS-232 or Recommended Standard 232 is a standard introduced in 1960 for serial communication transmission of data. It formally defines signals connecting between a DTE (data terminal equipment) such as a computer terminal or PC, and a DCE (data circuit-terminating equipment or data communication equipment), such as a modem. The standard defines the electrical characteristics and timing of signals, the meaning of signals, and the physical size and pinout of connectors. The current version of the standard is TIA-232-F Interface Between Data Terminal Equipment and Data Circuit-Terminating Equipment Employing Serial Binary Data Interchange, issued in 1997. The RS-232 standard is commonly used with serial ports and serial cables. It is widely used in industrial communication devices. A serial port complying with the RS-232 standard was once a standard feature of many types of computers. Personal computers used them for connections not only to modems, but also to printers, computer mice, data storage, uninterruptible power supplies, and other peripheral devices. Compared with later interfaces such as RS-422, RS-485 and Ethernet, RS-232 has lower transmission speed, shorter maximum cable length, larger voltage swing, larger standard connectors, no multipoint capability and limited multidrop capability. In modern personal computers, USB has displaced RS-232 from most of its peripheral interface roles. Thanks to their simplicity and past ubiquity, however, RS-232 interfaces are still used—particularly in industrial CNC machines, networking equipment and scientific instruments where a short-range, point-to-point, low-speed wired data connection is fully adequate.

Scope of the standard The Electronic Industries Association (EIA) standard RS-232-C as of 1969 defines:

Electrical signal characteristics such as logic levels, baud rate, timing, and slew rate of signals, voltage withstand level, short-circuit behavior, and maximum load capacitance. Interface mechanical characteristics, pluggable connectors and pin identification. Functions of each circuit in the interface connector. Standard subsets of interface circuits for selected telecom applications. The standard does not define such elements as the character encoding (i.e. ASCII, EBCDIC, or others), the framing of characters (start or stop bits, etc.), transmission order of bits, or error detection protocols. The character format and transmission bit rate are set by the serial port hardware, typically a UART, which may also contain circuits to convert the internal logic levels to RS-232 compatible signal levels. The standard does not define bit rates for transmission, except that it says it is intended for bit rates lower than 20,000 bits per second.

History RS-232 was first introduced in 1960 by the Electronic Industries Association (EIA) as a Recommended Standard. The original DTEs were electromechanical teletypewriters, and the original DCEs were (usually) modems. When electronic terminals (smart and dumb) began to be used, they were often designed to be interchangeable with teletypewriters, and so supported RS-232.

Revisions A through C Throughout the 1960s, the 232 Standard underwent a few iterations following the major innovations in computer and networking technology. In October 1963, the EIA published its first revision, EIA RS-232-A. This revision introduced iterative improvements including different connector types and different voltage ranges. In October 1965, the EIA published EIA RS-232-B. This revision increased the capacitance specifications to allow longer cable lengths and increase signal timing. It also dropped the voltage from 25 Vpp to 15 Vpp. In August of 1969, the EIA published EIA RS-232-C: Interface Between Data Terminal Equipment and Data Communication Equipment Employing Serial Binary Data Interchange. This revision dropped the voltage down to 12 Vpp and introduced the use of Data Communication Equipment (DCE) modems with the standard.

RS-232 Modernization and Revision D As technology progressed, the RS-232 standard was starting to become obsolete. In 1975, modifications to the RS-232 standard resulted in the creation of its supposed successor, the EIA RS-422 standard. However, as the RS-422 standard was being developed, the RS-232 standard was gaining popularity for use in computing, so the standard was updated to accommodate legacy systems and its continued usage. In 1981, the EIA dropped the Recommended Standard (RS) nomenclature for all of their published standards and republished the 232 standard as EIA-232-C. In 1986, the EIA published ANSI/EIA-232-D. The revision included major changes including incorporating the DB-25 connector as part of the standard (it was only referenced in the appendix of RS-232-C), and setting the circuit capacitance limit to 2.5 nF.

Telecommunications Industry Association and Revision E In 1988, the Telecommunications Industry Association (TIA) was founded, as part of a merger of several organizations under the EIA. In 1991, the TIA and the EIA, together, released ANSI/EIA/TIA-232-E-1991: Interface Between Data Terminal Equipment and Data Communications Equipment Employing Serial Binary Data Interchange, adding the smaller standard D-shell 26-pin "Alt A" connector, and made other changes to improve compatibility with ITU-T/CCITT V.24 (circuit identification), ITU-T/CCITT V.28 (signal voltage and timing characteristics) and ISO 2110.

EIA Name Change and Revision F In 1997, the Electronic Industries Association reorganized under the Electronics Industries Alliance, with the Telecommunications Industry Association serving as its subsidiary. That October, the TIA published TIA ANSI/TIA/EIA-232-F: Interface between Data Terminal Equipment and Data Circuit-Terminating Equipment Employing Serial Binary Data Interchange. In 2002, the EIA delegated the standard entirely to the TIA, and Revision F was republished under TIA ANSI/TIA-232-F (R 2002), by the TR-30 Multi-Media Access, Protocols and Interfaces committee.

Post EIA Dissolution Following the dissolution of the Electronic Industries Alliance, the TIA reaffirmed the standard as TIA TIA-232-F (R 2012) in 2012 with no official changes or revisions. No official changes have been made to the standard since.

… excerpt ends here. Continue reading the full article.

Illustrations

RS-232 illustration
RS-232: A DB-25 connector as described in the RS-232 standard
A DB-25 connector as described in the RS-232 standard
RS-232: PCI Express x1 card with one RS-232 port on a nine-pin connector
PCI Express x1 card with one RS-232 port on a nine-pin connector
RS-232: Diagrammatic oscilloscope trace of voltage levels for an ASCII "K" character (4Bh = 01001011b) with 1 start bit, 8 data bits (least significant bit first), 1 stop bit. This is typical for start-stop communications, but the standard does not dictate a character format or bit order.
Diagrammatic oscilloscope trace of voltage levels for an ASCII "K" character (4Bh = 01001011b) with 1 start bit, 8 data bits (least significant bit first), 1 stop bit. This is typical for start-stop communications, but the standard does not dictate a character format or bit order.
RS-232: RS-232 data line on the terminals of the receiver side (RxD) probed by an oscilloscope (for an ASCII "K" character (4Bh = 01001011b) with 1 start bit, 8 data bits, 1 stop bit, and no parity bits)
RS-232 data line on the terminals of the receiver side (RxD) probed by an oscilloscope (for an ASCII "K" character (4Bh = 01001011b) with 1 start bit, 8 data bits, 1 stop bit, and no parity bits)

Worked examples

Example 1 — a first encounter with RS-232

Start with the simplest possible case. Write down what RS-232 claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to RS-232 before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about RS-232 ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of RS-232

In research
RS-232 appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses RS-232 in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
RS-232 is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer-related introductions in 1960, Computer hardware standards, EIA standards, so understanding it makes those chapters shorter.
In everyday life
Look for RS-232 outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study RS-232 in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what RS-232 means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain RS-232 out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is RS-232 in simple terms?

In telecommunications, RS-232 or Recommended Standard 232 is a standard introduced in 1960 for serial communication transmission of data. It formally defines signals connecting between a DTE (data terminal equipment) such as a computer terminal or PC, and a DCE (data circuit-terminating equipment o…

Why does RS-232 matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study RS-232?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on RS-232.

Tags

  • Computer-related introductions in 1960
  • Computer hardware standards
  • EIA standards
  • Networking standards
  • Telecommunications equipment

Keep exploring