https://fablabbcn-projects.gitlab.io/learning/fabacademy-local-docs/material/networking/#raspberry-pi-tutorials
Intro to Communication Protocols
- Networking is just copying bits from one place to another
- To split processes up into modules is helpful when you want those processes to run in parallel
- Modularity avoids interference between processes
- Analogy to human speech: language is the protocol layer, the microphone is the physical layer
Protocols, Connectors, Media
- Connectors can be used with different protocols, so an ethernet connector can also be used for serial communication etc.
- Often protocols are nested inside each other, such as WiFi: It has many layers, with the outer layer being the WPA2 encryption
- Information can be transmitted via different media, such as cable, optic, radio frequency
Network Topology
- A bus topology is very common for wired communication
- With radio communication, a mesh topology is more common. This can help with relaying messages, such as a node relying a message to another recipient
- The network topology is what determines, how a punctual failure impacts the network (such as a single point-of-failure)
- Errors always happen, always relative to the speed and distance. This is why most protocols have error correction built in
<aside>
🤖 This is why when flashing a microcontroller via serial, take down the speed when transmitting in order to reduce the chance for errors
</aside>
Computerphile
Wired Communication