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

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

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