Home › Magazines › 2009 › July/August › Digital Sweep and Sinewave Generator with...

Digital Sweep and Sinewave Generator with direct frequency entry

Published in issue 391, July/August 2009

Digital Sweep and Sinewave Generator with direct frequency entry
The Parallax SX28-based ‘Frequency Response Sweep Oscillator’ project published in the April 2008 issue of Elektor inspired the author to develop a similar circuit based on the ATmega48 microcontroller. As it turns out, the ATmega-based circuit is nearly as capable as the original. An important characteristic of the design is the maximum direct digital synthesis (DDS) sample rate that can be achieved when generating a sinewave.

Extra info, Updates

Characteristics

* Digital sweep function:
Frequency ranges: 100 Hz to 100 000 Hz or 50 Hz to 15 000 Hz,
logarithmic scale with 256 steps
2 sweep rates: 0.2 ms or 0.4 ms per frequency value
(phase accumulator increment value changed every 0.2 ms or 0.4 ms)
Outputs in sweep mode:
* sine output
* marker frequency (rectangular wave)
* marker position pulse
* trigger pulse at start of each sweep

* Digital sinewave operation:
Direct frequency entry in Hertz via keypad
Format: '*' = start of entry
digit(s) 0 to 9
'#' = end of entry, start sinewave generator
Outputs in sinewave mode:
* sine output (0 VPP to 4.5 VPP)
* frequency/marker pulse (rectangular wave)

Click below to download a PDF copy of this article from Elektor magazine.

 

Downloads 

Article PDF
10 Elektor Credits
 

Order this magazine 

Magazine July/August 2009
UK391 (US $ 11.30)
 

Order from Elektor 

Programmed ATmega48-20PV
080577-41 (US $ 10.40)
 

Free downloads 

Software

Free download

Please note. In view of the complexity of international markets, Elektor cannot guarantee the availability of components for this project.

Subscribe now

Subscribe to our free
E-weekly Newsletter!

Enter your Email address:

Front Panel Express


Design your unique front panel with our free CAD software - it is quick and easy! Front Panel Express will machine your design with modern CNC technology. You will receive the panel exactly as you need it in a couple of days.
Instant download

FAQ

Before submitting questions, review our FAQ section!

Spotlight

Elektor 1990 through 1999

This DVD-ROM contains the full range of 1990-1999 volumes (110 issues, more than 2,100 articles) of Elektor Electronics magazine.