In this chapter, we met analog outputs and saw two different circuits to deal with two kinds of components that can operate on a variable voltage, an LED, and a motor.
On the hardware side, these circuits have helped us to learn about analog signals, DACs, and some of its characteristics. We also learned what a driver circuit is and how to use a transistor to create one, helping us know something more about this component. We even saw a very practical way to deal with high currents from Arduino without providing them from the Arduino board voltage regulator.
From the logical point of view, we met the for
loop, a very handy control structure that has helped us go over ranges of values and loop iterations.
By now, there's been enough about outputs, and in the next chapter, we are going to begin to work with inputs—digital inputs, to be precise, which will serve us as the base of all kinds of sensor connections. This will open us to a totally new way of looking at microcontrollers. Are...