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, ...

Get Arduino Essentials 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.