Produce an oscillating Dc wave

k1ng 1337

Joined Sep 11, 2020
1,038
In the naiveté of my youth I thought rhyming was an essential element of poetry. Turns out, that is not necessarily the case.
I never cared much for spoken rhyme although when put to song it takes new life. I suppose it's because I feel most authors force words to fit a rhyme where the word chosen is not an accurate description or is fitting to the flow. This of course may be the limit of my taste as I consider any art to be a positive thing if it provides a positive feeling. Who knows maybe one day I will paint a portrait of an apple. Art? You decide ;)
 

MisterBill2

Joined Jan 23, 2018
27,558
FOR a GUITAR or other musical instrument tuning reference the accuracy required is far greater than you will get from an RC oscillator Dividing down from a crystal oscillator makes sense, and will only require analog circuits in an amplifier to make it audible. And there exists an IC intended for that purpose, called a "Top octave generator." But I have not seen that listing for many years. A similar function might be possible with one of the small computer modules, possibly even an arduino. And having some harmonics in the signal would allow it to work for more than one octave.
 

k1ng 1337

Joined Sep 11, 2020
1,038
FOR a GUITAR or other musical instrument tuning reference the accuracy required is far greater than you will get from an RC oscillator Dividing down from a crystal oscillator makes sense, and will only require analog circuits in an amplifier to make it audible. And there exists an IC intended for that purpose, called a "Top octave generator." But I have not seen that listing for many years. A similar function might be possible with one of the small computer modules, possibly even an arduino. And having some harmonics in the signal would allow it to work for more than one octave.
I was thinking about buying a 16 or 20mhz crystal with a pierce oscillator and then using decade counters and loading capacitance to tune to 440hz A. The datasheet for the 4017 shows it's max frequency at 15v to be 5.5mhz so it would not (?) work for the first stage of division. Is there a circuit you can recommend that would do this? I know many ICs such as 555 can be made to divide by 2, 3, 4.. worth trying out or is this all reducing the Q with all the extras?

Surprisingly I found low Q setups to be able to produce a frequency I can tune to. I'm somewhat able to find the center frequency and filter it out in my head. I think I hijacked this guy's thread haha.
 

MisterBill2

Joined Jan 23, 2018
27,558
I was thinking about buying a 16 or 20mhz crystal with a pierce oscillator and then using decade counters and loading capacitance to tune to 440hz A. The datasheet for the 4017 shows it's max frequency at 15v to be 5.5mhz so it would not (?) work for the first stage of division. Is there a circuit you can recommend that would do this? I know many ICs such as 555 can be made to divide by 2, 3, 4.. worth trying out or is this all reducing the Q with all the extras?

Surprisingly I found low Q setups to be able to produce a frequency I can tune to. I'm somewhat able to find the center frequency and filter it out in my head. I think I hijacked this guy's thread haha.
There are lower frequency crystals and also oscillator modules available for fairly low prices. And binary dividers with a bit of decoding can provide a frequency that can be fed to a FF and give a perfect square wave at 440.000 Hz. Or other frequencies, as needed.
 
Last edited:

Reloadron

Joined Jan 15, 2015
7,891
I was thinking about buying a 16 or 20mhz crystal with a pierce oscillator and then using decade counters and loading capacitance to tune to 440hz A. The datasheet for the 4017 shows it's max frequency at 15v to be 5.5mhz so it would not (?) work for the first stage of division. Is there a circuit you can recommend that would do this? I know many ICs such as 555 can be made to divide by 2, 3, 4.. worth trying out or is this all reducing the Q with all the extras?

Surprisingly I found low Q setups to be able to produce a frequency I can tune to. I'm somewhat able to find the center frequency and filter it out in my head. I think I hijacked this guy's thread haha.
If it works for you buy a small simple single package crystal oscillator similar to this 1.0 MHz version. Originally Dale but I think now maybe Vishay Dale. These are made by several manufacturers.

Next, if it can work for you take a look at Audacity which while designed as an audio tool software it does all sorts of audio related things including tone generation in a variety of wave shapes. Downside is that it is software so needs something to run on.

Ron
 

BobTPH

Joined Jun 5, 2013
11,523
I was thinking about buying a 16 or 20mhz crystal with a pierce oscillator and then using decade counters and loading capacitance to tune to 440hz A. The datasheet for the 4017 shows it's max frequency at 15v to be 5.5mhz so it would not (?) work for the first stage of division. Is there a circuit you can recommend that would do this? I know many ICs such as 555 can be made to divide by 2, 3, 4.. worth trying out or is this all reducing the Q with all the extras?

Surprisingly I found low Q setups to be able to produce a frequency I can tune to. I'm somewhat able to find the center frequency and filter it out in my head. I think I hijacked this guy's thread haha.
Why do people go to great effort to make something when they can get an app to do it for $1.99 that is far better?

