Try CircuitLens

Reference sheets

UART baud & framing

UART baud rate & framing cheat sheet

UART (Universal Asynchronous Receiver-Transmitter) has no shared clock wire, so the two ends have to agree in advance on how fast bits arrive and how each byte is packaged. The baud rate is only one of several settings both sides must match, not the whole story. Get the baud rate right but the framing wrong and the result usually isn't a clean failure — it's a stream of garbled characters, because the receiver ends up sampling the line at the wrong moments.

A UART frame starts from an idle line held high, then a start bit pulls it low for one bit time to mark the beginning of a byte and let the receiver sync to it. Next come the data bits — typically 8, though some devices use 5 to 9 — sent least-significant-bit first. An optional parity bit (none, even, or odd) can follow for basic error checking, and then one or occasionally two stop bits (1.5 stop bits shows up on some old hardware) return the line to idle high to mark the end of the frame.

Both ends must agree on all four settings together — baud rate, data bit count, parity, and stop bit count — which is why they're usually written as shorthand like '8N1' (8 data bits, no parity, 1 stop bit), by far the most common configuration today. Get any single one of these wrong, even with the baud rate matching, and you'll see garbled bytes or framing errors instead of a working link.

When probing an unknown board, 8N1 is a safe framing guess almost always — the real unknown is usually just the baud rate. Try 115200 and 9600 first since they cover most devices, and if an ESP8266 boot log looks like garbage at 115200, try 74880 before assuming the port is dead. A logic analyzer's auto-baud or protocol decoder (or measuring the shortest pulse width in the data stream with a scope) will nail down an unfamiliar rate quickly. The often-quoted "must match within ~2-3%" rule for baud-rate mismatches is a rough guideline, not a hard spec — the actual tolerable error depends on the specific UART's oversampling and each frame's bit count, so treat it as a ballpark rather than a design threshold.

More reference sheets