[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] sine wave generator.

From: Andrew Edgecombe
Subject: Re: [avr-gcc-list] sine wave generator.
Date: Fri, 26 Jul 2002 13:32:15 +1000

How accurate does the sine wave need to be? (ie. what levels of
distortion are acceptable?)

The non-constant frequency shouldn't make the PWM not work.

However, a modification that you might like to consider would be
creating a software sigma-delta, using an output pin as a software
controlled PWM, and sampling the voltage on the resistor/capacitor using
an on-board ADC. (of course, this depends on the avr device that you're

Hope this helps,

Andrew Edgecombe <address@hidden>

avr-gcc-list at http://avr1.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]