We all have our favorite songs, and sometimes playing them would add that extra ‘something’ to our BASIC Stamp applications. This project will demonstrate how to take the sheet music from your favorite songs and play them with the piezospeaker.
A brief introductory video to this project can be found below.
]
Getting Started
If you are new to the BASIC Stamp microcontroller or to programming, it would be a good idea to review Chapter 8 in What’s a Microcontroller? (#28123) before continuing.
Parts List
(1) HomeWork Board with BASIC Stamp 2 (#28158)
The BASIC Stamp 2 on a Board of Education (#28103) is also suitable for this activity
(1) Piezo speaker (#900-00001)
Source Code
Source code for Playing Sheet Music with the Piezo speaker