Open the editor

Engineering · University

NRZ and Manchester Line Code Slides

Free animated slides, ready to teach: 6 slides where every step appears on a click and the diagrams move. Play them right here, present them full screen, or copy them into your account to edit.

A real Tracé deck playing in your browser. No account needed.

What the lesson covers

A line code turns bits into voltage levels on a wire. Students draw the same bits in NRZ and in Manchester, see why long runs of zeros lose the clock and why Manchester fixes it at the cost of twice the signalling rate.

The slides, one by one

1 Line codes: NRZ and Manchester

Bits as voltages on a wire

How does a receiver know where one bit ends and the next begins?

2 NRZ holds one level for the whole bit

NRZ: 1 = high, 0 = low

Manchester: an edge in the middle of every bit

3 Manchester trades bandwidth for a clock

  • One level per bit
  • Narrow bandwidth
  • Long runs lose the clock

Manchester

  • A transition in every bit
  • Clock always recoverable
  • About twice the bandwidth

IEEE 802.3: 1 = low to high, 0 = high to low

4 Encoding 1011 in Manchester

Write the bits 1011 as Manchester half-bit levels (IEEE 802.3: 1 = low→high, 0 = high→low). How many level changes are there?

→ Each bit becomes two half-bits; count changes inside and between bits

1 \to 01,\ 0 \to 10
1011 \to 01\,10\,01\,01
\text{Levels: } 0\,1\,1\,0\,0\,1\,0\,1
\text{Changes: } 5

01 10 01 01, with 5 level changes

5 Quick check

Ethernet sends 10 Mb/s with Manchester coding. The signalling rate is…

  • 10 Mbaud
  • 5 Mbaud
  • 20 Mbaud
  • 40 Mbaud
Show the answer

20 Mbaud

Each bit has two half-bit levels, so the line changes level up to 20 million times a second.

6 What to remember

NRZ: one level per bit

Long runs: no transitions, clock drift

Manchester: a transition mid-bit

Twice the signalling rate

Challenge: Why does a long run of zeros in NRZ cause problems even if no bit is wrong?

Every slide is built click by click: text, formulas and pictures come in one step at a time, so the class follows the reasoning instead of reading ahead. Graphs with sliders can be dragged live while you present.

Make your own version with AIChange the level, the numbers or the language: type the topic and get a new deck that moves in about 30 seconds. Free, no account needed.

Questions teachers ask

What is the difference between NRZ and Manchester coding?

NRZ holds one level for a 1 and another for a 0, so long runs give no transitions. Manchester puts a transition in the middle of every bit (IEEE 802.3: low-to-high for 1), so the receiver can always recover the clock, but it needs about twice the bandwidth.

Are these slides really free?

Yes. Watch them on this page or present them full screen with no account. Making your own copy to edit is free too.

Can I change the slides before my lesson?

Yes. Press "Make my own copy" and the deck becomes one of your projects in the Tracé editor, where you can change the text, the numbers, the colours or the order of the clicks.

Do they work on a classroom projector or an interactive whiteboard?

Yes. They run in the browser on any laptop, so anything that shows your screen works. Press the right arrow or click to go to the next step.