Skip to Main Content
Learn Electronics with Arduino
book

Learn Electronics with Arduino

by Don Wilcher
June 2012
Beginner content levelBeginner
280 pages
6h 32m
English
Apress
Content preview from Learn Electronics with Arduino

CHAPTER 6

image

The Music Box

The Arduino has the ability to generate a multitude of sounds and tones, and a combination of them can produce snippets of musical melodies. Creating sounds or tones is relatively easy using the tone() instruction along with its code library. This chapter will show how you can use the tone instruction and its library to generate sounds and melodies. This chapter will use the physical-computing techniques discussed in previous chapters in the creation of a human-interactive electronic music box. Figure 6-1 shows the parts required for the hands-on projects and experiments.

Figure 6-1. Parts required for the music box projects ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn Electronics with Arduino

Learn Electronics with Arduino

Jody Culkin, Eric Hagan
Arduino Robotics

Arduino Robotics

John-David Warren, Josh Adams, Harald Molle

Publisher Resources

ISBN: 9781430242666Purchase book