O'Reilly logo

Learn Electronics with Arduino by Eric Hagan, Jody Culkin

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

6 Switches, LEDs, and More

In this chapter, you’re going to learn how to make your projects interactive, first by adding a button to turn an LED on and off. Then, you’ll attach a speaker to your Arduino and control both sound and light with your sketch. Finally, you’ll add two more buttons, in the process of building a keyboard instrument on which you can play simple tunes. Throughout these projects, you’ll learn more about programming the Arduino. To complete the projects in this chapter, you need to have the Arduino IDE installed, know how to connect a breadboard to your Arduino, and be familiar with writing a sketch and uploading it to your Arduino.

Interactivity!

In Chapter 4, “Programming the Arduino,” you saw how to connect the Arduino ...

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