Hello,
I am using a PIC16F877 to create musical pitches. Is is possible to convert the different pulses into a sine wave? I have heard of square wave to sine wave converters, but most of the drawings are biased for a certain frequency. Basically, when a switch is pulled, the PIC will output a certain pulse width, which will be a certain frequency obviously, to a speaker. I planned on driving the speaker with a FET (IRF540) and a push/pull stage.
I am using a PIC16F877 to create musical pitches. Is is possible to convert the different pulses into a sine wave? I have heard of square wave to sine wave converters, but most of the drawings are biased for a certain frequency. Basically, when a switch is pulled, the PIC will output a certain pulse width, which will be a certain frequency obviously, to a speaker. I planned on driving the speaker with a FET (IRF540) and a push/pull stage.
Last edited: