Monday, 20 April 2015

What's the easiest/cheapest variable-frequency sine wave oscillator?


A Google search will give you a few billion ideas. Which is the simplest/easiest/cheapest that you know of?



Generating a square wave and then filtering out the harmonics isn't a good solution unless the filter frequency can be varied along with the square.



Answer



Making a numerically controlled oscillator (NCO) with uC + DAC is very easy. Could be a fun FPGA project. An advantage to an NCO is that you change waveforms.


I did a low frequency numerically controller oscillator Arduino sketch (see http://wiblocks.com/docs/app-notes/nb1a-nco.html). At the bottom of the webpage are a couple of references to the original articles,


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...