Book Image

Arduino Essentials

Book Image

Arduino Essentials

Overview of this book

Table of Contents (17 chapters)
Arduino Essentials
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

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 of the powerful switch / case function to allow us to take different ways of execution.

Arduino still has some features that deserve a play, so let's go ahead to the next chapter where we will try to conquer the domain of time.