Courses
Resources
STEM Centre
UART Communication Protocol
A fundamental communication protocol used for asynchronous serial data transfer between devices.
What is UART?
UART, or Universal Asynchronous Receiver/Transmitter, is a hardware and protocol specification used in serial communication between devices. Unlike SPI or I2C, UART communication does not require a clock to synchronize the sending and receiving units, relying instead on start and stop bits to frame the data.
Description
UART setups typically involve two lines: TX (transmit) and RX (receive), facilitating full-duplex communication. Each UART frame of data contains a start bit, data bits, parity bit (optional), and stop bits. This setup allows UART to handle asynchronous data transmission reliably.
Key Features of UART
- Asynchronous Communication: No clock signal is needed, as devices synchronize with each data packet.
- Full-Duplex Capability: Can transmit and receive data simultaneously.
- Error Checking: Optional parity bit helps in detecting errors in the transmission.
- Configurable Speed and Data Format: Bit rates and data frame sizes can be adjusted to meet specific communication needs.
Application Areas
Consumer Electronics: Commonly used in GPS receivers, and for communication between microcontrollers and computer systems.
Industrial Automation: Facilitates data exchange between various controllers and sensors.
Telecommunication: Supports data transmission for cellular modules and similar devices.
Conventions
UART is widely utilized in environments requiring simple, direct connections without the complexity of a clock line, especially useful in point-to-point communications.
Pros and Cons
Pros:
- Simple implementation without the need for a dedicated clock line.
- Flexible configuration of data format and speed to suit specific application needs.
- Widespread support across a range of microcontroller and processor platforms.
Cons:
- Limited to two devices per communication line, hindering scalability.
- Requires careful configuration of baud rates between devices to ensure successful communication.
- Slower than protocols like SPI and lacks advanced features such as built-in collision detection or multi-master capability.
If you liked this, you might like these too

My Robot Duck Finally Wakes Up, Smoke and All
Episode 4 of my Open Duck Mini v2 build: power, software, a flat-topped battery that never touched the contact, a little magic smoke and an Xbox controller driving the head, ears and eyes.
29 Nov 26

The Rent Algorithm: How Pricing Software Taught Rival Landlords to Stop Competing
Millions of US apartments had their rents set with help from the same piece of software. Here's how RealPage's pricing algorithm worked, why the US Justice Department called it a cartel without a meeting room, and what the settlement changes.
27 Nov 26

The Middle-Seat Trap: How Airline Algorithms Monetize Your Discomfort
Skip the seat-selection fee and you'll often land in a middle seat, even on a half-empty plane. Here's how airline seat-allocation algorithms and fare tiers turn the least popular seat into a revenue engine.
20 Nov 26