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 4. Controlling Outputs Softly with Analog Outputs

Interacting with the environment in a digital way is very practical, and you'll use it in a different number of situations. In fact, we are very accustomed to these kinds of interactions and they are nothing really new.

In this chapter, we will see a very different kind of interaction that not only supports an on and an off state but also a number of different states between them. We will deal with analog outputs.

We will begin by fading an LED to later see a new circuit that controls the speed of a motor through an analog output.

Dealing with analog signals

As an introduction to the connection and programming of analog outputs, we will use the simplest circuit we have already seen, that is, ...

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