Chapter 7. Digital Communication with Arduino

In this chapter, we will cover the following recipes:

  • Serial output
  • Controlling the Arduino over serial
  • Software serial and UART between Arduinos
  • Wireless serial
  • I2C between Arduinos
  • SD cards
  • LCD character displays
  • Ethernet

Introduction

Arduino is not alone in the universe; it can use different digital communication protocols to talk with quite a few other systems. It's one of the great features of the platform; it has all of the standard protocols built in, allowing it to communicate with thousands of different devices.

Digital communication has numerous advantages. It is less susceptible to noise than analog communication, and it usually only requires two lines to communicate to hundreds of devices. This allows ...

Get Arduino Development Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.