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! Many thanks!