Hi I am using PIC18F micro and interested in making music from Microcontroller.
This idea used as a stepping stone to my project : Engine Sound for Electric R/C Car.
I have watched the YouTube video of a programmer from
www.nerdkits.com here I share some:
https://www.youtube.com/watch?v=DYIy5YnvymI&feature=related
Basically I just realized that piezo can be used for practice but I don't really get the idea how this thing works or made?
Questions:
I have found this:
https://www.phys.unsw.edu.au/jw/notes.html
Is it correct, if I generate a square wave say PWM type at certain frequency, it will give out tone exactly like those stated in the website?
What would be the PROGRAMMING TIPS and TRICK in doing so?
Any help would be appreciated!! Thanks!!