Go Down

Topic: PWM to control Oscillator (Read 1 time) previous topic - next topic


True, you could do it that way. Or, you could generate a perfect square wave
and divide it be 2 to produce each successive lower octave. Or, you could
generate a perfect triangular wave (which also gives a square wave between
the ramp up and ramp down portions), and squash that into a sine wave. Choose
your flavor?


you can do it that way and it's done that way a lot because it's easier but the sine wave is not as pure... I just like perfection.
Bad Boys Race Our Young Girls But Violet Generally Wins - Get Some Now :) - ELI ICE man


wolframore gave you the right answer in reply#4, use a NE555 for each oscilator.

yes sir, you (and wolframore) are right!!!

I went back to 555, I added a low pass filter to the PWM signal and sent it to 555 control pin and it worked!
I also switched to 5V.

Have you considered the CMOS 4046?
Quite interesting indeed. I'll take it into account and research a bit more about it.

you start with a sine wave, put it through comparator to generate square wave, then integrate for triangle, those are the three basic waveforms...
I'll look into this as well for sure!

Now I thank you all very much for the help, it wasn't easy for me but I'm really happy with the results! A lot of things learned and a lot more to be learned! :)

Go Up