NerdKits

Making Music with a Microcontroller

Using a piezoelectric buzzer element, we can turn voltage into pressure waves, or sound. This project demonstrates code which can play any desired tone, and plays a song while showing each syllable on the LCD screen.

You can download the source code. (Start with one of the projects included on the NerdKits CD-ROM, and modify the Makefile to reference this file.)


Copyright © 2008 by the NerdKits team. Please don't redistribute our materials without our permission.

Valid XHTML 1.0 Strict Valid CSS! PayPal: eBay's service to make fast, easy, and secure payments for your eBay purchases!