![]() | ![]() | ![]() |
| | |||||||
| 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. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) | |||||
| Quote:
Quote:
Quote:
The datasheet for the LM324 explains that the output will suddenly go high or low when its input voltage goes negative more than 0.3V. The output from a guitar's pickup could be driving the input of the first opamp well below ground. If you add the FET preamp (that I posted) to the input then the input of the opamp will not go below ground and there will be no phase reversal. Quote:
Quote:
__________________ Uncle $crooge Last edited by audioguru; 30th July 2008 at 02:12 PM. | ||||||
| |
| | (permalink) | |||
| Quote:
Assuming my guitar outputs 3mV; which you thought was too little, the first stage shouldn't have a phase reversal. If I misread my voltmeter and the guitar output was 30mV, the first stage still won't have a large enough input to have phase reversal; yet 30mV×11= 0.33V will cause a phase reversal on the 2nd stage. Quote:
If I was to build the FET preamp you suggested, will that be replacing the current first stage(the preamp)? Quote:
I had mentioned this before; I was using my laptop's mic input for scope.Maybe I should switch to my desktop and use the line input? I'm guessing that this could be my problem.. Dell 700M mic design defect My next laptop is going to be an apple...
__________________ transistance is futile... Last edited by transistance; 30th July 2008 at 03:21 PM. | ||||
| |
| | (permalink) | ||
| Quote:
Quote:
| |||
| |
| | (permalink) |
| It is the mic input of your sound card that is clipping at about 2V peak-to-peak. The Zeitnitz Oscilloscope instructios say the input voltage range of a sound card is 1.4V peak-to-peak!!! They say if you want to see a higher voltage then an input voltage divider is needed. A loud mic level is about 10mV RMS and a loud line level input is about 300mV RMS. You need to know the exact input resistance and impedance of the sound card to make an accurate voltage divider. The software oscilloscope and sound card have an AC input, not DC so you won't know when a signal goes negative. Your voltmeter can measure sine-waves (not music) accurately only at 50hz and 60Hz. The designer of the FET preamp I posted limits its gain to only 1.4 times because he knows that a guitar can produce a few volts of signal. The input voltage range of an LM324 is -0.3V to 32V. If an input goes to a voltage more negative than 0.3V then phase reversal will occur. If an input goes to a voltage more positive than 1.5V less than the positive supply then that input will not function. The output of the first opamp will clip at +0.1V and +7.8V so the other opamps will not have phase reversal. The value of R5 is 1M. Increasing it to 3M won't make any difference. If you use the FET preamp then the first opamp is still needed to provide a low impedance drive to the lowpass filter. The gain of the first opamp should be decreased since the FET has a gain of 1.4 times.
__________________ Uncle $crooge | |
| |
| | (permalink) |
| The J201 N-channel FET is pretty old (like most guitar circuits) but Digikey still has 881 in stock for $.30US each. I would use a 2N5484 FET which has a little more current but should work fine in the simple circuit. Many FETs have a current that is much too high and the circuit will need re-design for them to work properly.
__________________ Uncle $crooge | |
| |
| | (permalink) |
| Ok, here is the deal.. I took my circuit to friend of mine with an oscilloscope, he has been an electronic hobbyist since he was 9 and an electronics engineer for about 10 years now. We checked the circuit stage by stage, there is no phase reversal in the circuit, thus no hardware fix needed. The second order harmonic just manages to pass through at lower frequencies and makes the comparator switch states. My plan is either to have a low pass filter for each string according to proper bandwidth, or use a second PIC that will do some simple software filtering (e.g. do not stop timer if timer is less then expected value on that string). Any simple ideas that might be helpful?? (please no software FFT) or how about switched-capacitor filters??
__________________ transistance is futile... Last edited by transistance; 1st August 2008 at 05:40 PM. | |
| |
| | (permalink) |
| If you check EPE they did a PIC based guitar tuner a couple of years back, and they used a variable filter driven by the PIC. I'm presuming this is for a college assignment?, as you can buy far better commercial ones for very little money. | |
| |
| | (permalink) | |
| Quote:
It's a guitar embedded tuner with multiple tuning schemes, according to scheme chosen the PIC will control 6 servos on the headstock of the guitar to tune it to the scheme user input.. if i get it done, it will just be awesome! I am in no hurry for a deadline, I'm just impatient by nature... I have checked the EPE one when I first started the project, i just couldn't make much out of it, I just skimmed through the code (seemed too complicated), didn't see the schematic thus didn't know they had an controlled external filter.. I thought what they did was software filtering. I already have a separate tuner and a boss gt-8 multi-fx floor pedal with embedded digital tuner. I'm just doing this because I want to learn something and I like challenge.
__________________ transistance is futile... | ||
| |
| | (permalink) |
| Maybe you could add an automatic-gain-control circuit so that the level of the signal to the comparator is just the peaks of the fundamental frequency so that the comparator will not be triggered by harmonics.
__________________ Uncle $crooge | |
| |
| | (permalink) | ||
| Quote:
Do you really use different tuning schemes so much?, the usual method is to have two guitars! - my daughter plays bass , and has written various songs that require different tunings, as well as playing covers that do - but she usually just retunes on the last note of the previous song. She has pretty good pitch, and can retune a string as the previous note dies away - pretty impressive to watch. In one of her previous bands the guitarist used to pass her the guitar to tune - it was faster Melissa doing it by ear than using a tuner, even including the time passing the guitar over. Quote:
| |||
| |
| | (permalink) | |||
| Quote:
Yes. I play a wide variety of modern rock, metal and electronic genres. Quote:
This project is for the less fortunate like me... Quote:
Are EPE issues electronic or prints? Anyways, here is the latest version of my circuit, it's a little bit more complicated. (Sorry for that...) I calculated the ranges of each string in different tunings to develop as little number of filters as possible. I came up with a 3 low-pass filter design that will filter for 2 strings each while attenuating the 2nd and higher order harmonics. I greatly appreciate all your inputs,
__________________ transistance is futile... | ||||
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Audio Frequency Detection | transistance | Electronic Projects Design/Ideas/Reviews | 21 | 25th June 2008 03:31 PM |
| Frequency detection | Nile_Team | Micro Controllers | 9 | 3rd April 2006 12:49 PM |
| Audio beat detection | jrz126 | Electronic Projects Design/Ideas/Reviews | 21 | 12th May 2005 12:28 PM |
| active filter for digital guitar tuner | swh | General Electronics Chat | 6 | 7th June 2004 06:52 PM |
| IR detection by band pass filter | hasanaziz008 | Electronic Projects Design/Ideas/Reviews | 1 | 6th May 2004 03:14 AM |