A piezo element clicks every time it is pulsed with current. This 6th circuit is designed to pulse a piezo at the right frequency to make the Arduino play to the tune of “Twinkle Twinkle Little Star”.
Kit:
- 1 x Arduino Duemilanove
- 1 x Breadboard
- 1 x Piezo Element
- 4 x Wire
Additional Resources:
This was extremely easy to put together. I was surprised with how accurate the song sounded when the program ran. Writing music for the piezo is not as easy as constructing this circuit, however. I gave up after about an hour of attempting to rewrite the program to play another song.

{ 1 } Comments
The +5v line was redundant. I wonder why that was in there? when I pulled it out it made no difference. Indeed the circuit diagram shows simply Pin9 -> Piezo -> gnd
Post a Comment