News:

New registrations to the forum only by request to admin@underservice.org

Main Menu

DDS Mega + Keypad + LCD

Started by Vincent, February 11, 2014, 09:31:40 PM

Previous topic - Next topic

Vincent

Hi,

Yesterday Romero posted a link (check the source at the end of this post) and I found the way to debug the code. There were a few bugs like frequency crystal, pin, invalided characters and a problem with a line on the keyboard routine. Now is working and full tested on Arduino Mega, UNO and PRO Mini. Please check the attachment and you will find everything that you need to put it into production.

READ BEFORE

:: Don't forget to install the library.

:: Every AD9850 is different. So you need to calibrate. Go to this line

    #define calibrationValue -0.0010000

and find the right value for your setup. Just play with the number a little bit and the frequency will be accurate 99.99%.

:: The AD9850 board have a trim-pot (10K in my case, check yours too) for duty cycle adjustment. 1 turn and cheap !!! So if don't get any signal, just turn it until you will have an output. I will change mine for a multiturn (25 turns) trim-pot (more accurate).

Cheers,

Vincent


Source :


Big thank you to guy who made the first prototype and the library.

http://tobyrobb.com/wordpress/?p=577
http://blog.radioartisan.com/analog-devices-dds-arduino-library/

Vincent

Version 2 17/02/2014 - Better performance.