O'Reilly logo

Arduino Essentials by Francis Perea

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Interacting with the Environment the Digital Way

Now it's time to start working hands on with our Arduino boards by connecting electronic circuits to them and programming the microcontrollers to interact with the external circuitry.

In this chapter, we are going to deal with digital outputs, as it is the simplest way to interact with the outside world, and we will learn about the necessary code to drive them.

Let's begin with some considerations regarding digital and analog signals, move on to the circuit assembly, and finish by writing some code to make the microcontroller command the external circuit.

Digital versus analog signals

When working with electronics signals, you will constantly see references to digital and analog signals, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required