AD9850 DDS code


Closed Thread
Results 1 to 16 of 16

Thread: AD9850 DDS code

Hybrid View

  1. #1
    Join Date
    Jun 2008
    Location
    Varese , Italy
    Posts
    326


    Did you find this post helpful? Yes | No

    Default Re: AD9850 DDS code

    Hi Henrik,
    I will like to understand what are OUTPUT_1 and OUTPUT_2 : any help? Sine or square ?
    What about the other two outputs ?
    What is the purpose of R_13 Trim ?

    I do not have any schematics for this board nor manual to read ! My board is exactly the one shown in your photo.

    Thanks again for the great help .
    Bye
    Ambrogio
    IW2FVO

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,627


    Did you find this post helpful? Yes | No

    Default Re: AD9850 DDS code

    Hi,
    Not sure, I don't know much about the hardware I'm afraid. I wrote the code and put the board on the shelf.... I'd look at the AD9850 datasheet for details.
    I think both outputs are Sine outputs, the phase relationship between the two outputs is what you set with CONTROL word.

    /Henrik.

  3. #3


    Did you find this post helpful? Yes | No

    Default Re: AD9850 DDS code

    Here's a schematic for the above module

    As I recall the pot will change the duty cycle on the square wave
    and will skew the sine wave



    Name:  Ad9850_ebay.jpg
Views: 7524
Size:  46.2 KB

  4. #4
    Join Date
    Jun 2008
    Location
    Varese , Italy
    Posts
    326


    Did you find this post helpful? Yes | No

    Default Re: AD9850 DDS code

    Henrik and Mark_s,
    thanks for the assistance.
    regards,
    Ambrogio
    IW2FVO

  5. #5
    Join Date
    Aug 2005
    Posts
    42


    Did you find this post helpful? Yes | No

    Default Re: AD9850 DDS code

    Quote Originally Posted by iw2fvo View Post
    I will like to understand what are OUTPUT_1 and OUTPUT_2 : any help? Sine or square ?
    What about the other two outputs ?
    What is the purpose of R_13 Trim ?
    The module has two outputs for Sine Wave and two outputs for Square wave.

    In Henriks handy pin-out picture he shows the two sine waves outputs, the next two pins above are the square wave outputs.

    Played with a module today and the code examples Henrik supplied work great and thank you Henrik.

    The Pic Chips tend to max out at 25khz when pulsing stepper drivers which retricts the speed when running them at say 2000 pulses per revolution. It limits you to a max of around 500 RPM.

    Now with the DDS boards + Pic Chip combination, I had some stepper motors here today hitting over 5000 RPM no problems at all.

    Great little modules and good prices.

    Cheers

    Sean.
    *********************
    http://www.cncdudez.co.uk
    *********************

  6. #6
    Join Date
    Jun 2008
    Location
    Varese , Italy
    Posts
    326


    Did you find this post helpful? Yes | No

    Default Re: AD9850 DDS code

    Sean,
    could I have the circuit diagram for your stepper motor implementation ?
    Thanks
    Ambrogio

Similar Threads

  1. Calculate tuning value for the AD9850 DDS.
    By HenrikOlsson in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 21st July 2018, 01:49
  2. Working code but my layman approach uses too much code space
    By Christopher4187 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 14th December 2012, 21:44
  3. Code: Why is this code greater than 2000 words?
    By DrDreas in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 1st June 2007, 20:51
  4. Need help in controlling DDS AD9850/51
    By vu2iia in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 7th March 2007, 13:40

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts