From the course: Introduction to MicroPython and Physical Computing

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Protocols

Protocols

- [Instructor] Through their pins, microcontrollers can have a direct connection with components, like sensing a button press, turning an LED on and off, or switching a relay, but microcontrollers can support interactions that are much more dynamic than this. Microcontrollers can send characters to a display, for example, or read images from a camera. Microcontrollers can interact with sophisticated environmental sensors and generally communicate with a vast array of other devices, either directly or over a network. Protocols are what make this possible. A protocol is a set of rules or a shared understanding that enables communication. Human languages are protocols that allow meaningful communication between people. In the same way, electronic devices adhere to protocols to enable them to communicate. In digital devices, this type of communication is based on pins being turned on and off in different ways according to a shared protocol. One protocol that's important in using Micro…

Contents