We are independent & ad-supported. We may earn a commission for purchases made through our links.
Advertiser Disclosure
Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.
How We Make Money
We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently of our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.
Hardware

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

What is Serial Communication?

By Kurt Inman
Updated: May 16, 2024
Views: 12,416
Share

Serial communication is a data transmission method which sends information one bit at a time from device to device. Many different serial standards have been developed over the years for both low-speed and high-speed device bandwidths. Data can usually be exchanged over much greater distances using serial rather than parallel communication. Serial communication is usually used to connect printers, terminals and cameras to computers. It is also used to interface to external hard drives, digital video disc (DVD) drives and flash memory devices.

Since only one bit of data is sent at a time in serial communication, fewer wires are needed compared to a parallel interface. A very minimal connection may only include one wire for data and another for a ground reference. In practice, many serial links also include several handshaking signals as well as a data line in each direction. The universal serial bus (USB), commonly used to connect computers and peripherals, uses only four or five signals, two of which are for power. Recommended standard (RS) 232 serial connections may used up to 20 signals, depending on the implementation.

Fewer signals generally allow a serial communication link to be clocked faster and operated more reliably over long distances. Parallel communication can introduce skew or interference between data bits as they travel together down a long link. RS 232 serial connections 1,000-feet (300 meters) or longer can usually be operated at more than 115,200 bits per second. In contrast, USB 2.0 links are often used to connect high-bandwidth storage devices to computer systems. They can generally exchange data at up to 480 megabits per second, but cables are limited to 16 feet (5 meters) between hubs.

When data is transmitted across a serial link, the receiver must have a way to tell when each byte ends and the next one begins. In asynchronous serial communication, the sender inserts a "start" bit before the bits of each byte are sent. The start bit also synchronizes an internal clock to help break down the rest of the received frame into individual bits. This is the most commonly used RS 232 synchronization method. In synchronous serial communication, a separate clock signal is used to indicate when each bit and byte is complete.

Before an RS 232 data exchange begins, devices on both sides must be set to use the same number of data and stop bits, as well as the same parity type. Eight data bits, one stop bit and no parity is a frequent configuration, commonly expressed as 8N1. If mark or space parity is being used, the parity bit is correspondingly set to either one or zero by the sender. If even or odd parity is being used, the parity bit is set to a value which will make the total number of one bits even or odd. The receiver checks the value of the received parity bit, if there is one, and indicates an error if it does not match the expected value.

In addition to the parity check, one or more software serial communication protocols may be employed to guard against data transmission errors. For example, XMODEM or ZMODEM protocol is often used for file transfers between computers over an RS 232 serial link. These protocols were originally designed to be used with a dial-up telephone-based modem at each end of the link but also operates without them. Each protocol includes the validation of a Cyclic Redundancy Check (CRC) checksum computed for the data being sent. If modems are present, they also perform similar CRC checks in hardware throughout the transmission.

Share
EasyTechJunkie is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.
Discussion Comments
By anon150917 — On Feb 09, 2011

what's the difference between -serial and parallel; usb and firewire; scsi and ps2; and berg and molex?

Share
https://www.easytechjunkie.com/what-is-serial-communication.htm
Copy this link
EasyTechJunkie, in your inbox

Our latest articles, guides, and more, delivered daily.

EasyTechJunkie, in your inbox

Our latest articles, guides, and more, delivered daily.