Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Tools
Old 7th November 2003, 12:11 PM   #1
Default square waves into sine waves... any ideas????

can anybody tell me how i can compare two frequncies using beat frequencys???
im trying to make a guitar tuner as my HNC project and im generating a sqaure wave from and oscillator circuit,which im using as a reference frequency to compare with an input from my guitar, which, produces a sinusodual output.
if compare the square and the sinewaves i am not able to turn a bulb(indicator) on and off completly so i do really need two sine waves....
after all that any ideas
bully_victim is offline  
Old 7th November 2003, 01:27 PM   #2
Default Re: square waves into sine waves... any ideas????

Quote:
Originally Posted by bully_victim
can anybody tell me how i can changes square wave into a sinewave so i can compared them using balence frequencys???
im trying to make a guitar tuner as my HNC project and im generating a sqaure wave from and oscillator circuit,which im using as a reference frequency to compare with an input from my guitar, which, produces a sinusodual output.
if compare the square and the sinewaves i am not able to turn a bulb(indicator) on and off completly so i do really need two sine waves....
after all that any ideas
Cool,i'm working on a distortion pedal,good luck
__________________
------------------------------------------
I\'m a newbie that needs help =)
Super Mario is offline  
Old 7th November 2003, 07:51 PM   #3
Default

A square wave is a complex wave, composed of sine waves of the fundamental frequency, plus every odd harmonic (3rd, 5th, 7th, 9th...) up to the infinith harmonic (in theory, anyway).

If you feed a square wave into a low pass filter, tuned just above the fundamental frequency, you should get a pretty clean sine wave out.
Phasor is offline  
Old 7th November 2003, 08:40 PM   #4
Default

For reference, here is a basic active low pass filter:
Attached Thumbnails
square waves into sine waves... any ideas????-lowpassfilter.jpg  
Phasor is offline  
Old 8th November 2003, 07:34 AM   #5
Default

In the function generators first feed the square wawe to integrator. The output is triangle wawe, and with diode limiter circuit make sinus.
Sebi is offline  
Old 8th November 2003, 03:30 PM   #6
Default

Seems to me that it would be simpler to convert your guitar output to a square wave using a comparator with hysteresis (Schmitt trigger), and then compare the frequencies of the two square waves.
Roff is offline  
Old 10th November 2003, 09:48 AM   #7
Default

bully_victim is offline  
Old 10th November 2003, 10:06 AM   #8
Default

im thinking of using beat frequencies aswell..... think that this is a good idea???
any other ways of comparing the two frequencies would be most apprieciated....
bully_victim is offline  
Old 10th November 2003, 03:17 PM   #9
Default Why use filters ?

Is there a reason why you are using a square wave?
Will this be for tuning a single guitar string or are you hoping to measure beat frequencies from all six strings against one/six oscillators ?
Do you have a diagram or fuller description of your idea ?

As this is a college assignment (yours, not ours!) I want to see what your thinking is before I suggest anything that could alter your current direction.
There is never just one way of doing these things !
:wink:
__________________
I need a memory upgrade ...
My head is full !
mechie is offline  
Old 10th November 2003, 05:46 PM   #10
Default

If you go with Phasors idea of low pass filter, you really should make a band pass filter tuned to the frequency you want. The low pass will pass all lower frequencies as well and add to the distortion. Also, if you use the diode limiter version (from triangle) wave be prepared for significant distortion there too.
Optikon is offline  
Reply

Thread Tools
Display Modes




All times are GMT. The time now is 09:20 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker