New blog from Embedded Lab explains how to easily create music with PIC microcontroller, piezo buzzer and mikroC PRO for PIC.

Beginners might find this article interesting and project to be a fun and useful experience.



Blog explains the principles of operation of piezo buzzers, how you can create different frequencies and notes using square waves or PWM signals. Article also shows the schematics of minimum hardware needed to create your sound generator. Finally, author provided the complete source code written in mikroC PRO for PIC and a working HEX file, with a demonstration of the “Happy birthday to you” song.

Share on FacebookTweet about this on TwitterShare on LinkedInShare on Google+