Go Down

Topic: Homemade function generator (XR2206 based) (Read 5714 times) previous topic - next topic


Feb 22, 2014, 07:16 pm Last Edit: Feb 23, 2014, 10:36 am by olof_n Reason: 1

First I want to thank all the people that helped me when I asked questions about this project on this great forum.

This is my function generator based on a XR2206 IC. The XR2206 monolithic function generator IC is available on ebay for 3$.
The Arduino (ATMEGA8) handels the frequency counter.

I wanted to build a XR2206 synth but changed my mind.
I thought it would be better to start with something easy and learn how the XR2206 work before trying to control it digitaly.

The XR2206 is controlled with resistors and capacitors.
Frequency range is adjusted by changing a capacitor.
The frequency inside the range is controlled by a resistor (pot).

One problem (at least for me) was that the different waves had different voltage levels.
I ended up with two outputs. One 0-5V and a second adjustable 0-12V.

The knobs on the frequency generator controlls the following (from left to right):

1.   Frequency range

2.   Frequency

3.   Duty cycle (Used by pulse and sawtooth wave)   

4.   Voltage level for second output

5.   Wave type.

Part list:

XR2206 (Monolithic function generator IC)
ATMEGA8 (Counts the frequrency and controlls the MAX7219)
7-segment display with integrated MAX7219.
TL072 op-amp (used to adjustable voltage on second output)
ICL7660 (Produces negative voltage to the op-amp)


Very cool project! I've been thinking I need a function generator. I should build one like this. Do you have any more details posted anywhere?

Nice project.


Mar 14, 2014, 03:09 pm Last Edit: Mar 14, 2014, 03:15 pm by olof_n Reason: 1
Thanks, if you google xr2206 function generator you will find alot of builds with good documentation.

I can also try to answer any questions you have.
Some circuits are more simple (they skip sawtooth/pulse and don't adjust the output voltage) than others.




Go Up