NerdKits - electronics education for a digital generation

Making Music with a Microcontroller

Buy a NerdKits microcontroller kit and start learning real electronics.  Learn more.

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.

Source Code

You can download the source code. (Start with one of the projects included with the kit, and modify the Makefile to reference this file.)

More Videos and Projects!

Take a look at more videos and microcontroller projects!

Comments

Did you know that a NerdKit can be used to build an iPhone-controlled R/C car? Learn more...