AVR DDS3 boards have arrived

Finally some update on AVR DDS3 signal generator. Circuit is practically done and PCBs are made. I decided to go with two microcontrollers on board to make it more functional. One microcontroller Atmega328P is gonna be dedicated to user interface and signal generator control. Second Atmega88 is gonna be used for signal generator only. This will give un-interruptable signal output while changing parameters or simply doing signal sweeps.

Simple keypad should be convenient for entering frequency values and menu navigation.

Maybe this isn’t best choice but this is what I had on a desk and wanted to put in to use. If I find it annoying and there will be more bugs or more flaws schematic will be remade.

Decided to add computer interface. So there is an UART connector that suits SparkFuns FTDI Basic Breakout board.

There is not much change in DDS generator since last projects. There is the same R2R resistor ladder DAC used which is simple and cheap solution. I have used Atmega88 microcontroller here which has 8KB of Flash, 1KB of SRAM.

Haven’t decided yet, but probably all signal data will be stored inside controller chip and will be uploaded to DDS microcontroller SRAM using SPI interface. This will be easier to upload new signals using PC. And finally analog part. This is same circuit that was modeled in this previous post.

Here are eagle layouts and PCB images of AVR DDS3 generator:

Next step is gonna be soldering and doing simple tests to make sure everything works as modeled. Stay tuned.

11 Comments:

  1. Here is a first mistake in a board. If you intend to use Arduino bootloader – it wont work as I put reset line directly to USART port. This is how it should be:
    Fixed reset circuit

  2. I love to test this circuit. It’s possible to downlload?

  3. Here you go.
    http://www.scienceprog.com/wp-content/uploads/2012/07/eagle3_2.zip
    I’m gonna focus on firmware now. After this I will probably fine tune circuit by fixing small issues and changing several footprints. Layout also needs some shifting around. Your comments on this are also welcome.
    Since I’ve got 10 PCB boards from seedstudio, I’ll be giving few away. Cannot sell them as they have issues. Will let you know giveaway conditions pretty soon. Thanks

  4. Oh, please send one board to me.

  5. So started to do simple testing of board and found another rude mistake. Filter feedback OPamp pins are not connected. It has to be fixed with jumper wire.
    Another issue – filter bypass switch should be connected in opposite way. Filter output should be open when disconnected instead of shorting it.
    R5 resistor should be 33.33k instead of 100k. C2 should be 18p instead of 33p
    Run simple demo signal on Atmega88. It seems that TL074 is a bit slow for square signals. There are overshoots and ringing on sudden signal rise. Probably faster opamp could solve this problem. Square signals can bee smoothed smoothed using filter. other signals that rise gradually look great. I’ll make a separate post with all fixes and signal samples soon.

  6. Alex, got your posting address – will send board soon.
    Anyone else who wants a PCB to play around – please leave decent comment with thoughts and suggestions here or in other AVR DDS3 posts and then ask for board by sending your mailing address using contact form (http://www.scienceprog.com/contact-form/)
    There are 7 PCBs left.

  7. Hi, I just saw your project which is amazing and it is so nice that you could share your design. I am working on a similar project about waveform generator. At first I am going to use MAX038 which is not produced anymore. And your design helps a lot. I want to know what is the maximum frequency it could get. In my project, this generator works as a modulator. So I really care about the highest frequency it could get. Thank you again!

  8. hello, i would like to receive one board as well so I can upgrade my DDS2 that i’ve built some time ago. its a really nice tool for my workbench.

    thanks and keep doing this great project.

    Gustavo

  9. China electronics enthusiasts

    Hello!
    Very pleased to see such a good design, Look at the label on the PCB package like the Chinese text, I want to produce from our Chinese, I will continue to focus on the project after you optimize, thanks for sharing! !

  10. Hi,
    interesting project, thinking of making one, but need to mahe a pcb for it.

  11. Good job. Thanks for sharing. Is the outbut bipolar or not, I couldnt understand, can u help me? I need a waveform generator with adjustable amplitude bipolar output.

Leave a Reply

Your email address will not be published. Required fields are marked *