Summary

This was a well-packed chapter. We have learned a lot of concepts in this chapter, both in terms of software and hardware.

From the point of view of concepts, we came to know about ADCs, their resolution, and the problem they bring when having to change values from one range to another. The map() function came to our help.

Regarding the physical side, we met two very practical electronic components: the photocell and the potentiometer. Both will help us when developing our projects. We also learned about what a voltage divider is and how it can help us when connecting external sensors to our Arduino board.

Finally, on the programming side, we saw how to read from an analog input with the analogRead() function, and we learned about the use ...

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.