IN THIS CHAPTER
In the first two projects you used an Arduino Uno to interact with Lego components, and in doing so, you performed such simple tasks as uploading sketches and wiring up pins. Here, let’s delve a little deeper into the technology.
The magic of the Arduino platform is in the size of this ecosystem. Everything from rolling robots to constructs that create art (Figure 3-1) can be—and has been—built with Arduinos.
In this chapter we’ll examine the Uno in almost nauseating detail, but we won’t neglect Uno’s cousin ‘Duinos like the Mega and the Fio, and we’ll also cover shields, which are Arduino add-on boards. Finally, we’ll cover the Arduino language as well as its critical resources of subroutines, global variables, and programming templates called libraries.
The Arduino project began in 2005 as an educational tool for a design class at the Interaction Design Institute Ivrea, in Ivrea, Italy. The goal was to lure nontechnical people into the realm of electronic design. If an artist seeks to build an interactive sculpture, for example, he or she doesn’t necessarily want to learn advanced ...