Sound Card based Oscilloscope????
glaso
Posts: 38
Did anyone have tried one of those softwares that emulates an oscilloscope and receive the signals from the mic input of a sound card?
What I need for the probes?
What is the maximum voltage that the sound card could support?
·
What I need for the probes?
What is the maximum voltage that the sound card could support?
·
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
It was very easy and a good alternative for those who need an oscilloscope for some basic operations which doesn't justify a real oscilloscope.
Post Edited (glaso) : 3/23/2005 2:08:18 PM GMT
my computer, but I think tha with the necessary precautions you will
have no problems
If you really are concerned about your computer and the input works with the software - just·use an opto-isolator to supply a controlled and limited input to your computer.
Then, if you mistakenly hook up a circuit that is either the wrong impedance or polarity - you can merely replace the little DIP that you damaged.· Your computer will be well protected.
So, the real question is how to properly match the impedance of the mic input with the output from the opto-isolator and how you choose to power the little IC.· I suggest using a 9volt battery with a 5volt regulator would give you a completely portable power supply [noparse][[/noparse]but somewhat short battery life at 800ma/hr].
Who can figure out the input impedance to match?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
G. Herzog in Taiwan
It is a very nice program, but it has some limitations
I see that the sampling rate is either 5ms or 50ms.
If I recall right, that rate has to be 4 times higher than the actual frequency you want to observe.
So at 5ms, you have a sample rate of 200,000 Hz. If you divide by four - you get a 50,000 Hz limit. This is okay for audio outputs and audiophile work.
And it is okay for observing some of the slower microcontroller outputs. AND VERY·GOOD TO TEST FOR SMOKED ICs.
But, eventually you may desire to move up. Often, the problem in microcontroller seems not to be at the pulse's frequency, but the creation of noise that is at a higher frequency. This noise confuses the processor with spurious inputs.
As far as the input impedance to the sound card, I guess that if you limit the microphone input to less than one volt and you maintain a linear input, you will get a usable calibrated input. It seems that it is similar to an op amp [noparse][[/noparse]has extremely high impedance].
As with all scopes, calibration is important. With a five volt regulated power supply to the opto-isolator, you will need some kind of voltage divider circuit on the output and it needs to give you a good number as well as a pretty picture.
Also, since the opto-isolator is driven by an LED, you likely need to have an opamp provide power to the LED.· There are some that work at 5volts.· The opamp provides the high impedance and can take your from a microvolt signal and enable the LED to transfer it at something like 1.2volts
I may try to build something and set it up to use normal oscilloscope probes. It seems to be getting complicated
After all is said and done, you may want to immediately move up to a scope adapter and better software. Parallax has one of the more reasonably priced ones. And, it may work with WINSCOPE or other generic scope software.· They do provide their own software with it, so that may not be an issue.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
G. Herzog in Taiwan
Post Edited (Kramer) : 3/29/2005 8:26:23 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The problems of aliasing and beating entered into the discussion that presented a factor of 4 to me as important for the sampling rate limit. I was note aware that a factor of 2 might be acceptible in some applications and particularly sampling for a scope.
But, it seems that my math was off by a factor of 1000 according to you. Since the WINSCOPE claims to be useful for audio applications, I presumed that a 50,000 HZ limit was in the ball park. You really cannot do much with a 100Hz - just watch the AC cycle on your power supply or observe an IC for possible damage
Are we working with micro-seconds or milla-seconds? If it works with 100,000Hz - all the better. This appears to be a case of a nasty abbriviation.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
G. Herzog in Taiwan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
No one in their right mind would make a 100hz oscilloscope.·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
G. Herzog in Taiwan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
G. Herzog in Taiwan