Citizendia
Your Ad Here

A male DE-9 connector used for a serial port on a PC style computer.
A male DE-9 connector used for a serial port on a PC style computer. In Electrical and mechanical trades and manufacturing each of a pair of mating connectors or Fasteners is conventionally assigned the designation male The D-subminiature or D-sub is a common type of Electrical connector used particularly in Computers Calling them "subminiature" was appropriate IBM PC compatible computers are those generally similar to the original IBM PC, XT, and AT.
A male Mini DIN-8 connector used for a serial port on a Macintosh or SGI style computer.
A male Mini DIN-8 connector used for a serial port on a Macintosh or SGI style computer. In Electrical and mechanical trades and manufacturing each of a pair of mating connectors or Fasteners is conventionally assigned the designation male The mini-DIN connectors are a family of multi-pin Electrical connectors used in a variety of applications Macintosh, commonly nicknamed Mac is a Brand name which covers several lines of Personal computers designed developed and marketed by Apple Inc Silicon Graphics Inc (commonly initialised to SGI, historically sometimes referred to as Silicon Graphics Computer Systems or SGCS) is a company

In computing, a serial port is a serial communication physical interface through which information transfers in or out one bit at a time (contrast parallel port). Computing is usually defined like the activity of using and developing Computer technology Computer hardware and software. In Telecommunication and Computer science, serial communication is the process of sending data one Bit at one time sequentially over a Communication A bit is a binary digit, taking a value of either 0 or 1 Binary digits are a basic unit of Information storage and communication A parallel port is a type of interface found on Computers ( personal and otherwise for connecting various peripherals Throughout most of the history of personal computers, data transfer through serial ports connected the computer to devices such as terminals and various peripherals. A personal computer ( PC) is any Computer whose original sales price size and capabilities make it useful for individuals and which is intended to be operated A computer terminal is an electronic or electromechanical hardware device that is used for entering data into and displaying data from a Computer or a Computing

While such interfaces as Ethernet, FireWire, and USB all send data as a serial stream, the term "serial port" usually identifies hardware more or less compliant to the RS-232 standard, intended to interface with a modem or with a similar communication device. Ethernet is a family of frame -based Computer networking technologies for Local area networks (LANs The IEEE 1394 interface is a serial bus Interface standard for high-speed communications and Isochronous real-time data transfer frequently In computing the term stream is used in a number of ways in all cases referring to a succession of data elements made available over time In Telecommunications, RS-232 (Recommended Standard 232 is a standard for serial binary data signals connecting between a DTE ( Data Terminal Equipment Modem (from mo dulator- dem odulator is a device that modulates an analog carrier signal to encode Digital information

For many computer peripheral devices the USB interface has replaced the serial port — as of 2007, most modern computers are connected to devices through a USB connection. While nearly every server has a serial port, many modern low-end workstations and laptops often don't have one. The serial port is omitted for cost savings, and is considered to be a legacy port. A legacy port is a port or connector on a PC that is considered fully or partially Obsolete. Serial ports can also be found in industrial automation systems, scientific analysis, shop till systems and some industrial and consumer products. Network equipment (such as routers and switches) often have serial ports for configuration. Serial ports are still used in these areas as they are simple, cheap and allow interoperability between devices.

Contents

Hardware

PCI Express card with one serial port
PCI Express card with one serial port

Some computers, such as the IBM PC, used an integrated circuit called a UART, that converted characters to (and from) asynchronous serial form, and automatically looked after the timing and framing of data. Not to be confused with PCI-X, a different bus architecture Peripheral Component Interconnect Express, officially abbreviated as PCI-E Microchipsjpg|right|thumb|200px|Microchips ( EPROM memory with a transparent window showing the integrated circuit inside A universal asynchronous receiver/transmitter (usually abbreviated UART and ˈjuːɑrt is a type of "asynchronous receiver/transmitter" a piece of Computer Asynchronous serial communication describes an asynchronous, serial transmission protocol in which a start signal is sent prior to each byte character or code word Asynchronous serial communication describes an asynchronous, serial transmission protocol in which a start signal is sent prior to each byte character or code word Very low-cost systems, such as some early home computers, would instead use the CPU to send the data through an output pin, using the so-called bit-banging technique. A home computer was a class of Personal computer entering the market in 1977 and becoming common during the 1980s In Computing, input/output, or I/O, refers to the communication between an Information processing system (such as a Computer) and the outside Bit-banging is a technique for Serial communications to use software instead of dedicated hardware such as a UART or Shift register.

Many personal computer motherboards still have at least one serial port. However some may only have a pin header, and a flying lead is required to bring the connector out through the case. Small-form-factor systems and laptops, may omit RS 232 ports to conserve space. RS-232 has been standard for so long that the circuits needed to control a serial port became very cheap and often exist on a single chip, sometimes also with circuitry for a parallel port.

Early home computers often had proprietary serial ports with pinouts and voltage levels incompatible with RS-232. A home computer was a class of Personal computer entering the market in 1977 and becoming common during the 1980s Inter-operation with RS-232 devices may be impossible as the serial port cannot withstand the voltage levels produced and may have other differences that "lock in" the user to products of a particular manufacturer. In Economics, vendor lock-in, also known as proprietary lock-in, or customer lock-in, makes a customer dependent on a vendor for products

Low-cost processors now allow higher-speed, but more complex, serial communication standards such as USB and FireWire to replace RS-232. The IEEE 1394 interface is a serial bus Interface standard for high-speed communications and Isochronous real-time data transfer frequently These make it possible to connect devices that would not have operated feasibly over slower serial connections, such as storage devices, sound devices, and video devices.

Connectors

While the RS-232 standard originally specified a 25-pin D-type connector, many designers of personal computers chose to implement only a subset of the full standard: they traded off compatibility with the standard against the use of less costly and more compact connectors (in particular the DE-9 version used by the original IBM PC-AT). The D-subminiature or D-sub is a common type of Electrical connector used particularly in Computers Calling them "subminiature" was appropriate The D-subminiature or D-sub is a common type of Electrical connector used particularly in Computers Calling them "subminiature" was appropriate The IBM Personal Computer/AT, more commonly known as the IBM AT and also sometimes called the PC AT or PC/AT, was IBM 's second-generation The original RS-232 25-pin connector specification defined two separate serial connections, but this was rarely used. Starting around the time of the introduction of the IBM PC-AT, serial ports were commonly built with a 9-pin connector to save cost and space. However, presence of a nine pin D-subminiature connector is neither necessary nor sufficient to indicate use of a serial port, since this connector was also used for video, joysticks, and other purposes.

Some miniaturized electronics, particularly graphing calculators and to a lesser extent handheld amateur and two-way radio equipment, have serial ports using a jack plug connector, usually the smaller 2. A graphing calculator (also known as a graphic calculator or graphical calculator) typically refers to a class of handheld Calculators that are capable of Amateur radio, often called ham radio, is both a Hobby and a service in which participants called "hams" use various types of Radio communications two-way radio is a radio that can both transmit and receive (a Transceiver) unlike a broadcast receiver which only receives content A TRS connector, also called an audio jack, phone plug, jack plug, stereo plug, mini-jack, or mini-stereo, is a common 5 or 3. 5 mm connectors and use the most basic 3-wire interface.

Many models of Macintosh favored the related (but faster) RS-422 standard, mostly using German Mini-DIN connectors, except in the earliest models. Macintosh, commonly nicknamed Mac is a Brand name which covers several lines of Personal computers designed developed and marketed by Apple Inc American national standard ANSI/TIA/EIA-422-B (formerly RS-422) and its international equivalent ITU-T Recommendation V Germany, officially the Federal Republic of Germany ( ˈbʊndəsʁepuˌbliːk ˈdɔʏtʃlant is a Country in Central Europe. The mini-DIN connectors are a family of multi-pin Electrical connectors used in a variety of applications The Macintosh included a standard set of two ports for connection to a printer and a modem, but some PowerBook laptops had only one combined port to save space. The PowerBook is a line of Macintosh Laptop Computers that was designed manufactured and sold by Apple Computer Inc

Hardware abstraction

Operating systems usually use a symbolic name to refer to the serial ports of a computer. Unix-like operating systems usually label the serial port devices /dev/tty* (tty an abbreviation for teletype) where * represents a string identifying the terminal device; the syntax of that string depends on the operating system and the device. Unix (officially trademarked as UNIX, sometimes also written as Unix with Small caps) is a computer A teleprinter ( The Microsoft MS-DOS and Windows environments refer to serial ports as COM ports: COM1, COM2, etc. MS-DOS (short for M icro' s' oft D isk O perating S ystem is an Operating system commercialized by Microsoft. Microsoft Windows is a series of Software Operating systems and Graphical user interfaces produced by Microsoft. COM is the original yet still common name of the Serial port interface on IBM PC-compatible Computers It might not only refer to physical ports but On Linux, 8250/16550 UART hardware serial ports are named /dev/ttyS*, USB adapters appear as /dev/ttyUSB* and various types of virtual serial ports do not necessarily have names starting with tty. Linux (commonly pronounced ˈlɪnəks

Common applications for serial ports

The RS-232 standard is used by many specialised and custom-built devices. This list includes some of the more common devices that are connected to the serial port on a PC. Some of these such as modems and serial mice are falling into disuse while others are readily available.

Settings

Many settings are required for serial connections used for asynchronous start-stop communication, to select speed, number of data bits per character, parity, and number of stop bits per character. Asynchronous serial communication describes an asynchronous, serial transmission protocol in which a start signal is sent prior to each byte character or code word In modern serial ports using a UART integrated circuit, all settings are usually software-controlled; hardware from the 1980s and earlier may require setting switches or jumpers on a circuit board. A universal asynchronous receiver/transmitter (usually abbreviated UART and ˈjuːɑrt is a type of "asynchronous receiver/transmitter" a piece of Computer One of the simplifications made in such serial bus standards as Ethernet, FireWire, and USB is that many of those parameters have fixed values so that users can not and need not change the configuration; the speed is either fixed or automatically negotiated. Often if the settings are entered incorrectly the connection will not be dropped however any data sent will be received on the other end as nonsense.

Speed

Serial ports use two-level (binary) signalling, so the data rate in bits per second is equal to the symbol rate in baud. In Telecommunications and Electronics, baud (ˈbɔːd unit symbol "Bd" is synonymous to symbols/s or pulses/s. These rates are based on multiples of the rates for electromechanical teleprinters. A teleprinter ( The port speed and device speed must match, though some devices may automatically detect the speed of the serial port. Though the RS-232 standard is formally limited to 20,000 bits per second, serial ports on popular personal computers allow for much higher baud rates; the capability to set a bit rate does not imply that a working connection will result. Not all bit rates are possible with all serial ports. Some special-purpose protocols such as MIDI for musical instrument control, use serial data rates other than the above series. MIDI ( Musical Instrument Digital Interface, ˈmɪdi is an industry-standard protocol that enables Electronic musical instruments Computers

The speed includes bits for framing (stop bits, parity, etc. ) and so the effective data rate is lower than the bit transmission rate. For example with 8-N-1 character framing only 80% of the bits are available for data (for every eight bits of data, two more framing bits are sent). 8-N-1 is a common shorthand notation for a Serial port parameter setting or configuration in asynchronous mode in which there are eight ( 8)

Data Bits

The number of data bits in each character can be 5 (for Baudot code), 6 (rarely used), 7 (for true ASCII), 8 (for any kind of data, as this matches the size of a byte), or 9 (rarely used). The Baudot code, invented by Émile Baudot, is a character set predating EBCDIC and ASCII, and the root predecessor to International Telegraph American Standard Code for Information Interchange ( ASCII) A byte (pronounced "bite" baɪt is the basic unit of measurement of information storage in Computer science. 8 data bits are almost universally used in newer applications. 5 or 7 bits generally only make sense with older equipment such as teleprinters. A teleprinter (

Most serial communications designs send the data bits within each byte LSB (Least Significant Bit) first. This standard is also referred to as "little endian". Also possible, but rarely used, is "big endian" or MSB (Most Significant Bit) first serial communications (see Endianness). The order of bits is not usually configurable, but data can be byte-swapped only before sending.

Parity

Main article: Parity bit

Parity is a method of detecting some errors in transmission. Error detection If an odd number of bits (including the parity bit are changed in transmission of a set of bits then parity bit will be incorrect and will thus indicate Where parity is used with a serial port, an extra data bit is sent with each data character, arranged so that the number of 1 bits in each character, including the parity bit, is always odd or always even. If a byte is received with the wrong number of 1 bits, then it must have been corrupted. If parity is correct there has been an even number of errors. Electromechanical teleprinters were arranged to print a special character when received data contained a parity error, to allow detection of messages damaged by line noise. A single parity bit does not allow implementation of error correction on each character, and communication protocols working over serial data links will have higher-level mechanisms to ensure data validity and request retransmission of data that has been incorrectly received. Error detection If an odd number of bits (including the parity bit are changed in transmission of a set of bits then parity bit will be incorrect and will thus indicate In Mathematics, Computer science, Telecommunication, and Information theory, error detection and correction has great practical importance in In the field of Telecommunications, a communications protocol is the set of standard rules for data representation signaling authentication and error detection required to

The parity bit in each character can be set to none (N), odd (O), even (E), mark (M), or space (S). None means that no parity bit is sent at all. Mark parity means that the parity bit is always set to the mark signal condition (logical 1) and likewise space parity always sends the parity bit in the space signal condition. Aside from uncommon applications that use the 9th (parity) bit for some form of addressing or special signalling, mark or space parity is uncommon, as it adds no error detection information. Odd parity is more common than even, since it ensures that at least one state transition occurs in each character, which makes it more reliable. The most common parity setting, however, is "none", with error detection handled by a communication protocol.

Stop bits

Stop bits sent at the end of every character allow the receiving signal hardware to detect the end of a character and to resynchronise with the character stream. Electronic devices usually use one stop bit. If slow electromechanical teleprinters are used, one-and-one half or two stop bits are required. A teleprinter (

Conventional notation

The D/P/S conventional notation specifies the framing of a serial connection. The most common usage on microcomputers is 8/N/1 (8N1). This specifies 8 data bits, no parity, 1 stop bit.

In this notation, the parity bit is not included in the data bits. 7/E/1 (7E1) means that an even parity bit is added to the seven data bits for a total of eight bits between the start and stop bits. If a receiver of a 7/E/1 stream is expecting an 8/N/1 stream, half the possible bytes will be interpreted as having the high bit set.

Flow control

Main article: Flow control

A serial port may use signals in the interface to pause and resume the transmission of data. In Computer networking, flow control is the process of managing the rate of data transmission between two nodes to prevent a fast sender from over running a slow receiver For example, a slow printer might need to handshake with the serial port to indicate that data should be paused while the mechanism advances a line. In Information technology, Telecommunications, and related fields handshaking is an automated process of negotiation that dynamically sets parameters of Common hardware handshake signals use the RS-232 RTS/CTS, DTR/DSR signal circuits. Generally, the RTS and CTS are turned off and on from alternate ends to control data flow, for instance when a buffer is almost full. DTR and DSR are usually on all the time and are used to signal from each end that the other equipment is actually present and powered-up.

Another method of flow control may use special characters such as XON/XOFF to control the flow of data. The XON/XOFF characters are sent by the receiver to the sender to control when the sender will send data, that is, these characters go in the opposite direction to the data being sent. The XON character tells the sender that the receiver is ready for more data. The XOFF character tells the sender to stop sending characters until the receiver is ready again. These are non-printing characters and are interpreted as handshake signals by printers and terminals.

If all possible values of a character must be sent as user data, XON/XOFF handshaking presents difficulties since these codes may appear in user data. Control characters sent as part of the data stream, must be sent as part of an escape sequence to prevent data from being interpreted as flow control. This article refers to codes used as commands for computing devices Since no extra signal circuits are required, XON/XOFF flow control can be done on a 3 wire interface.

"Virtual" serial ports

Main article: Virtual serial port

A virtual serial port is an emulation of the standard serial port. A COM port redirector is a specialized software (often including device driver and user application that includes the underlying network software necessary to access networked device This port is created by software which enable extra serial ports in an operating system without additional hardware installation (such as expansion cards, etc. An expansion card (also expansion board, adapter card or accessory card) in Computing is a Printed circuit board that can be inserted ). Unlike a physical serial port the virtual one can be assigned any name (COM255, VSP33, etc. ). It is possible to create unlimited number of virtual serial ports in your PC. The only limitation is the computer performance, as it may require a substantial amount of resources to emulate large numbers of serial ports.

Virtual serial ports emulate all hardware serial port functionality, including Baud rate, Data bits, Parity bits, Stop bits, etc. In Telecommunications and Electronics, baud (ˈbɔːd unit symbol "Bd" is synonymous to symbols/s or pulses/s. Additionally they allow controlling the data flow, emulating all signal lines (DTR/DSR/CTS/RTS/DCD/RI) and customizing pinout. Virtual serial ports are common with Bluetooth and are the standard way of receiving data from Bluetooth-equipped GPS modules. Bluetooth is a wireless protocol utilizing short-range communications technology facilitating data transmission over short distances from fixed and/or mobile devices creating wireless

Virtual serial port emulation can be useful in case there is a lack of available physical serial ports or they do not meet the current requirements. For instance, virtual serial ports can share data between several applications from one GPS device connected to a serial port. Basic concept of GPS operation A GPS receiver calculates its position by carefully timing the signals sent by the constellation of GPS Satellites high above the Earth Another option is to communicate with any other serial devices via internet or LAN as if they are locally connected to computer (Serial-over-Ethernet technology). Two computers or applications can communicate through an emulated serial port link. Virtual serial port emulators are available for Microsoft Windows and some of them run under Windows CE, Windows Mobile and Pocket PC.

See also

External links

Bluetooth uses a variety of protocols Core protocols are defined by the trade organisation Bluetooth SIG.

Dictionary

serial port

-noun

  1. (computing) a serial communication physical interface through which information transfers in or out one bit at a time
© 2009 citizendia.org; parts available under the terms of GNU Free Documentation License, from http://en.wikipedia.org
Dapyx Software network: MP3 Explorer | Ebook Manager | Zenithic