PROJECT 7: ARDUINO MELODY
SO FAR ALL THE PROJECTS HAVE BEEN VISUAL, SO NOW IT’S TIME TO MAKE SOME MUSIC. IN THIS PROJECT WE WILL BE USING A PIEZOELECTRIC BUZZER TO PLAY SOME MELODIES.
• Arduino board
• Piezo buzzer
HOW IT WORKS
The Arduino melody uses a piezo buzzer to create frequencies that resemble recognizable notes. You use the Arduino IDE to give the order, rate, and duration of the notes to play a specific tune.
Piezos are inexpensive buzzers often used in small toys. A piezo element without its plastic housing looks like ...