This Arduino example uses of a Piezo in order to play melodies. I also make use of the Sparkfun Electronics Protoshield. Check it for an introduction to Arduino, Piezo, Pulse Width Modulation (PWM) and breadboarding.

More detailed instructions are available at:
arduino.cc/en/Tutorial/PlayMelody

Loading more stuff…

Hmm…it looks like things are taking a while to load. Try again?

Loading videos…