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
 
LinkBack Thread Tools Display Modes
Old 15th April 2007, 02:01 AM   (permalink)
Default SoundCard Oscilloscope free software and simple clipper.

Something I came across, thought it might be a cheap & cheerful way to see waveforms on low frequency projects <20,000Hz. I'm testing it now and if it works I'll use it as part of my Lab tutorial for the Firefly kit I sell. Attached is a schematic for a simple adjustable voltage limiter for your soundcard.
http://www.zeitnitz.de/Christian/Scope/Scope_en.html
Attached Images
File Type: gif Soundcard_Scope.gif (8.8 KB, 40 views)
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com

Last edited by blueroomelectronics; 15th April 2007 at 02:03 AM.
blueroomelectronics is offline  
Old 15th April 2007, 02:28 AM   (permalink)
Default

Might I suggest learning something about LTspice instead? It's free and while not real time it can take .wav files as voltage or current sources and you can do significantly more processing with it (feed the .wav's into simulated analog/digital systems). Another pieces of software I'd recommend is Spectrum lab which is ostensible for amateur radio experimenters which allows real time FFT (and FFT filtering) of incoming audio signals (including demodulation of common HAM protocols)
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."
Sceadwian is offline  
Old 15th April 2007, 02:29 AM   (permalink)
Default

Mind you sound card oscopes are without hardware modifications only AC coupled and usually have filtering stages in between. Another thing to think about is modern PC's have sound cards built in and there is usually a LOT of nasty noise on the various line and wave in/outs that can further distort readings. You'd be amazed at the crosstalk an audio processor will pick up when closely coupled with a PCI/USB or high speed processor interconnects.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."
Sceadwian is offline  
Old 15th April 2007, 02:40 AM   (permalink)
Default

It's not meant as a serious instrument, but mostly to see pwm width, digital signals (square waves) and the price is right. Most soundcards are A/C coupled so DC is out of the question.

Is spectrum lab free, or student version available?
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Old 15th April 2007, 03:04 AM   (permalink)
Default

Free, that's why I use it. Awesome software. http://www.qsl.net/dl4yhf/spectra1.html
I've been gradually shifting all the hacked or pirate software I use to use to the free domain. I don't think I currently run any pirate software on my system.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."
Sceadwian is offline  
Old 15th April 2007, 04:33 AM   (permalink)
Default

Very nice, I'll play with it.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Old 15th April 2007, 06:55 PM   (permalink)
Default

Just to warn you, it likes a LOT of horsepower. Realtime FFT and reverse FFT is very processor demanding.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."
Sceadwian is offline  
Old 15th April 2007, 07:07 PM   (permalink)
Default

Well the freeware scope software works...
1. the signal is inverted.
2. the A/C coupling rounds the squarewaves

on the plus side the frequency measurement was spot on, and the signal was quite useable for what it was.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Old 15th April 2007, 11:24 PM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
2. the A/C coupling rounds the squarewaves
No, the lack of any bandwidth rounds the squarewaves - AC coupling isn't a problem, except for very low frequency ones.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 15th April 2007, 11:33 PM   (permalink)
Default

Now I wonder why it's inverted? Are all sound cards inverted?
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Old 15th April 2007, 11:42 PM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
Now I wonder why it's inverted? Are all sound cards inverted?
Why not?, it makes no difference to sound - audio amplifers don't concern themselves with inverting or not. Certainly it would be trivial for the scope software to invert the image if needed.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 16th April 2007, 07:16 AM   (permalink)
Default

Inverting amplifiers have higher input impedance than non-inverting amplifiers don't they? They probably feed the line/mic input directly from the cap into an inverting amplifier used as a voltage follower for the ADC stage. My sound card has a fixed 20db gain stage on the mic (I think a lot do) so if you want real high precision make sure you're using the mic in with the boost. Keep in mind the noise is really pretty bad but can be averaged out. I pick up all sorts of cross talk (non audiable) when I use that FFT software.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."
Sceadwian is offline  
Old 16th April 2007, 08:41 AM   (permalink)
Default

Quote:
Originally Posted by Nigel Goodwin
Why not?, it makes no difference to sound - audio amplifers don't concern themselves with inverting or not. Certainly it would be trivial for the scope software to invert the image if needed.
Err... it does if you are using the signal as a sound source in a multi-point system... less so in stereo and 5.1, but when you start to deal with clustered speaker sources, ambisonics and the like, phase and polarity can start to make huge differences to how the sound is perceived by the listener. electronically it might make no difference, but it does when you listen to it.
Sam Jelfs is offline  
Old 16th April 2007, 08:50 AM   (permalink)
Default

hi,

The 'sense' of the audio signals must be the same on all the audio channels.

You would get poor quality sound on a stereo system with channels in opposite phases.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 16th April 2007, 09:23 AM   (permalink)
Default

Quote:
Originally Posted by Sam Jelfs
Err... it does if you are using the signal as a sound source in a multi-point system... less so in stereo and 5.1, but when you start to deal with clustered speaker sources, ambisonics and the like, phase and polarity can start to make huge differences to how the sound is perceived by the listener. electronically it might make no difference, but it does when you listen to it.
The phase makes no difference whatsoever, as long as all are in the same phase.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 05:07 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker