Custom Communication Protocol Vlog Entry #1

21 Просмотры
Издатель
I had a project come up that had an interesting challenge: I needed to get an arbitrary number of microcontrollers to talk to each other without necessarily having an address associated to each device.
Since there didn't seem to be an existing protocol, it seemed I needed to design one of my own.

Fortunately, this coincided with another topic I'd been studying recently - the OSI model.
I've been studying that because I've been learning about how the internet works for an upcoming video, and how PCIe works for my own enjoyment. Both seemed to rely on the OSI model, so it seemed like it'd be a useful thing to understand.

This project then served as an excuse to try and design my own communication protocol and to really solidify the concepts I'd been studying.

Starting with layer 1, or the PHY.
This devices job is simply to ensure the transmission of a block of data, synchronizing the transfer process, and detecting collisions.

I've still got some work before I can call this device done, but still, I think what I've got so far seems to do the job really well.


If you want to learn more about the components used in this project, here are some useful tutorials for you to watch:
XOR gates:
https://www.youtube.com/watch?v=Aw53UIwnJqU
https://www.youtube.com/watch?v=BnB2m1nXZ84

Counter Circuits:
https://www.youtube.com/watch?v=s1DSZEaCX_g
https://www.youtube.com/watch?v=6e8oV2blkGs

Parallel In Shift Registers:
https://www.youtube.com/watch?v=hRH-_OM4MQc
https://www.youtube.com/watch?v=uGpAqurVCik

Serial In Shift Registers:
https://www.youtube.com/watch?v=hRH-_OM4MQc
https://www.youtube.com/watch?v=EYz-Fo0p2Ak

State Machines:
https://www.youtube.com/watch?v=jrQ1YYgiOTo
https://www.youtube.com/watch?v=lxF6fM1WHTg
https://www.youtube.com/watch?v=-go1lNmU91E
https://www.youtube.com/watch?v=SQH_gA3GGK4


If you find value in this sort of exploration and technical deep dive into complex topics, I would greatly appreciate a coffee or two in return: https://buymeacoffee.com/n00b_asaurus
Категория
Схемы по заработку в интернете
Комментариев нет.