Frequency Generator V:2.0

I need someone to correct my grammatical error, thanks

History

This project didn’t look complicated but it was. The MCU part is really simple: just some code for the Display, Keypad and DDS Communication.

A DDS is a chip that is driven by a hi-frequency oscillator. I used a 50 Mhz clock. Inside this IC there is a big divider that goes down to less than 1Hz. The resulting clock is passed to another counter which is connected to a Sine ROM table.  If you need a triangle wave, the counter is directly connected to the output.  For a square wave, the signal which drives the counter is redirected to the primary output.

Once my MCU Board and the DDS board were done, I connected everything together and a cool sine wave was coming out of my DDS ranging from 1Hz to 5Mhz. I thought to myself that this project was almost done.... beeeeeeeeeep, wrong again! The worst part was to come. It's not so easy to amplify a signal of 400mv to +/-15v, 300ma at 5Mhz. First you CAN'T prototype this on a bread board. So I built more than 5 PCB's. Also, I had to find a very high speed Op-Amp that came in a package suitable for prototyping. I chose the LM7171 for its low cost and DIP package.  With an Op-Amp like this you must have decoupling capacitors on the - and + side to GND VERY CLOSE to the IC (each Op-Amp separately).

As you will see I mounted the DDS on a small PCB. This animal is so small that I was not sure that I could solder it. If I could then the DDS could be used on another mother-board

Note: The AD9833 DDS datasheet rates it for 25 Mhz, but in the preliminary datasheet it was rated for 50Mhz.  I made my project work at 50 Mhz and there was no problem. Just don't try it for final production. The higher the clock rate, the better the output signal will be.
 

Features

puce Frequency from 1Hz to 5Mhz
puce Accuracy of 0.1Hz
puce Square/Sine/Triangle Output
puce Variable duty cycle
puce 5V TTL output
puce Output up to +15v to -15v peek to peek
puce Adjustable DC Offset from +15v to -15v

 

Pictures  (Those pictures are the version 1.0,  The new pictures are to come)

Click to enlarge

MCU Board who control the DDS

No so many parts

Here is the DDS

 

DDS, Amplifier, Regulator

DDS, Amplifier, Regulator

Good luck to solder it,...

 

Schematics

-Schematic of the MCU Board in PDF format

-Schematic of the DDS in PDF format

-Schematic of the Analog part in PDF format

-Schematic of the TTL part in PDF format

 

Sources codes will be online soon