Mel,
I've implemented your solution and it
worked 100% (why shouldn't it, right?).
However as I suspected, dividing the
signal of e.g. 10ms (100Hz) into 2 half-
cycles would produce a square wave
shaped signal not a 256 step sinewave.
I did use a double RC filter (1K, 100n)
at the output, however while observing
the signal with an oscilloscope and a
spectrum analyzer all odd harmonics
were still there looking pretty strong,
thus deforming the overall signal shape.
I was wondering if you could elaborate
on how would I implement PWM in order
to generate already mentioned freq. in
the 67.0 - 250.3Hz range. This way I
could generate a sine-wave-like signal
right from the pic and filter out all the
harmonics with a double RC filter in
order to get a "true sinewave". Thank
you very much in advance...
--
Sincerest regards,
YZ7REA Vladimir M Skrbic
4N7ATV Repeater Administrator
YU7GHZ Radio Club President
Bookmarks