Go Down

Topic: DAC (Read 3208 times) previous topic - next topic

baum

Thanks...
I think I'll just use the sine (sin) wave approach. Also, is there a floating point PI constant that I can use with the sin() function?

jluciani

By building a wavetable you offload the computation to your PC.
I build the wavetable table using Perl with its builtin SIN function.
That way the uC only has to perform a lookup rather than
a calculation.


Some students at Georgia Tech used the code as a DDS example
for a synth project --
http://www.ece.gatech.edu/academic/courses/ece4007/10fall/ECE4007L01/dk4/index.html

(* jcl *)
www: http://www.wiblocks.com
twitter: http://twitter.com/wiblocks

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy