Build Your Own Function Generator

[Scullcom] has posted the second part of his function generator build tutorial. [Scullcom] previously posted the first part of this build which covered the XR2206 monolithic function generator IC on which his design is based. In this part [Scullcom] covers the output stages and final assembly.

We’ve covered digital and analog function generator builds before. [Scullcom]’s design complements these well by providing a detailed description of the design he used, and has provided full schematics and code from the Arduino Nano used in this project. The design covers audio frequencies (~40Hz to 30KHz) with square, sine and triangle wave outputs. While the XR2206 can’t compete with modern DDS function generators, if you’re a hacker on a budget and looking for a fun project this may be just the thing for you. And even if you don’t decide to build the one, you might find [Scullcom]’s description of the output stage interesting.

Great project [Scullcom] and we look forward to your next build!

13 thoughts on “Build Your Own Function Generator

  1. According to the XR2206 has been discontinued in 2011 already. When looking for the chip farnell returns the AD5932YRUZ saying it’s a replacement part (but i didn’t find 2206 in the datasheet). Mouser and Digikey both says out of stock. The IC is still avaible at Conrad and will be avaible again at Reichelt from 17.08.15, but i suppose they sell some cheap chinese copy (that might fit the specs or not). Where do you buy this chip?
    (Sorry for bad english.)

      1. MAX038 is a great part, however Maxim stopped manufacturing it about a decade ago, so I’m skeptical of the authenticity of those found on Ebay. Should someone test them please report back!

  2. Not sure if you are saving money at all looking for obsoleted chips. I also don’t see much of an educated value either.

    You’ll learn a lot more going to using opamp and passives to make a function generator. There are also DIY bitbanging DDS using AVR + R2R resistor networks. They are probably the cheapest by far. If you want to be a bit more fancy, you can use a proper DAC and add anti-alias filter, buffer etc.

    DDS (AD9950) on a module is about $9 – $12 from Aliexpress. It’ll need a microcontroller + firmware to drive it. There is also the “UDB1002” function generator that has everything all wired up and has LCD, buttons etc. for $30 range.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.