AD9850 + arduino mega (Please help. urgent!)

Hello. I am a beginner of arduino. I am now making the DDS function generator and I have a AD9850 module and a piece of LCD12864.

The function generator should be can generate three types of wave.
I had add three button and LED Light for choosing and indicate the mode that I choose.

I have no idea how to connect the AD9850, LCD12864, and arduino mega in serial mode.

Now, i connect the LCD as followed.
R/W – MOSI Pin 51
E – SCK Pin 52
RS – SS Pin 53
PSB - GND
GND - GND
VCC - 5V from arduino
V0 - LCD Contrast (rotary encoder)

AD9850:
RESET - 11
FQ_UD - 9
W_CLK - 8
DATA - 10
VCC - 5V from arduino
GND - GND

Button + LED:
2 digital pin for each pair.

Is there any problem of my connection? Also, how can I connect the rotary encoder to change the frequency and amplitude? Furthermore, can anyone give me the idea of the program as most of the coding on the internet are using UNO and parallel mode.

I have been get stuck for a long long time! :cry: Many thanks!

Hi,
Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

Can you post links to the data/specs of your AD9850 and LCD12864.

What model Arduino controller are you using?

Thanks.. Tom... :slight_smile:

And do a search Google for "ad9850 arduino"

e.g. :