Go Down

Topic: Arduino DDS Sinewave Generator (Read 34418 times) previous topic - next topic

Schotterpaule

Problem Solved:

http://digitalcommons.calpoly.edu/cgi/viewcontent.cgi?article=1129&context=eesp

crlMidi

Still relevant to this thread:

With the latest versions of Arduino you need to change a line in the code given in
http://interface.khm.de/index.php/lab/interfaces-advanced/arduino-dds-sinewave-generator/

The reason is given in http://forum.arduino.cc/index.php?topic=272313.0

Change
PROGMEM  prog_uchar sine256[]  = {
to
PROGMEM  byte sine256[]  = {       ...or
PROGMEM  char sine256[]  = {

Both work for me but I don't which is the more correct; byte seems the more logical.

Suzzannee144

@D4p0up

why not call  setupSPI();  in  setup()  ??

The same code....

and try Serial.begin(115200)  then you have more time for other things....


I would like to set up a loop whereby six different frequencies will run , one after the other. Is this the proper board
http://interface.khm.de/index.php/lab/interfaces-advanced/arduino-dds-sinewave-generator/

for this undertaking? I am familiar with arduino but writing code makes my head hurt. I want to use it in conjunction with some experiments that may be very useful in combating nuclear radiation, so far my tests have been somewhat successful, but I think using the varied frequencies would be much better and cannot see myself getting up every 4 hours to change the frequency...Can you help?

Paul Stoffregen

Can you help?
Maybe, but details like the 6 specific frequencies would make your question clearer...

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