DDS (Direct Digital Synthesis) Analog Devices AD9912 Arduino Shield by GRA & AFCH
Web-site: https://gra-afch.com Direct link to category: https://gra-afch.com/product-category/rf-units/
GA_Flasher can be used to upload compiled firmware from "Firmware Compiled (.HEX File)" folder: https://github.com/afch/GA_Flasher
"Firmware Compiled (.HEX File)" - folder contains pre-Compiled firmware (.HEX File), that can be uploaded via "AvrDude", GA_Flasher or any other software for flashing Atmega 2560
"Firmware Source (.INO File)" - folder contains source of firmware that can be compiled (modified if necessary) and uploaded via Arduino IDE: https://www.arduino.cc/en/Main/Software
"Libraries" - contains libraries that are only needed for compilation: place them to "C:\Users[USER]\Documents\Arduino\libraries", where [USER] - your windows username.
This AD9912 Shield can be easily connected to Arduino Mega without additional wires and converters.
|-------------------------------------|-----------------------------------|-------------------------------|--------------| | Clock source | Capacitors | Resistors | Ferrite Bead | | (only one at a time) | C20 | C18,C19 | C14,C17 | C15 | XO | REF | PLL_BP(1k) | R37 | FB1 | |------------------------------------------------------------------------------------------------------------------------| | XO - Crystal Oscillator (Z1) | - | V | X | V | V | X | X | V | X | | TCXO - Oscillator 1ppm (Z2) | V | X | V | V | X | V | X | V | V | | OCXO - Oscillator 0.1ppm (Z3) | X | X | V | V | X | V | X | V | V | | REF CLK IN - External Generator | X | X | V | X | X | V | V | X | X | |------------------------------------------------------------------------------------------------------------------------|
Where V means that the component must be installed (soldered), and X - means that the component must be removed
Starting with version 1.02, the ability to control via the serial port has been added.
F - Set Frequency in Hz (100000 - 500000000)
H - Set HSTL Output: 0 - OFF, 1 - ON, 2 - Doubler ON
C - Set CMOS Output: 0 - OFF, 1 - ON
D - Set CMOS Divider (1 - 65353)
P - Set Output Power in dBm (-7 - +4)
M - Get Model
E - Enable Outputs (ALL)
S - Shut down Outputs (ALL)
V - Get Firmware Version
h - Help
; - Commands Separator
Example:
F100000;P-2
Set Frequency to 100 kHz, and Output Power to -2 dBm.
Any number of commands in any order is allowed.
Speed - 115200 Bouds
Data Bits - 8
Stop Bits - 1
Parity - No
DTR - OFF
An example of setting up a serial port in the Windows console:
mode COM3 baud=115200 DTR=OFF Data=8
Usage example:
echo F100000000 > COM3
An example of setting up a serial port in the Ubuntu:
sudo usermod -aG dialout $USER_NAME$ sudo chmod a+rw /dev/ttyUSB0 sudo stty -F /dev/ttyUSB0 115200 cs8 ixoff -hupcl -echo
Usage example:
echo "F100000000" > /dev/ttyUSB0