Clock synchronization and Manchester coding | Networking tutorial (3 of 13)by Chris KeelingDecember 15, 201952 Comments Related posts: Computer Networks: Crash Course Computer Science #28 Use favorite programming languages in infrastructure industry | PLCnext Technology Privacy, Security, Society – Computer Science for Business Leaders 2016 How do computers and the internet work? – Computer Science Basics Tags:andEtherNetInternetManchester Codemanchester codingnetworkingSynchronizationthatthe 52 thoughts on “Clock synchronization and Manchester coding | Networking tutorial (3 of 13)” lorenz9314 March 28, 2015 at 12:16 pm Best explanation on youtube. Just couldn't wrap my head around manchester encoding. Thanks! Reply Nikhil Manhas April 14, 2015 at 12:56 pm what do you mean by clock running faster / slower ? all clocks run at the same frequency ? Do you mean there is a time difference between the two clocks ? Like one clock is ahead of other by say n secs? Reply Mak!zZz May 30, 2015 at 1:40 pm Finally great tutorial about Manchester coding, tnx man U are the real MVP 🙂 Reply John Wehland July 20, 2015 at 8:10 pm Really Awesome Tutorial. Thanks! Reply Jenn Janesko August 9, 2015 at 9:41 am Thank you for the clear explanation! Reply Coder-Tronics September 27, 2015 at 9:06 pm Thanks for nice and clear explanation Reply Jackson Arackal October 12, 2015 at 9:00 am Thank you so much m8….this really helped me to understand the encoding method. 🙂 Reply ccmiint December 22, 2015 at 4:44 pm Thank you! Reply DelzieC December 30, 2015 at 8:58 am Clear and thorough. Thank you. Reply sushant B February 11, 2016 at 9:13 am mate!!! no one could explain why clocking is imp… & u did it in minute….thnks Reply Major Magic's September 10, 2016 at 11:54 pm Is there a way to DECODE a datastream in manchester code? I have an animatronic show and i want to program new movements but need to know what the tones are..?! Reply Arslan Ali October 16, 2016 at 2:12 pm awesome :* Reply ZampaPaws November 12, 2016 at 6:33 am I wonder if Trump ever had a clock slip before ( ͡° ͜ʖ ͡°) Reply SU MIT November 15, 2016 at 6:10 pm At 7:10 Just for information the electrons in in wire move at a very slow speed (few milimeters per second). What it is really important here is not how elecrons move but how the electromagnetic waves propagate in the wire.Anyway, this video is really interesting because you explain in a very simple way things that is really not obvious to understand for a lambda person. Reply Abdulnaser Sheikh November 25, 2016 at 3:16 am What if I want to make a program in Java or Python to transmit data using socket Reply Major Magic's January 1, 2017 at 6:58 pm BEN, where can i find a controller that can reproduce the manchester code? I have an animatronics show that used the manchester fm2 code and want to be able to program new shows. Please advise. Reply Kanthimathi S February 1, 2017 at 9:01 am Very resourceful. Thank you. Reply Sarvagya Vatsal Singh March 21, 2017 at 12:41 am This a great tutorial! Thanks man! Looking forward to learning more from you! Reply Robert April 20, 2017 at 5:11 pm Why not use something like 5V for 0 and 10V for 1? Then you don't need a clock, because each data point would be either 5V or 10V. You would send them in pulses. So 0V->5V->0V would mean it's a 0 and 0V->10V->0V would mean it's a 1. There would be no 5V->10V and vice-versa transitions. Reply some random bird April 23, 2017 at 10:57 pm Great video! May I ask what software you use for this? Reply Sci Twi April 25, 2017 at 10:26 am This is kinda similar to the encoding used in USB wires. The difference is that in the USB standard, 0 is encoded as a transition (either way), and 1 is encoded as no transition. Reply Nick Rat July 16, 2017 at 8:57 pm Whys it go backwards? how does it know what chunks to flip? Reply Bakkasur August 29, 2017 at 3:58 am awesome subscribed ! Reply Fernando Roman September 7, 2017 at 4:39 pm No se ve nada Reply AllTheGearNoIdea October 2, 2017 at 8:18 pm I have recently bought an old HP8073 Pattern generator to play with. Thanks for this video you have reminded me of my university communications classes nearly 20 years. All I need is for you to do a video on multi mode and stepped index fibres and I will truly be back in the day. Many thanks. PS I went to Manchester University Reply snnwstt November 1, 2017 at 11:29 am So, basically, Manchester coding is about half the speed of what the processing hardware can handle. It may have uses where the "cable" speed is the limiting factor, but otherwise, that sounds like a dramatic lost in efficiency. If two clock are not strictly adjusted to the same frequency, but "close", could they not "agree" to send "n" bits, then resynch them, say with a start bit, so they will, in theory, always safely read the data without slip ? Is it not what serial communication was doing? And thus, your efficiency will be more like around n/(n+1) instead of 0.5, as for Manchester coding as I understand it ( assuming that the cable transmission speed can support a speed as good as the processing one involved by the hardware at the "terminals"). Reply James Rayburn November 19, 2017 at 1:31 pm Outstanding! Two thumbs up to you sir. Reply googlEddy December 20, 2017 at 8:03 pm video is awesome but that swallowing sound…makin it unwatchable :/ Reply Zacharias King December 21, 2017 at 4:35 pm I don't often comment on Youtube videos but I would like to just say that you have been an amazing teacher and provided a fantastic overlook on manchester coding so thank you for finally making me understand it haha. Reply violinsheets January 4, 2018 at 1:41 am Why do you need two wires and not one? Reply Parimal Paritosh January 11, 2018 at 4:21 pm Thank you sir 🙂 Reply John Smith January 19, 2018 at 10:16 pm Interesting. I'd never heard about Manchester coding. Doesn't it necessarily involve sacrificing half whatever your medium's maximum possible throughput is though? I'm just thinking you could be signaling in a nonManchester twice in the same period since you don't have to have a transition to represent a symbol. Reply Devon Fulcher April 2, 2018 at 12:53 pm Would it make more sense to us a ternary system in networking instead of binary to avoid the clock? For instance a signal that goes from 2 to 0 could be interpretted as 0 and 2 to 1 would be 1. 0 to 1 would be 0 and 0 to 1 would be 1. 1 to 0 would be 0 and 1 to 2 would be 1. Reply Karan Joisher May 10, 2018 at 6:39 am We used clocks because we couldn't reliably interpret the data which was recieved. Using clocks both the communicating nodes know at what rate they should transmit/read the data off the wire. So u mentioned gps and using another wire for clock sync as a way to sync clocks between these nodes. I dont understand how Manchester coding gets rid of the clock problems u mentioned, as u still need to read the data at some regular interval i.e u still need a clock right? The reciever can still read at a faster rate or go out of phase even if Manchester Coding is used, so can someone explain me how does it solve the clock issues? Reply Mtaalas June 29, 2018 at 9:56 am The contrast between the lines and the background is really poor. It feels like you've recorded on lower resolution than your display and some lines are thus almost invisible. I, and I'm sure many others, would appreciate it if you can upload the video back with proper resolution or with thicker line width and sharper contrast so it's easier to watch. The content itself is great regardless! Reply Murilo Blanco Flor July 30, 2018 at 2:05 am love u Reply Brad Cozine October 3, 2018 at 9:55 pm "Respect the clock." -Magnolia Reply spambot71 November 26, 2018 at 8:35 pm your comments around 4:30 are misleading. No-one uses GPS satellites or atomic clocks to synchronize bus clocks. It provides a lot of pointless information (you don't care about the date or time of day when trying to shift in bits from a serial link), and wouldn't even be accurate enough for modern communication links that signal in the realm of hundreds of MHz or in the GHz. Plus it just moves the problem; how do you communicate between that super-duper clock and the rest of the computer? I understand you're intentionally suggesting two "bad" options before presenting realistic ones, but i'm not saying they're bad options, i'm saying they're nonsensical. Reply Zhang GuanLin December 18, 2018 at 12:10 pm Awesome Networking turtorial,love U Reply David Geraghty February 19, 2019 at 6:04 pm Finally it all makes sense! Thanks so much 😀 Reply Selvam V March 8, 2019 at 11:59 am seriously i have read 100's of times about clocks and coding but never able to visualize and understood like this before !!! crisp and clear , even a first timer can easily understood , superb!!! thanks !!! Reply Rohit Bale April 9, 2019 at 1:39 pm Thanks a lot sir!! That was a great explanation. Reply Pedro Mateus June 23, 2019 at 10:09 pm what is an atomic clock? Reply NiamorH July 16, 2019 at 7:41 pm if you use Manchester coding to send the message 0000 0000, won't it be misinterpreted as 0101 0101 0101 0101 ? since the clock appears to be regular? Reply sandeep sharma July 28, 2019 at 8:16 pm thanks Reply SecularDogma August 10, 2019 at 11:47 am white people be crazy ha Reply Tyler Shepard September 18, 2019 at 7:39 am Would the copper cables be dispersive? If so, clock pulse broadening could also be an issue. Reply Kieran Garland September 22, 2019 at 4:25 pm Apologies, I'm afriad I still don't understand. Where is the clock with Manchester encoding? Sorry, I know it's a failure of understanding on my end, but I don't see the difference between a wire sending a signal and another sending a clock, and the Manchester encoding. Is the clock somehow bound up with the signal being transmitted, in a way that it isn't with the other set-ups? Thoroughly enoying this series, thank you. Reply Developer Nycrera November 8, 2019 at 1:09 am About 5 years later, and you are still informing a lot of people. It's way more clear now thank you. Reply EmptyGlass99 November 10, 2019 at 3:48 pm I'm from Manchester and had not heard about Manchester Coding. My old mathematics teacher had worked in the computer department there. Reply Moa November 25, 2019 at 9:48 pm Fucking well explained… Reply dkd0m December 5, 2019 at 7:41 pm Thank you for theses videos, they're really helping me seeing the big picture 🙂 Reply Leave a Reply Cancel reply Your email address will not be published. Required fields are marked *Comment Name * Email * Save my name, email, and website in this browser for the next time I comment.