
Function/Waveform Generator DIY or Buy
video description
I have been building it and found out that the software/firmware is very buggy and poorly written. Still great thanks to Cezar Chirila, the author. Major bug: the actual frequency of the CLK meander signal is 1/2 of the set frequency due to the error in the AD 9833 library (fixed it, but eventually, found a better library.
So, I have re-coded it a bit, fixed bugs, optimized, used better/standard libraries for all components: the display, rotary encoder, button and, most important, for AD9833 module. Works better. Do you wont me to share?
Date: 2020-09-05
Related videos

• TED-Ed
Comments and reviews: 9
ssschuh
Just finished build and testing one (still prototype) and I have to say I don't see this signal instability at about 5MHz using my old analog scope connected at the 9833 output pin. Even being this the top frequency for my instrument. You probably was experiencing some other problem, not 9833's fault. I plan to build a second signal stage, so I can use it to extend sweep range frequency on my scopt, and (hopefully) observe its wave forms at higher frequencies. Anyway, thanks for sharing. Your videos are awesome!
reply
Just finished build and testing one (still prototype) and I have to say I don't see this signal instability at about 5MHz using my old analog scope connected at the 9833 output pin. Even being this the top frequency for my instrument. You probably was experiencing some other problem, not 9833's fault. I plan to build a second signal stage, so I can use it to extend sweep range frequency on my scopt, and (hopefully) observe its wave forms at higher frequencies. Anyway, thanks for sharing. Your videos are awesome!
reply
Jedzia
Hey Scott, thanks for the exciting analog spectacle: )
TL071 is limited to 4Mhz, such a simple mistake.
Actually it is worse than maciolos9's assumption:
Scott uses (0, 65V to 12Vpp =) an amplification of 37. With the TL071 Unity-gain bandwidth of 3Mhz this will limit the amplifier to 81KHz in the best theoretical case and with a PCB designed for AC purpose. The latter is not the case at all: )
But for the lab at home? A great tool and a starting point for improvements. Use your own imagination.
reply
Hey Scott, thanks for the exciting analog spectacle: )
TL071 is limited to 4Mhz, such a simple mistake.
Actually it is worse than maciolos9's assumption:
Scott uses (0, 65V to 12Vpp =) an amplification of 37. With the TL071 Unity-gain bandwidth of 3Mhz this will limit the amplifier to 81KHz in the best theoretical case and with a PCB designed for AC purpose. The latter is not the case at all: )
But for the lab at home? A great tool and a starting point for improvements. Use your own imagination.
reply
Leigh
For beginners / hobbyists you can go even cheaper by building a lamp stabilized Wien bridge oscillator with a Schmitt trigger square wave circuit as sine and square are the main ones for audio and simple digital work. If you use op amps with a fast slew rates then you will certainly cover the audio spectrum and up to around 100kHz with a very low distortion output. A good quality True RMS multimeter with a Frequency range is all that is needed to set the output.
reply
For beginners / hobbyists you can go even cheaper by building a lamp stabilized Wien bridge oscillator with a Schmitt trigger square wave circuit as sine and square are the main ones for audio and simple digital work. If you use op amps with a fast slew rates then you will certainly cover the audio spectrum and up to around 100kHz with a very low distortion output. A good quality True RMS multimeter with a Frequency range is all that is needed to set the output.
reply
Jamil
Scott, Thank you so much for this tutorial. I do have a request if you dont mind. I signed up to all about circuits so i can download the code. But every time i click to download the zip file it takes me back to the home page. Do you have the code somewhere on the web for me to download?
reply
Scott, Thank you so much for this tutorial. I do have a request if you dont mind. I signed up to all about circuits so i can download the code. But every time i click to download the zip file it takes me back to the home page. Do you have the code somewhere on the web for me to download?
reply
Logan
Awesome video AS ALWAYS! I think it would be awesome if you could do a DIY-OR-BUY on TL-smoothers used to remove the salmon-skin effect on 3d printed parts. Seems like a quick project that would be really interesting! Thanks for all of the great content!
reply
Awesome video AS ALWAYS! I think it would be awesome if you could do a DIY-OR-BUY on TL-smoothers used to remove the salmon-skin effect on 3d printed parts. Seems like a quick project that would be really interesting! Thanks for all of the great content!
reply
AfterFPV
Where'd you learn English? I'd hate to offend, but love to know the answer: Your english is flawless and I believe you're German, no? There's some distinct inflections in your accent. Did you perchance ever live in Asia?
reply
Where'd you learn English? I'd hate to offend, but love to know the answer: Your english is flawless and I believe you're German, no? There's some distinct inflections in your accent. Did you perchance ever live in Asia?
reply
badouri
Could yuou please make a video and show us how to make an oscilloscope based on arduino if it is possible.
By the way you are awsome man i really enjoy wathing your videos.
reply
Could yuou please make a video and show us how to make an oscilloscope based on arduino if it is possible.
By the way you are awsome man i really enjoy wathing your videos.
reply
Jo
I bought on ebay an old function generator for 30. It has nearly the same functions as the diy one and is at some points better.
I think this is the best and easiest way.
reply
I bought on ebay an old function generator for 30. It has nearly the same functions as the diy one and is at some points better.
I think this is the best and easiest way.
reply
Peter
Fun fact: tupperware containers make easy and cheap project boxes that can be modified with simple tools. Also, you don't have to spend hours designing and printing a box.
reply
Fun fact: tupperware containers make easy and cheap project boxes that can be modified with simple tools. Also, you don't have to spend hours designing and printing a box.
reply
Add a review, comment
Other channel videos














