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 (USD 11.30)
 

Order from Elektor 

Programmed ATmega48-20PV
080577-41 (USD 10.50)
 

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:

Follow Elektor

      

Act now!

Sponsored

FAQ

Before submitting questions, review our FAQ section!

Bestseller

Controller Area Network Projects

The aim of this book is to teach you the basic principles of CAN networks and in addition the development of microcontroller based projects using the CAN bus.

Package Deals

Elektor Bundles

Check our Package Deals and save money! Discounts up to 19% now available!

Price Slashed

Elektor OSPV

This Open Source People Vehicle is perfect for factory halls, warehouses, hospitals, colleges, schools etc.