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”.
- 1 x Arduino Duemilanove
- 1 x Breadboard
- 1 x Piezo Element
- 4 x Wire
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.