Input/output (I/O) ports on a computer connect peripheral devices, such as printers, scanners, and portable drives. The following ports and cables are commonly used:

Serial Ports and Cables

A serial port can be either a DB-9, as shown in Figure 1, or a DB-25 male connector. Serial ports transmit one bit of data at a time. To connect a serial device, such as a modem or printer, you must use a serial cable. A serial cable has a maximum length of 50 ft (15.2 m).

Modem Ports and Cables

In addition to the serial cable used to connect an external modem to a computer, a telephone cable connects the modem to a telephone outlet. This cable uses an RJ-11 connector, as shown in Figure 2. A traditional setup of an external modem using a serial cable and a telephone cable is shown in Figure 3.

USB Ports and Cables

The Universal Serial Bus (USB) is a standard interface that connects peripheral devices to a computer. It was originally designed to replace serial and parallel connections. USB devices are hot-swappable, which means that users can connect and disconnect the devices while the computer is powered on. USB connections can be found on computers, cameras, printers, scanners, storage devices, and many other electronic devices. A USB hub connects multiple USB devices. A single USB port in a computer can support up to 127 separate devices with the use of multiple USB hubs. Some devices can also be powered through the USB port, eliminating the need for an external power source. Figure 4 shows USB cables with connectors.

USB 1.1 allowed transmission rates of up to 12 Mb/s in full-speed mode and 1.5 Mb/s in low-speed mode. A USB 1.1 cable has a maximum length of 9.8 ft (3 m). USB 2.0 allows transmission speeds up to 480 Mb/s. A USB 2.0 cable has a maximum length of 16.4 ft (5 m). USB devices can only transfer data up to the maximum speed allowed by the specific port. USB 3.0 allows transmission speeds up to 5 Gb/s. USB 3.0 is backward-compatible with previous versions of USB. A USB 3.0 cable does not have a maximum defined length, although a maximum length of 9.8 ft (3 m) is generally accepted.

FireWire Ports and Cables

FireWire is a high-speed, hot-swappable interface that connects peripheral devices to a computer. A single FireWire port in a computer can support up to 63 devices. Some devices can also be powered through the FireWire port, eliminating the need for an external power source. FireWire uses the Institute of Electrical and Electronics Engineers (IEEE) 1394 standard and is also known as i.Link. The IEEE creates publications and standards for technology. Figure 5 shows FireWire cables with connectors.

The IEEE 1394a standard supports data rates up to 400 Mb/s for cable lengths of 15 ft (4.5 m) or less. This standard uses a 4-pin or 6-pin connector. The IEEE 1394b and IEEE 1394c standards allow for a greater range of connections, including CAT5 UTP and optical fiber. Depending on the media used, data rates are supported up to 3.2 Gb/s for distances of 328 ft (100 m) or less.

Parallel Ports and Cables

A parallel port on a computer is a standard Type A DB-25 female connector. The parallel connector on a printer is a standard Type B 36-pin Centronics connector. Some newer printers may use a Type C high-density 36-pin connector. Parallel ports can transmit 8 bits of data at one time and use the IEEE 1284 standard. To connect a parallel device, such as a printer, you must use a parallel cable. A parallel cable, as shown in Figure 6, has a maximum length of 15 ft (4.5 m).

eSATA Data Cables

The eSATA cable connects SATA devices to the eSATA interface using a 7-pin data cable. This cable does not supply any power to the SATA external disk. A separate power cable provides power to the disk.

SCSI Ports and Cables

A SCSI port can transmit parallel data at rates in excess of 320 Mb/s and can support up to 15 devices. If a single SCSI device is connected to a SCSI port, the cable can be up to 80 ft long (24.4 m). If multiple SCSI devices are connected to a SCSI port, the cable can be up to 40 ft (12.2 m). A SCSI port on a computer can be a 25-pin, 50-pin, or 80-pin connector, as shown in Figure 7.

NOTE: A SCSI device must terminate at the endpoint of the SCSI chain. Check the device manual for termination procedures.

CAUTION: Some SCSI connectors resemble parallel connectors. Be careful not to connect the cable to the wrong port. The voltage used in the SCSI format may damage the parallel interface. SCSI connectors should be clearly labeled.

Network Ports and Cables

A network port, also known as an RJ-45 port, has 8 pins and connects a computer to a network. The connection speed depends on the type of network port. Standard Ethernet can transmit up to 10 Mb/s, Fast Ethernet can transmit up to 100 Mb/s, and Gigabit Ethernet can transmit up to 1000 Mb/s. The maximum length of network cable is 328 ft (100 m). A network connector is shown in Figure 8.

PS/2 Ports

A PS/2 port connects a keyboard or a mouse to a computer. The PS/2 port is a 6-pin mini-DIN female connector. The connectors for the keyboard and mouse are often colored differently, as shown in Figure 9. If the ports are not color-coded, look for a small figure of a mouse or keyboard next to each port.

Audio Ports

An audio port connects audio devices to the computer. Some of the following audio ports are commonly used, as shown in Figure 10: