Signal Generator

Dicky Mint

Senior Member
Hi

I want to build a signal generator using a PICAXE.

I think I can generate the basic square wave up to ~4MHz

But how can I transform any frequency square-wave from DC to 4MHz into a sine-wave?

DM
 

Dippy

Moderator
But how can I transform any frequency square-wave from DC to 4MHz into a sine-wave?

DM

Why don't you do what everyone else is doing ... Google.

Basically it's about filtering and you'll struggle if you want purity and a wide range.


If I were doing it I would look at controlling a Function generator chip.
Try Googling that.
 

g6ejd

Senior Member
I've done this in the past using a resistor ladder as nickab12 suggests, see attached. Surprisingly the purity of the output is not bad but the output impedance will be quite high, so would need to buffer it with say an op-amp LM355/741 etc. Mine was linked to a display and a double pole switch so that I could hold the switch on and get the PICAXE to increase the frequency and vice-sersa displaying the frequency on the display, worked well, but limited with respect to a custom function generator, but then the latter is no fun :)

4-bit_r-2r_DAC.gif
 
Last edited:
Top