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.
PARTS REQUIRED
• 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 ...
Get Arduino Project Handbook 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.