Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Intro

This chapter is about communication protocols and peripherals used with them.

A communication protocol is a series of steps that the devices involved agree upon, in order to encode and decode the messages exchanged (communicate).

  1. Asynchronous serial communication with the UART peripheral.
  2. I2C serial communication protocol and peripheral.
  3. SPI serial communication protocol and peripheral.

There are many others! And sometimes devices have their own language and their datasheet must be read. But the ones listed above are very common.

Have fun

Check out any website listing sensors, and without tempting yourself to buy things, look at which communication protocols they use. Here are a few from Wikimedia Commons: