Chapter 15. Sound

Having looked at movement, light, heat, and displays, it’s time to turn our attention to making sound.

High-quality audio is easy on the Raspberry Pi because powered speakers can be attached to the audio jack, but things are a little more difficult with the Arduino. 

 

Experiment: Unamplified Speaker and Arduino

Ultimately, if you want to make any kind of complex sound, you are going to need some kind of loudspeaker. Loudspeakers have been around for almost 100 years and work a little like a solenoid (see “Solenoids”) that pushes a rigid cone at a high enough frequency to make sound waves.

Loudspeakers are generally marked with a value in ohms. This value is like their resistance but is actually their impedance. Impedance, ...

Get Make: Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.