I had to design a SINE-WAVE generator with fixed, precise frequencies and
low distortion for a test system. I used an 8-bit counter, an EPROM, and a
D/A converter. Simply drove the counter at the right frequency from the
processor. Needed very little filtering (R-C only).
But I think that these new flash PICs could do it with tables if the
frequency is that low.
--Bob
At 01:44 PM 8/7/2003 +0300, you wrote:
{Quote hidden}>I need to generate a pour shape (10%...20% distorsions?)
>sinusoidal signal with fixed amplitude and variable output frequency
>from 1 to 20 KHz. AFIK there are two basic outputs from PIC:
>PWM and R2R ladder(or DAC). About the sinus generation I've heard about
>Goertzel algorithm, table read and other methodes (Taylor series etc).
>There are also a few hardware methodes, but are even too expensive
>for me (direct digital syntesis chips, wien-bridge digital potentiometer
>controled, 8038 clones) or too complicated for the whole required
>frequency range (square wave, second order filtering).
>If you have any experience in this field I'm interested into a good
>suggestion for a pure and simple software sinusoidal signal generation
>with pic.
>
>thank you in advance,
>Vasile
>
http://surducan.netfirms.com
>
>--
>
http://www.piclist.com hint: The PICList is archived three different
>ways. See
http://www.piclist.com/#archives for details.
---------------
NOTICE
1. This account can accept email & attachments up to 10M in size.
2. Federal Monitors: At request of client, some attachments are encrypted.
Please DO NOT delay traffic; please reply with credentials for password.
--------------
--
http://www.piclist.com hint: The PICList is archived three different
ways. See http://www.piclist.com/#archives for details.