Fork me on GitHub

Project Notes

#282 FunctionGeneratorKit

Build and test a function generator kit based on the XR-2206 monolithic function generator.



I couldn’t resist checking out this reasonably cheap Function Generator Kit from a seller on aliexpress.

The XR-2206 monolithic function generator is a pretty capable chip that can do a whole lot more than is required for this function generator (like sweep and AM/FM synthesis). The part now appears to be obsolete however, which probably explains why it is showing up in a flood of kits similar to this one.

Note that I used a 9V battery for my tests and it seemed to function just fine, although this may have been under-powering the chip: the XR-2206 is actually rated for a supply range of 10V to 26V.

Performance is remarkably good - see the scope traces below.

There are perhaps only two significant drawbacks of this circuit:

  • there is no feedback or calibration of actual frequency and amplitude being generated. If the details matter, it is necessary to also hookup an oscilloscope or frequency counter.
  • the analog controls - despite having a “fine adjust” - make it quite hard to dial in precise frequencies
  • there’s no warning or protection against clipping the output when amplitude control set too high

NB: GreatScott! reviewed the same kit in his 7$ Function Generator VS 107$ Function Generator video, and pointed out some other issues:

  • relatively high 600~1000Ω output impedance so can’t drive much load
  • no DC offset control


The kit comes with a custom acrylic case and some decent instructions in English.


The PCB front and rear:




Takes only a few minutes to solder:



Completed build:



Performance is remarkably good.

At 1kHz the waveforms are pretty pure as one would expect. Here is the scope showing

  • CH1 (yellow): square wave output
  • CH2 (blue): sine wave output


The FFT of the sine wave has a decently low noise floor.


Pushing the device to the extreme, the highest frequency it will generate for me is 1.237MHz. At this level, the output waveforms are distorted however still recognisable and probably quite usable for some applications:


The FFT of the sine wave remains quite respectable:


Credits and References

Project Source on GitHub Project Gallery Return to the LEAP Catalog

This page is a web-friendly rendering of my project notes shared in the LEAP GitHub repository.

LEAP is just my personal collection of projects. Two main themes have emerged in recent years, sometimes combined:

  • electronics - usually involving an Arduino or other microprocessor in one way or another. Some are full-blown projects, while many are trivial breadboard experiments, intended to learn and explore something interesting
  • scale modelling - I caught the bug after deciding to build a Harrier during covid to demonstrate an electronic jet engine simulation. Let the fun begin..
To be honest, I haven't quite figured out if these two interests belong in the same GitHub repo or not. But for now - they are all here!

Projects are often inspired by things found wild on the net, or ideas from the many great electronics and scale modelling podcasts and YouTube channels. Feel free to borrow liberally, and if you spot any issues do let me know (or send a PR!). See the individual projects for credits where due.