### Communities

tag:snake search within a tag
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
created:<1w created < 1 week ago
post_type:xxxx type of post
Q&A

# What Sine-Wave Oscillator can be controlled with a microcontroller?

+1
−4

I need a Sine Wave Oscillator circuit that can allow me to control its frequency with a microcontroller. Until now all the topologies that I have found if the frequency is changed, a change in the circuit component is mandatory here is some topologies: :
Courtesy of TEXAS INSTRUMENTS

For now am going to be using Arduino as a microcontroller, some forums suggest the use of AD9850 module but I couldn't find it :( .

The frequency range that I am aiming is from 10 Hz to 10 MHz pure stable sinusoidal wave. And the amplitude of 10 Vpp ,1 mA , -28 dBc (if my calculation is correct), the two ways that i can think of to control the circuit is with the help of a digital potentiometer or a DAC of 8 bit or 12 bit.

Edite:
So i have found this circuit which is based on Varactor a VCO;

My question is why we need a DC isn't the AC enough?

Why does this post require moderator attention?
Why should this post be closed?

+3
−0

10Hz to 10Mhz is a wide frequency range, it would be very hard to cover that whole range in the analogue domain, as you have discovered analogue oscillators that can span more than a factor of about 3 frequency are tricky. so far as I know the best perfoming tunable oscillator is the Vackář_oscillator.

But you're asking for 1:100000 range, in a simple oscillator that's not going to happen.

Early television sets used one oscillator for each channel, switching channels with a clunky channel selector that swapped the inductors and capacitors in the circuit, later designs mangaed a 1:3 tuning range and split the frequency range into 3 parts, approximately ( 45-115 , 115-300 and 300-900 )

for a 1:100000 range The only analogue approach that I can see working would be to make a higher frequency say 10.7MHz to 11.7MHz using some sort of tuned circuit and then "mix it down" by multiplying it with a fixed 10.7MHz perhaps using a Gilbert cell, and then a low pass filter to exclude the original signals and the upper sideband. (10.7 MHz chosen because it's used in FM radio receivers, so filters etc should be readily available)

Others have suggested using AD9850 which is a digital chip that uses DDS to produce a sine wave, this seems a far easier approach, copy the example design from the datasheet, or purchase a pre-assembled module.

If you don't want to learn all about radio design from the last century the DDS is the right approach.

Why does this post require moderator attention?

back on track (1 comment)
+0
−2
pure stable sinusoidal wave

This is impossible. Forget it. Go home.

No matter what you do, there will always be some noise added to the sine wave. Some random noise and some harmonic distortion are inevitable.

Why does this post require moderator attention?