Hi everybody, here is a PIC-based nice accurate audio sine generator with a good range 5Hz to 20kHz.
It should be very cheap and easy to build and is a project I was meaning to attempt for a while now (since I posted my "high-accuracy 1kHz sine generator" some months back).
It is finished and tested. All you need is the PIC, 10MHz xtal and a couple of discretes to make the RC filter.
The output sine is very nice (due to the 400kHz DDS and PWM), and so is frequency stability especially as you can set the frequency with buttons then it remains very stable.
My web page;
http://www.romanblack.com/onesec/SineDDS.htm
has the complete project details and a free HEX file for anyone that wants to build one.
I'm also appreciative of filter suggestions (like last time!) as this project is probably worth having a nice adjustable low-pass filter to give a really good sine output.
Merry Christmas!
(Additon 30th Dec) The firmware now has 4 waveforms; Sine, Square, Sawtooth, Triangle. These are optional and only require 2 extra switches.
It should be very cheap and easy to build and is a project I was meaning to attempt for a while now (since I posted my "high-accuracy 1kHz sine generator" some months back).
It is finished and tested. All you need is the PIC, 10MHz xtal and a couple of discretes to make the RC filter.

The output sine is very nice (due to the 400kHz DDS and PWM), and so is frequency stability especially as you can set the frequency with buttons then it remains very stable.
My web page;
http://www.romanblack.com/onesec/SineDDS.htm
has the complete project details and a free HEX file for anyone that wants to build one.
I'm also appreciative of filter suggestions (like last time!) as this project is probably worth having a nice adjustable low-pass filter to give a really good sine output.
Merry Christmas!
(Additon 30th Dec) The firmware now has 4 waveforms; Sine, Square, Sawtooth, Triangle. These are optional and only require 2 extra switches.
Last edited: