Level 3 · Practice

Quadrature

Two square waves, a quarter period out of phase. Nothing to decode here — this is the sniffer board's practice signal, there purely to prove your analyzer is hooked up correctly before you touch a real bus.

There is no data on this signal. Unlike the four protocol pages, nothing here is part of the puzzle. The QUAD header exists purely so you can confirm your logic analyzer, cables, and capture settings actually work before you spend a capture window on a bus that matters.
WiresA + B + GND
SignalTwo square waves, 90° out of phase
EncodesDirection (phase) + amount (edge count)
Here~1 kHz, fixed, always running

A Little History

Quadrature encoding predates digital electronics — it's a mechanical trick for telling rotation direction from two sensors instead of one. Industrial tachometers and rotary encoders have used it for decades. It became a household technology (literally) inside the opto-mechanical computer mouse: a rubber ball turning two small wheels, each interrupting a pair of light beams slightly out of phase with each other — exactly the same signal shape you'll see on the QUAD header.

What It's Actually For

Measuring rotation — direction and amount — without an absolute position sensor. A single square wave from a spinning shaft tells you how fast, but not which way. Add a second channel offset by a quarter cycle, and the order the two edges arrive in tells you the direction, while simply counting edges tells you how far it turned. It's still the standard way rotary encoders — volume knobs, motor shaft feedback, old-school mice — report motion today.

How It Works

Two channels, A and B, run the same square wave frequency, offset by a quarter period (90°). Whether A leads B or B leads A depends on which direction things are turning — reverse the rotation and the two channels swap which one leads. On the sniffer board this relationship is fixed and just keeps repeating; there's no rotation to reverse, it's simply here as a known-good pattern to test against.

A B ¼ period (90°) B trails A by a fixed quarter period — that phase relationship is the whole signal.
Nothing to decode, just a shape to recognize. If your capture shows two clean square waves with B consistently a quarter-period behind A, your analyzer, ground, and channel assignment are all correct — you're ready for a real bus.

On the Sniffer Board

Top view of the sniffer board with the QUAD header outlined in a red box
 The QUAD header is boxed in red. Pins run from pin 1 at the top: A, B, GND.
QUAD header pins
PinConnects to
ALogic analyzer channel D0
BLogic analyzer channel D1
Logic analyzer ground clip

In PulseView: 1 MHz sample rate, 200 ms capture, then click Run. You should see two clean square waves at roughly 1 kHz, with B trailing A by a quarter period.

Troubleshooting:
  • A and B look identical? Both clips are probably on the same pin — recheck.
  • B leads A instead of lagging? Swap the D0/D1 clips.
  • Noise or nothing at all? Check the ground connection first — it's the most common miss.