Square Wave Generator

Discussion in 'The Projects Forum' started by marims, Mar 8, 2010.

  1. marims

    Thread Starter Member

    Jan 27, 2008
    15
    0
    Hi

    I m working on a waveform generator using AD9833, Outputs three types
    Square , Sine and Triangular. The sq wave output is a fixed 5V with programmable (Variable) frequency.
    But, what I need is a Variable Voltage Square wave output ( 0.5V to 5V ) up to 1 MHZ.

    Please suggest.

    Marims
     
  2. russ_hensel

    Well-Known Member

    Jan 11, 2009
    818
    47
    Run the signal thru a op amp unity gain voltage follower with an attenuator on the input. Make sure the amp is fast enough to not round the signal ( 10 meg hz or more ).
    This is on the fast side for op amps, but should work.
     
  3. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    Russ, you're on the right track, but an even faster opamp is required. A square wave is the sum of all the odd harmonics of the fundamental frequency.
     
  4. russ_hensel

    Well-Known Member

    Jan 11, 2009
    818
    47
    Attenuators are basically voltage dividers, or pots. Voltage out is less than ( or equal to ) voltage in, thus attenuated.
     
Loading...