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.
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).
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
|
|
Frequency from 1Hz to 5Mhz |
|
|
Accuracy of 0.1Hz |
|
|
Square/Sine/Triangle Output |
|
|
Variable duty cycle |
|
|
5V TTL output |
|
|
Output up to +15v to -15v peek to peek |
|
|
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