Bob
 

k1ng 1337

Joined Sep 11, 2020
1,038
Why do people go to great effort to make something when they can get an app to do it for $1.99 that is far better?

Bob
Why do anything? Electronics is fun and I want to know how this rascal works instead of paying someone to think for me. Having fun is reason enough to do anything. If I were seriously implementing something then of course it's hard to beat many hours of professionally engineered technology.
 

k1ng 1337

Joined Sep 11, 2020
1,038
If it works for you buy a small simple single package crystal oscillator similar to this 1.0 MHz version. Originally Dale but I think now maybe Vishay Dale. These are made by several manufacturers.

Next, if it can work for you take a look at Audacity which while designed as an audio tool software it does all sorts of audio related things including tone generation in a variety of wave shapes. Downside is that it is software so needs something to run on.

Ron
I've used audacity and even made music using FL studio. I need to start adding more information to my posts so people don't have to assume I'm an ape haha. I was going to pick up a 16 or 20mhz because that's what my source has on hand for El cheapo.
 

Reloadron

Joined Jan 15, 2015
7,891
I've used audacity and even made music using FL studio. I need to start adding more information to my posts so people don't have to assume I'm an ape haha. I was going to pick up a 16 or 20mhz because that's what my source has on hand for El cheapo.
I never assumed you were an Ape, really I didn't. Just didn't know if you were aware of Audacity or the little TCXO chips like I linked to or some of the divider chips out there. :)

Ron
 

Tonyr1084

Joined Sep 24, 2015
9,744
Post #3
As to previous question about producing high frequency square wave, you will need a high-speed comparator which needs an oscillating dc wave and reference it with another constant dc voltage to produce high frequency square wave. This will help to adjust the PWM from 0 to 100% with just changing the reference input voltage of comparator. That's what i want. Furthermore, It is an extremely high frequency square wave. High frequency needs comparator:)
That was last Friday (12/10/2021). Looking like the thread has been hijacked by k1ng 1337. Is this the case? Post #3 is the last time the original TS posted to this thread.
 

MisterBill2

Joined Jan 23, 2018
27,558
OK, possibly hijacked or not, are there two different applications now for the frequency being generated? Or is this just the wandering direction that I frequently see in threads?
 

Reloadron

Joined Jan 15, 2015
7,891
OK, possibly hijacked or not, are there two different applications now for the frequency being generated? Or is this just the wandering direction that I frequently see in threads?
Yes, you called it. Like many it wandered and like many the thread starter is gone and the thread was hijacked as they say. Sometimes moderation will "split" a thread like this and sometimes not. For the most part I generally just go with the flow. Then eventually the thread will slowly die and life goes on. :)

Ron
 

k1ng 1337

Joined Sep 11, 2020
1,038
OK, possibly hijacked or not, are there two different applications now for the frequency being generated? Or is this just the wandering direction that I frequently see in threads?
Yes, you called it. Like many it wandered and like many the thread starter is gone and the thread was hijacked as they say. Sometimes moderation will "split" a thread like this and sometimes not. For the most part I generally just go with the flow. Then eventually the thread will slowly die and life goes on. :)

Ron
I can't speak for others but sometimes I'll read someone's question and then someone's reply triggers my own question. Many of you are clearly highly educated and I take those opportunities to learn. I will admit it's poor etiquette to do so but I got the impression TS is not all that serious.
 

Reloadron

Joined Jan 15, 2015
7,891
I can't speak for others but sometimes I'll read someone's question and then someone's reply triggers my own question. Many of you are clearly highly educated and I take those opportunities to learn. I will admit it's poor etiquette to do so but I got the impression TS is not all that serious.
No problem as the thread had run its course. Anytime you have questions feel free to start a new thread of you own. :)

Ron
 

Mkspoch

Joined Dec 25, 2016
1
View attachment 254847
Hi People :),
The reason why I will be needing an oscillating dc waveform is because I need it to be fed into the input of a comparator to produce high frequency square wave dc signal. I built this Wein Bridge Oscillator and it works fine to produce quite a high frequency sine wave. However, I want to produce an oscillating dc waveform that looks like a curvy shape by changing the (-12V) to a positive voltage at negative rail but it produces no signal at all.

Does anyone have a solution to produce high frequency dc waveform (does not matter the shape as long as oscillating because it will be fed into a comparator to produce dc signal) ?

Thank you
Hi, you can use a typical NE555 circuit to produce a higher than audio frequency, offset (0 to 5Volts), square wave directly.
Contact me if you need more help <mod: deleted email, avoid spamming>
 
Last edited by a moderator:
Top