DDS VFO 2 Construction Manual – Issue 1
Page 6
2
C
IRCUIT
D
ESCRIPTION
Integrated circuit U2 is an Analog Devices AD9834 Direct Digital Synthesis (DDS) chip and
forms the heart of the DDS VFO. A 50MHz crystal oscillator module supplies the master clock
and gives usable output frequencies up to a quarter of that value or 12.5MHz.
The DDS is controlled by a 3 wire serial data bus from microcontroller U1.The microcontroller is
an Atmel ATmega328 and runs an internal 8MHz clock which avoids the use and expense of an
external crystal.
A rotary encoder produces quadrature signals when rotated and one line is fed into the
microcontroller interrupt input and becomes the reference input. Once an interrupt is detected
the state of the other input is read and the direction determined. The rotary encoder also
incorporates a press button switch and is used for a number of functions as described later. U1
incorporates pull-up resistors for the encoder inputs so they are normally held high and
capacitors C7 and C8 help filter out switch bounce.
The microcontroller has an internal analog to digital converter (ADC) which uses the 5 volt rail
as a reference. The ADC measures the incoming power supply rail via a resistive attenuator
formed with R5 and R6. The calculated value is displayed on the LCD during use.
The A input is used to monitor the TX/RX state, while the D input is used to detect the state of
the USB/LSB switch. The inputs expect a n12 Volt to 0V state change and are buffered
by resistive attenuators to protect the microprocessor inputs.
The PCB also includes an ISP connector to allow future software upgrades without having to
remove the chip from its socket.
Most of the remaining pins of U1 are dedicated to driving the LCD in 4 bit mode. R9 sets the
backlight current and may be left out if a non-backlight LCD is used. VR1 adjusts the LCD
contrast and normally only needs to be set once at the commissioning stage.
The outputs from the DDS chip are current sources and the output is converted to a voltage by
the 200 ohm resistors R12 and R13. The full scale value of the current and hence the pk-pk
output voltage is set by the 5.6K ohm resistor R11. The output is passed through a simple 5 pole
low pass filter to attenuate unwanted high frequency components.
R14 is used to terminate the filter if the external load is high impedance. In most circumstances
it can be left off the board.
The incoming power supply is regulated to 5V by a 7805 1A regulator which mounts flat on the
PCB to act as a heatsink.
Содержание DDS VFO 2
Страница 1: ...DDS VFO 2 Construction Manual Issue 1 Page 1 DDS VFO 2 CONSTRUCTION MANUAL ...
Страница 7: ...DDS VFO 2 Construction Manual Issue 1 Page 7 Figure 1 CPU ...
Страница 8: ...DDS VFO 2 Construction Manual Issue 1 Page 8 Figure 2 DDS generator ...
Страница 9: ...DDS VFO 2 Construction Manual Issue 1 Page 9 Figure 3 LCD Rotary Encoder and Power Supply ...
Страница 14: ...DDS VFO 2 Construction Manual Issue 1 Page 14 Figure 4 Component overlay ...