ELI5: Explain Like I'm 5

Differential Manchester encoding

Differential Manchester encoding is like a secret code that computers use to talk to each other. It makes sure the computer on the other end gets the right message by sending the message in a way that both computers can understand.

Imagine you have a magic pen that can write invisible letters that only another person with a magic pen can see. Now, imagine you want to send a message to your friend across the room. You write the message on a piece of paper, but before you give it to your friend, you use your magic pen to turn the message into a code. This code makes the message look like a series of bumps and no-bumps on the paper, sort of like a road with speed bumps.

This is kind of like how computers use differential Manchester encoding. Instead of bumps and no-bumps, they use a series of bits that are either 1 or 0. The bits are sent one at a time through a cable or wireless signal to the other computer. The computer on the other end reads the bits and turns them back into the original message.

Differential Manchester encoding is different from other codes because it uses a special trick to make sure the message gets to the other computer correctly. With this code, the computer puts a little extra bump or no-bump in the middle of each bit. This bump or no-bump tells the other computer whether the next bit is the same or different from the last one.

So, for example, if the first bit is a 1, the computer on the sending end will send a bump in the middle of that bit to tell the other computer that the next bit will also be a 1. If the second bit is a 0, the computer will send a no-bump in the middle of that bit to tell the other computer that the next bit will be different, so it must be a 1.

This is like making sure your friend knows whether the next letter in your message is the same as the previous one or not. This helps your friend to read the message correctly, even if there are some bumps or no-bumps missing in the road.
Related topics others have asked about: