Chapter 5 (1st Edition)

If you are looking for the Chapter 5 content for the 2nd Edition of Exploring Arduino, please click here.

Making Sounds

Parts List

Code

Download Code (1st Edition, Chapter 5)
(Also available on GitHub)

Useful Links

Errata

  • On page 94, when describing how speakers work, it was incorrectly stated that the induced magnetic field causes the pole piece to vibrate up and down. In actuality, the induced magnetic field causes the voice coil to vibrate up and down.

Color Wiring Diagrams

Videos

Listen to a demo of the musical tune created in the chapter:

Watch a demo of the pentatonic piano created in the chapter: