Rethinking AVR DDS3 signal generator project

These things happen all the time. When you start a new project, but feel from the beginning that it’s not what you wanted. Usually they end up collecting dust. I think there is nothing shameful because it is better to fail than do nothing. There are thousands of examples where people, companies start new projects with enthusiasm but they never reach the day light. But without those efforts we wouldn’t see other great projects and products. Not all of them are made from first try.

avr dds3 prototype

It’s been over a year since announcement of AVR DDS3 signal generator. As you have noticed there is no progress so far on it. And I am going to five up on it for a couple reasons. From the beginning I didn’t feel comfortable with it.

  • First of all the need for two microcontrollers. The whole concept of simplicity is lost. Using second MCU for generating DDS doesn’t sound really right – there are way better specialized DDS chips that can give better resolution and bandwidth.

  • Another strong reason the user interface. I thought adding 4×4 keypad, but in reality this is nightmare to use. Rotary encoder would be better choice, isn’t it?

  • Signal generation method. Need to rethink the signal generating method. Do I need to run DDS algorithm in order to make square or triangle signals?

Instead of struggling to write a complete firmware, I decided not to. The is no practically point to waste time.

Whats good in this project is an analog part. Might be I should choose faster operation amplifier and better PCB layout. I see better results combining AVR DDS2 with analog part from DDS3. Could be I will focus on improving DDS2 that way. Or go with new project where DDS chip is gonna be used.

So far this is not the first project that wont reach the finish. I think everyone has a bunch of unfinished projects. This one I felt the need to notice as there are few people that expect it to be done.

There are few PCB left if someone rally wants to keep experimenting or simply use as prototyping board for other projects. It has ISP headers, LCD supports and few I/Os. Drop a comment or send message via contact form for more details how to get one.

My final advice, if it happens that your projects fail, don’t stop, don’t give them prominence. Learn from them and start making better.

3 Comments:

  1. Hi,
    – As a hobbyist, what I need is a dead simple, low cost, DIY equipment. DDSV2 is one of my fav project. Not a DDS chip device
    – Rotary encoder! this may not be easily accessible in my place (just for me)
    – Agree, DDS for sine and simple time delay loop for square and triangle

    Personally, I strongly recommend to improve DDS2+DDS3 Analog front end, + new firmware for signal output optimization, some enhanced UI.
    Last, I am a PIC guy. I would like to port your DDS algorithm to PIC. Problem is most low end PIC are not fast enough. I find out which PIC chip could do the task.
    Cheers,

  2. Your points are what I’m thinking next. DDS2 single AVR generator + analog part from 3rd attempt would be a nice combo. As UI probably I will stick with simple push buttons as they are cheap and available everywhere.
    As for PIC it should be possible to port some code parts, but DDS function which is written in ASM must be rethought. This is time critical algorithm where each clock cycle counts.

  3. Did you listen about CI XR2206? I have seem some project, I cannot remember what site, that tells some project with some CI from Analog Devices, who give us 1,6Mhz frequency.

Leave a Reply

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