Building a Cheap Oscilloscope Using Your PC?
JohnMadison asks: "As a engineering student, I have a lot of projects, but not much test equipment at home. I was wondering if anybody has advice on using my PC as an oscilloscope. I've downloaded a couple of shareware programs that use the sound card for input, but they weren't really useful. I am looking for a good way to make a cheap, yet decent scope. Any sugestions?" While something like this would be an interesting hack, I'm at a loss as to what you would use for probes. The submitter mentions using the sound card as an input, but would that be the best solution? If you were going to make a custom add-on to the PC to do this, what would it need? Does such an add-on already exist? Interestingly enough, this fits in well with an earlier article we did.
The sound card might offer reasonably sensitive voltage comparisons in the 1V range, but really wouldn't be an ideal way to go, IMHO.
:)
Looking at the game ports (two ADCs each) might be one option, and probably "safer". (Game boards are practically free).
Another might be look at the tape port. You have a true IBM-PC, don't you?
Do daemons dream of electric sleep()?
Radio Shack "ProbeScope" ... about $100, plugs into your serial port, uses 9v battery for power ... comes with pretty decent software (16 bit win, but I have seen linux software that claims to support it).
It also has a little lcd screen that will show you the waveform, and will act as a digital multimeter.
I've done this with some of the freeware Windows scope programs out there (I'm a former VLSI hardware designer), but even at 96kHz the latency vs. buffer size issue gets to be a problem when probing around in a circuit. It's marginally acceptable for tuning up tape deck heads and so on, but don't try it for any serious design or repair work.
The other problem is of course sound card inputs are AC, you really want DC coupling. And high impedance.
Bottom line: you're better off with a scope board from the back pages of one of the magazines.
Try this
I built one a while back out of a A/D chip and a few transistors. The only other part was a clock chip and crystal. I didn't bother to sync everything perfectly - I just let the clock chip flap away and read whatever was on the lines.
Worked pretty well. It even worked as a video in(though it didn't get much resolution).
This is a really fun project if that's what you're looking for - and it's good enough for simple electronics. You'll certainly be able to see simple wave shapes. That said, you'd have to do some work if you were
1. Were worried about accuracy
2. Needed fast sampling
3. Deal with large ranges of voltages. Mine dealt only in 0-5 volts.
-Dave
Let's not stir that bag of worms...
http://www.designnotes.com/pcs64i.htm& bt nG=Google+Search
found from
http://www.google.com/search?q=pc+Oscilloscope+
I think you might be able to get started with a DATAQ WinDaq starter kit. Specifically, the DI-194 is only $13 + S&H for a four-channel, 8-bit DAQ that you just plug into your serial port.
"It take 9 months to bear a child, no matter how many women you assign to the job."
I was looking for something along these lines as well, a couple months ago. The software/sound-card solution is xoscope. I'm afraid I haven't had time to try that.
Another cool site is bitscope.com where you can find a completely open-design for an oscope you can build yourself (or order from them, I think.) It includes all the schematics and such, and the finished unit slides into a bay in your PC, with two slots for probes. How cool is that!
python -c "x='python -c %sx=%s; print x%%(chr(34),repr(x),chr(34))%s'; print x%(chr(34),repr(x),chr(34))"
You should be able to get good acquisition speeds and LabVIEW is a really cool programming environment. They may even have a demo. The coolest part is that since it is a programming environment, you can collect your data and actually DO stuff with it at the same time.
http://www.labview.com
Scott
"Hokey religions and ancient weapons are no match for a good blaster at your side, kid."
Find an old Commodore Pet computer on the junk heap somewhere. Turn it on, make sure the monitor still works, and extract the TTL digital input wire from the internal monitor cable while leaving the remaining wires connected. You can then use this (and ground) to probe TTL signals up to around 7MHz :-)
Alternatively you can go to CompUsa and spend $60 on a cheap oscilloscope.
-Matt
I seem to recall building an quite a few sensors in electronics lab in college that used the parallel port. As I recall, the general scheme was to attach the input to a 741 op-amp circuit to increase/decrease the voltage levels as needed. The output of the 741 is then used as the input to a 8 bit analog to digital converter chip. Data can then be collected easily by polling the parallel port.
I don't want free as in beer. I just want free beer.
http://www.ucl.ac.uk/~ucapwas/scope20m.html: //www.ucl.ac.uk/~ucapwas/video.htmlo c.ic.ac.uk/~ih/doc/adc_dac/. uk/~ih/doc/adc_dac/deck/4chan 8bitadc.ascd ac/deck/8chan 12bitadc.asc_ dac/adc11/a c/dcfg/. html#pcme asuring
http
http://www.d
http://www.doc.ic.ac
http://www.doc.ic.ac.uk/~ih/doc/adc_
http://www.doc.ic.ac.uk/~ih/doc/adc
http://www.doc.ic.ac.uk/~ih/doc/adc_d
http://www.epanorama.net/links/measuring
Have fun...
Reason is the Path to God - Anon
http://www.epanorama.net/links/oscillator.html
s co pe.shtml
t ml
- Information on Oscillator circuits
http://www.dansworkshop.com/Homebuilt%20oscillo
- Website about a homebuilt 'scope
http://members.tripod.com/michaelgellis/scope.h
- Scope diagrams and schematics
http://www.picotech.com/oscilloscope.html
- Company with PC based products
Hope this helps...
National Instruments has great instruments as PCI cards and you can make your own programs/software in Labview but this option is on the expensive side.
How cheap are we talking about here? You can get a Tektronix 465 with a probe for $200 or less and this is a nice featureful scope. There's a reason the 465 was in production for decades. It's many times better than some sound card hack.
I think it might be this one. If not, check out this page to see the other options available at Radio Shack.
"It take 9 months to bear a child, no matter how many women you assign to the job."
I've done a fair amount of debugging with logic analyzers and digital osciliscopes (software stuff, I'm not a hardware jock) and you couldn't debug an IDE interface or PCI interface with something on a parallel port or sound card, at least not easily. If you're doing simple analog stuff you could get away with it. Realistically you're going to want a real scope at some point in time though.
Hard to say though. I've seen them at hamfests and stuff like that for relatively cheap and any decent hardware shop is going to have them for their people to use or "check out."
Try this site (click on the catalog page for a pdf spec sheet). They have a card that turns your pc into a scope for like $300 bucks (vs thousands for a regular scope).
In Soviet Russia, hot grits put YOU down THEIR pants.
Well, maybe not easy, but you'd need a few things:
;-) applies... Also, I'm assuming that you're talking about working with low wattages. A hand-wired A/D converter can handle whatever wattage the individual resistors are rated for (though you need to make sure that you aren't blasting out the parallel port), whereas the A/D chips can end up with pretty low max voltages.
1) An A/D chip. You can also make one yourself by following schematics from any standard analog electronics book. It just takes a voltage (let's say 5 V) and converts it into it's digital equivalent (which would then be 101). You can build a converter yourself out of cheap parts from radio shack, assuming you're using low currents.
2) Some sort of clock. One easy thing is to build it as a parallel port device. This'll take a little bit of hardware (not a whole lot, though), and you can use the computer to clock the thing. Or, of course, you could build a PCI/ISA card, but that seems like more of a hassle.
Assuming you don't need bidirectional communication on the device, you could just have a straight-through connection to the parallel port (I think), and just write a program to poll the port and plot the data. Hmm, this might be a fun project for me to try later...
A harder (and maybe more useful) project would be to try to make a Digital Logic Analyzer... these things are REALLY nice when working on digital electronics.
Anywho, the standard disclaimer of my irresponsibility
Hopefully someone can set you up with a way to do it, but what I've seen is often worse than buying a good used one at a Hamfest. You should get in touch with ARRL folks in your neck of the woods and find out when and where Hamfests take place. Granted, you may have to shell if you want a good storage scope, but some decent scopes can be found. My dad has a soft spot for Tektronix scopes.
A feeling of having made the same mistake before: Deja Foobar
Some specific links:
xoscope - a software oscilloscope
BitScope - hardware black-box oscilloscope that you control via a PC
Xoscope is Open Source, so hack away if you don't like something about it. The SourceForge page has links to a schematic you can build to use your soundcard as the ADC, though you are of course limited to about 20kHz signals (stereo input = dual trace though). Definitely a cheap way to go.
The BitScope is a really cool design that is open or free (as in beer and speech). You can download all the specs and build it yourself, or buy preassembled kits or BitScopes (cheaper than buying the individual parts yourself). It is a black box that you control via software on a PC, which is pretty cool.
And then, you can always snag a scope on EBay for a couple of hundred bucks. Loads of Tektronix scopes, etc. Wish I could afford a Fluke ScopeMeter myself.
-Roy
This much should be obvious - you can't use any modern soundcards, because they all feature AGC - Automatic Gain Control - which means that across certain decibel ranges, you'll be able to tell the difference, but across others, you won't.
:-)
For example, 30db might be louder than 25db, but might "look" to the sampler to be the same as 60. (Or whatever... it's logarithmic, I can't be bothered with real examples
I know you want to use your PC, but try to get a real live scope- you'll probably spend less money and get a better measurement device. A sound card would be barely good enough for doing audio measurements, but you run into the problem of an impedance that is too low, with too low a bandwidth. Yeah, you may only want to look at audio frequencies, but realistically, you want a scope with 3-10 times the bandwidth of the highest frequency you'll be looking at.
You don't specify what frequencies you want to work with, but for any sort of digital work I wouldn't suggest that you use *anything* less than a 30 MHz bandwidth analog scope. With that, you'll see a lot of rounding on a 10MHz signal, but you'll be able to see something. Digital scopes are very nice, if they have a decent sample rate. To get the equivalent performance of a 30 MHz analog scope in a digital scope, the digital scope must have at least a 30MHz bandwidth and 100MHz sampling rate (or a good equivalent time setting).
Bandwidth is *very* important. Oscillations can and will happen, and if it is a high frequency parasitic oscillation, a low bandwidth scope will fool you into thinking there is nothing there. You will spend many, many hours trying to debug such a circuit, because your tools will lie.
If you look around (hamfests, ebay) you should be able to find a working old tektronix boat-anchor for between $100 and $200. I've seen plenty of kits available, but they all cost more and have less performance. Since you don't say that you want to build the scope as a learning experience, you want it as a tool. The scope should be your third piece of electronic test equipment, after a multitester and a logic probe. These tools are fundamental. Get something good, whose performance you can trust, that you won't need to debug.
I have one of the Protek PC ISA oscope cards. It's about a 4Mhz card and is dual trace. It works ok, but not well enough for analyzing video signals. It has some decent software and logging capabilites. It's manufactured by Hung Chang. Price: $220-$249
The other scope I have is a Velleman handheld. It works really well. For $249 it's the best thing I've seen. It's based on a PIC microprocesor and is single trace with a 5Mhz bandwidth. Some of them have PC interfaces, mine doesn't. Here's Velleman's website.
An oscilliscope just samples input voltages and displays their amplitude. That's REAL tough computations (NOT!). And a frequency analyzer (often used for a similar purpose) just takes a fourier transform of the signal (this is a mere O(n log(n)) complexity problem). The software is trivial!
The main problem is the sampling rate of the hardware. Soundcards are made with a sampling rate that is only slightly above and below the range of human hearing, which means that for many circuit frequencies, they are unacceptable. If this will work for you, the coding is rather simple since its the well known I/O operations that have been used in PCs forever. Just learn a little bit about SOME sound API and output the wave output from the soundcard in real time. I'm sure others have done this before, too. Its a 4 hour job.
If you need better accuracy than that, you need to buy a data acquisition card, but it will cost you a pretty penny for them. Here is a list of some of these cards.
There are some up sides of having a card such as this that can capture high quantities of data, the biggest being that if you know C, and you get specs on ANY kind of input signal, you can often write a driver for it - NTSC signals, radio signals, digital video signals...pretty much anything.
If you really want to do this quickly, get something like the matlab and use the data acquisition toolbox.
In my opinion, a data acquisition device on the computer beats the pants off of an oscilliscope any day.
Mod me down and I will become more powerful than you can possibly imagine!
I was going to build something like this a while ago, but I haven't had time. Just get a A->D chip, hook it up to a USB bridge, and read it a certain number of times a second (500, I think; most D/A converters can handle this IIRC). Connect a probe, voltage limiting circutry, and ground (and a timer, so your software doesn't have to raise the read pin 500 times a second :). Since it's USB, you can easily have another device in the box that does D/A and transposes it on a higher voltage. Then you have an osciloscope and a frequency generator. I think I'll start drawing some diagrams and investigating the IC's. Email me if you want information.
My other car is first.
I picked up a decent analog oscilliscope for 200 bucks. It's got 35 MHz bandwidth which is plenty for most things you can do in a home lab. This seems like a better option than the 350 dollar PC card that has 10 MHz analog bandwidth mentioned elsewhere.
Chris Kuivenhoven is a thief, beware
the sound card would be pretty crappy for this. First off, it's AC coupled, meaning that you won't be able to measure DC voltages. Also, it's most probably filtered for human hearing, 20-20khz.
I think there might be software around that turns the printer port into a logic analyzer. While not an oscope, logic analyzers have good value.
I've downloaded a couple of shareware programs that use the sound card for input, but they weren't really useful
You can measure low-amplitude AC signals from a few Hertz to a couple dozen kilohertz (and easily do fancy tricks such as FFT analysis), but if you're talking about using this setup as a real oscilloscope, you're not going to get very good results. Sound cards have lots of filters on them, many of which are active filters, and this would have the potential to tinker with your input signal. Also, feed too large a signal into your sound card, and poof -- no more soundcard.
I pledge allegiance to the flag...
of the Corporate States of America...
The Bt848/878 has a raw mode which delivers the pure composite signal. I never tried to use it with non-TV signals but I guess it could work.In this raw mode the chip does not care about horizontal and vertical syncs. You can see all the "good stuff": color burst, front porch, strange "signal modifications" in scrambled channels, etc. When I programmed the Linux drivers I experimented with this mode a little bit.
This does not deliver great resolution (only 8 bit) but goes up to at least 36MHz (PAL frq.*8). With the chips with internal PLL (Bt848A and upwards) you can even change the sampling frequency in small steps.
You can find the Bt848/878 in most cheap TV cards on the market but you might have to make some modifications to the Linux driver to support
the raw mode and non-standard PLL settings.
On the parallel port software interface side, I have successfully used the parapin library in my pc-to-breadboard experiments. This way you can spend more time on the hardware and the imaging and less on the hardware interface.
"parapin makes it easy to write C code under Linux that controls individual pins on a PC parallel port. This kind of control is very useful for electronics projects that use the PC's parallel port as a generic digital I/O interface. Parapin goes to great lengths to insulate the programmer from the somewhat complex parallel port programming interface provided by the PC hardware, making it easy to use the parallel port for digital I/O."
- James
This not meant to be rude, but rather a simple statement of fact. If you have to ask Slashdot you aren't qualified to do it. Analog electronics is Voodoo science, and in the end you will have no idea if the representation on the screen is accurate. Even if you compare certain captured signals to ones grabbed by a high end O'Scope, there will be no assurance that signals of different amplitude and frequency are properly represented.
As an Engineer who was also an Electronics Technician for many years I have seen improper understanding of the nature of Analog cause all kinds of misunderstandings. For example, using a long ground lead or improper input impedance can distort the signal so much that a perfect signal looks FUBARed, or a FUBARed signal looks good. Indeed, there is a kind of Heisenburg Uncertainty to it all. By this I mean that the act of measuring changes the results, of course. I have seen faulty circuits that only work when you are probing them!
Your best bet is to try saving up for one designed by qualified Engineers
Also, a sound card based O'Scope is only going to handle signals in the audio range, and if the card is any good it will do some pre-processing on the inpuit anyway, further distorting the input signal, so that's way out IMNSHO.
Finally, if you do decide to do this just for fun, spend the money to purchase real (quality) probes, and learn to write device drivers if you don't have this skill already. Expect to spend several years coming up with anything that is marginally decent (based on your level of knowledge at this time, as indicated by your post.) Also, be fully prepared to never succeed and ruin a motherboard or two along the way 8^}
Whatever approach you decide upon, Good Luck!
Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
The dutch magazine Elektuur published a design for a device that allows a Gameboy to be used as an digital oscilloscope. See Some info in dutch about the device. The english sister-magazine elektor also published the design, but I can't find anything online about it, except the fact that it is published in issues 2000/10 and 2000/11.
Using Google I found a page with screenshots about the device.
Point the webcam at the oscilloscope. If you need greater precision, hit "full screen".
The old asteroids arcade games are programmed X-Y scopes. Buy one, rip out the XY-Scope, and you are in business.
You are correct. I have this and do use it on occassion. Its certainly not a tektronix, but its really great for tinkering. A real nice perk with this unit is that although it connects to a serial port, near the connector it transfers the signal optically, so you dont have any ground loop problems to worry about, nor do you have to worry about nuking your mobo - which lets you poke around freely without worrying (except about the board you are poking around on)...
It's really a nice quality geek toy, and it does have a small silly lcd display right on the unit so it does not always require a computer unless you want to look at something other than a semi accurate representation of the waveform.
.sig wanted: Must be concise, funny, and display my cleverness.
There is a very high quality oscilloscope box from Velleman. It has it's own box and probes with software package together in the box.
They use the software package Scope-It as "digital storage oscilloscope and spectrum analyser". They also have a demo downloadable at that page.
PCS641, PCS500 (PC-Scope 50MHz) and with adapter.
--- I am known for the ones who want to find me on the net. Is that a privacy risk or a privilege? One might wonder..
If you're at all serious about building up your stash of test gear, the PC is just about the last place you want to look. Nothing it can ever do, even with add-in boards, will ever equal the quality of equipment that was made for the purpose you're trying to accomplish.
Others have pointed out that you should check out ham radio/electronic swap meets for a good used O-scope. This is an excellent idea. As far as that goes, I have some suggestions.
The Tektronix 7000 series, more notably the 7603, 7704, 7904, and 7104 are all some of the longest-lived and most durable instruments that Tek ever built. My personal unit is a 7904 (500 MHz basic bandwidth on the mainframe) with a whole raft of plug-ins. If I recall my specs correctly, the 7603 mainframe is rated at 100 MHz, the 7704 at 250, the 7904 at 500, and the 7104 at 1 GHz.
Keep in mind those are MAINFRAME bandwidths (top-end response for the mainframe IOW). You'll need appropriate plug-ins to take full advantage of that. Anyway, the 7000 series mainframes need a minimum of one time-base and one vertical amplifier plug-in to be useful. I would settle for nothing less than a 7A26 (200 MHz dual-trace) vertical module, and a 7B85 (time base) module. If you can, find a 7B92A for the time base and a 7904 or 7904A for the mainframe.
If you need REALLY high-frequency response on the vertical side, look for a 7A19 (single-trace, 50-ohm input, 1 GHz response). Bear in mind that you'll only get the full bandwidth from such in a 7104 mainframe (although you can use it in other mainframes at reduced bandwidth).
A word of caution on the 7104 mainframe, assuming you should choose it: Its CRT is more delicate than those of other Tek scopes, thanks to its extremely high writing speed, so be VERY careful to check it for screen burn.
If a portable 'scope is more to your liking, look around for a Tektronix 465, 475, 475A, or 485. Hard to go wrong with those, especially if you get one that has the DMM option.
Other sources for used Tek equipment include, of course, Ebay.
OTHER TEST GEAR: I suggest HP or Fluke for a multimeter. Fluke makes good stuff, especially older hardware, but HP's is easier to get calibrated. My own benchtop meter is an HP3456, backed up by a Fluke 8520.
POWER SUPPLIES: A good bench power supply is critical to any lab. HP, Kepco, and Lamda all make excellent units. Figure out what you're going to be working with and shop around.
As for more specialized stuff, I can't comment intelligently without knowing what specific sub-field you want to go into. There are different specialty instruments for RF, digital design, microwave, power supplies, etc.
Perhaps the best advice I can offer is ALWAYS get the best stuff that you can possibly afford. NEVER sell yourself short where your own test gear is concerned! Doing so -will- come back to haunt you later on.
Bruce Lane, KC7GR,
Blue Feather Technologies
The Probescope is more useful than it looks. The device is made for Radio Shack by Wittig Technologies The have an improved version called it the ozziFOX, for around $70. A much better (but more expensive) device is the bitscope. Both devices connect via a serial port.
"man don't be so anal. you're not hot stuff. I'm just a co-op at IBM and I've seen circuits that only work when they are probed -- you don't sound experienced when you say that. In fact, I could have written your entire post.All I'm trying to say is that this guy asked a reasonable question and you're belittling his knowledge by attempting to portray the fact that you are knowledgable, when, in fact, you do not sound knowledgable at all -- merely annoying. "
Sounds like you should change your nick to openlysubversive 8^}
First of all, I never said I was 'hot stuff', but I would certainly compare my expertise to yours 24/7. As a person with 15+ years of real world experience beyond an IBM co-op, I can tell you that people are often surprised to see that probing the circuit can affect it's functionality.
Perhaps, if you could have offered valuable input you should have, rather than composing this little diatribe? I never once told him his question was stupid, or that he shouldn't try. I merely told him what he needs to do, and what kind of effort to expect. I also offered him advice should he choose to pursue the DIY option. Finally, if you could have written the post, and it doesn't sound knowledgable, what does that say about you 8^}
To quote captain Hulka from the movie 'Stripes', "lighten up Francis"
Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
Oddly enough, this semester i've just completed a Cogs 300 class (That's Cognitive Sciences, for those of you who do not know), one in which our prof got his docterate dealing with EEG's(Electroencephalography,) and such. In a nutshell, the method in which an EEG functions is by amplifying (20 000 some times) the extraordinarily minute electrical signals given off by the collective firing of the neurons in the human brain.
Term project was a biofeedback one, and originally consisted of training myself to try to produce more alpha/beta waves for communication and computer control, applicable to severly physically handicapped people with such dieases as ALS. In the later stages of ALS, it leaves its victims in such a state that one's cognitive abilities are as normal, except that you have absolutly no muscular control whatsoever.
Before you mod this offtopic, training was done via a custom A/D converter box, attached to a parallel port, and using custom software analysing the signals and such for relevant waveforms. Mind you, this software was designed with EEG analysis in mind (no pun intended.)
Because I couldn't find anything good that required a PC, I went out and just bought a used oscilloscope. I bought a used oscilloscope off of e-bay for ~$400 (you can find cheaper ones easily). What I did was I would search daily for oscilloscopes that worked, included probes (they are really expensive), and most importantly had a "buy now" option. I found one that a guy put up that the "buy now" was really low (considdering the scope would be over $1500 brand new). The other trick is to MISPELL things. If you search for oscilloscope, oscilliscope, osciliscope, etc... you'd be amazed what you can find. Because it's mispelled, most people don't see it and therefore don't bid on it. That way you can get things cheaper.
My last suggestion would be to go around to schools, electronic repair shops, etc. and ask if they have any old oscilloscopes you could buy cheap. If you explain your situation you'd be suprised how nice people can be.
Comment forecast: Bits of genius surrounded by a sea of mediocrity.
1 x = stick(1)
print x
sleep 1
goto 1
If you want to sample two circuits, just divide pin 1 into two wires and connect the other wire through your other device into pin 6. To use this, sample stick(0) instead of stick(1).
Maybe this will help. Good luck.
Tim ODonnell (trying to be the most
that's nothing. I have some software that works only under gdb and not on its own.
--
"It is now safe to switch off your computer."
http://xoscope.sourceforge.net/ (Includes directions for building buffer hardware)
c 50 /50525.htm (for a compatible probe)
http://bul.eecs.umich.edu/signal/ (spectrum analyzer that works with xoscope)
http://support.radioshack.com/support_meters/do
I definitely second this. If you really want nice collection try a tektronix tds 3000. It interfaces to the pc using a gpib bus and you can control all the settings of the scope using your pc. It's fairly easily to program it from c, python or perl and it gives you 10,000 data points at up to 2ns resolution. I loved it when I had the chance to work with it. Unfortunately, it and the control program I wrote is doing stuff for superk.
"When you sit with a nice girl for two hours, it seems like two minutes. When you sit on a hot stove for two minutes, it
Company Part# Description
Maxim MAX197 8ch. 12bit 5MHz A/D!
Maxim MAX503 10bit D/A
Phillips 89C51RD+ 64K FLASH 1K RAM
Intel 82C55A ISA Control logic If anyone out there needs very accurate waveform data on there PC and has more time than money than this may be the way to go. I have the entire project documented and if anyone wants it I can .pdf it up and send it your way. I have the embedded c-code and the VB GUI code as well that people are free to use. It might be a good senior design project for someone to update my design to make it real time by using a faster bus like a PCI or FIREWIRE! Another great magazine that I have not seen mentioned here yet is "Circuit Cellar Ink." They have a lot of information and ads related to PC data aquisition. Let me know if anyone wants the documentation/code to build this. Makes a great stocking stuffer...
The second big question is whether you're looking at a repetitive waveform. If you are, a simple scope-type setup will work. If not, you'll need storage.
You need to take a really careful look at what you're trying to do ... it is usually better to buy an oscilloscope or a PCI 'scope card. However, if you want to make measurements in the field and keep costs down, that's a lot of extra stuff to carry around.
Corrosion measurements on aircraft is an application where a sound card is appropriate, because it meets those limitations and carrying extra equipment around the aircraft is a real pain.
"Loading effects are not a Voodoo science as you assert"
If you can show me where I assert this there is a million dollars in it for you. What I 'asserted' is that Analog is Voodoo science. Some of the best Analog experts in the industry agree with me here.
"If he's not qualified to *build* such equipment to take what amounts to results for a process of learning, he's in no position to learn. Seriously, how much mystery *is* there in (gasp) an op-amp, an A/D, and a little glue. Not much IMHO."
Designing an O'Scope requires *MUCH MUCH MUCH* more knowledge of Analog than loading effects. The fact that you think it is a matter of an Op-Amp, an A/D, and a little glue shows that you basically have no idea what you are talking about. Don't believe me? Open up a real O'Scope some day and look at the circuitry. Ever heard of Bandwidth response? Ever look at an Op-Amp data sheet? Have any idea what you are seeing when you do? Clearly not. Building a circuit that has 1:1 gain with infinite bandwidth is impossible. Never the less, that is exactly what is called for, so the professionals do their best to come as close as possible. That's what makes it Voodoo science. In fact, the fact that you think grabbing a schematic and throwing it together will work shows your ignorance even further. Perhaps you don't know what a reflection is? Perhaps you didn't realize that the length of traces and their orientation and proximity to other traces can have drastic effects on the operation of High Frequency circuits?
The fact that you think I was belittleing him for being an IBM co-op shows that you have little ability to understand what you read, and also suggests that you feel you have more to prove than you let on.
Finally, People seem to be interpreting the bold italic font as my surprise (which was a surprise some 15 years ago), rather than my pointing out something that many people will find surprising. You knew it, great. Doesn't mean most people do.
That being said, I hope you have a wonderful life
Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
It is true, sound cards do have limitations when it comes to oscilloscope duty, but they are not as bad as many claim. I can't believe I'm defending the lowly sound card. It is time for some de-bunking. Let's go:
...
... can all be independently controlled via software.
Almost all measurements with oscilloscopes cannot be performed with a sound card. However, if your application meets these
Nothing you're interested in is outside the audio band (50Hz to 5kHz or so)
Low end sound cards with a 48000 sample rate are good from almost DC to 24kHz.
Up to a second delay for the screen update latency (depending on sound card) is ok
Check out a linux program called baudline, it's screen update latency is less than a 1/60 of a second. It's quickness will blow you away.
16 bit digitization (or worse) is enough
Huh? More bits is better. Since high-end digital scopes have 8 or 10 bit ADC's, the cheapo 16 bit PC sound card has far less quanization noise.
No hardware triggering (all done in software)
Why would you want hardware triggering? Deep buffers rule! In baudline you can scroll back to events that happened minutes or hours in the past (depending on RAM).
When dual channel, both have the same settings
What do you mean? Same sample rate? That isn't much of a limitation. Gain, zoom, offset,
Try the linux program called baudline, with a typical cheapo sound card, it's analog input to screen draw latency is less than 1/60 of a second. That is far from slow.
I'd amend that statement a bit -- by the time you get decent results by building your own, you will have acquired valuable and rare skills in analog design and construction. And you will have had to buy or borrow a real oscilloscope in order to find out what's wrong with the one you built! I'm a test engineer. I make functional test fixtures that apply stimulus to a board and check the output signals from it. Getting DC analog signals from the board to the A/D converter accurately is harder than it looks. Audio frequencies are harder. Scopes should work at well above audio frequencies, and that gets very hairy -- every wire is also an antenna, capacitor, and inductor, all at the same time.
I might have plunged into a project like this when I was a kid and didn't know what I was getting into. I'd probably be a hell of a lot better analog designer if I had. But god, it's a big project. If you still want to go ahead, best of luck. If you actually get it working, you might as well go ahead and get the BSEE degree. Good analog designers are scarce and high-paid.
Some intermediate possibilities:
Scopes that use the PC as the display device, for instance this from JDR Micro. It's a box with the signal conditioning and A/D circuits of a low-end digital scope, but connects to a PC parallel port for displaying the signals captured. The advantages of this, compared to a standalone scope, are that you save a few hundred dollars for the scope display and control panel, and you've got the full power of the PC for analysis of the datapoints captured.
Scope card in the PC: I'm not aware of any low-end cards now on the market. The problem with this arrangement is that the PC is full of high frequency radiated signals, so shielding a scope card from that is quite an accomplishment. It can be done, but not by amateurs, or even by non-specialized EE's like me. It does have considerable advantages, as mentioned above, plus it can DMA to the PC's memory and so be able to record for longer.
Use a Data Acquisition (DAQ) card as a scope. I've done that at audio frequencies, using National Instruments MIO cards. I'd be dubious about higher frequencies, because the signal reaching the A/D converter would be quite different from the signal you were probing. (I used Labview to program it. It lets you set up a simple system fast, and there are library functions to capture data to an array, and then display it on a scope-like window. But for the test programs I was doing, after a long learning curve, I decided that for any complex program, graphical programming is inherently less efficient than typing the code as text. Labwindows/CVI is better: you create the user interface windows by plopping icons into the window, which is nice, then type in code sort of like Visual Basic. CVI is very expensive, as compared to Visual Basic and C++ development systems which work pretty much the same, except you've got to put some work into interfacing to the card. If a nice pre-written interface to the DAQ cards is worth several thousand $, then get CVI... Labview is a little less expensive; whether it is appropriate depends on how far you need to go beyond the library functions.)
Finally, whatever you do, spend about $100 for good probes. The best scope is only as good as the probe that brings in the signal.
Simple(?) Linux software for the ProbeScope
http://www.linuxtoys.com/pscope/pscope.html
Dag B
Actually it's the current that kills you, the voltage just shoves the current through you.
I see even classic Slashdot is now pretty much unusable on dial up anymore.
You left off the part about infinite input impedence...
I see even classic Slashdot is now pretty much unusable on dial up anymore.
The TDS 220 for a lot less money has automation capability with an inexpensive option module. (this was not a company purchase, but a personal one.) I have nothing else with HPGPIB, so I opeted for the communications / print module. It can be used to do all the automated stuff but over a atandard RS-232 port and includes a centronics port. I can upload and download scope setups for automated testing and capturing results. For my low volume requirements, I skip the automation and use the screen captures and hard copy to document resultes. The scope will save and recall a couple setups internally. The 3 modules you can get are, serial only, serial & centronics, and HPGPIB module. The module comes with very little useful software and a demo of a $400.00 program, however the book includes the commands so it is easy to roll your own with pearl. The important software, that is blaringly missing, was the ability to export a screen capture to a PC. (you can print OK Gotta have a reason you have to buy that $400.00 software). A quick search on Google found a freeware capture utility. (DOS and very minimal, but works)
The truth shall set you free!
. It works great for speech input. WinScope can even do Fourier Transform.
I used it to impress my girlfriend by showing her my parrot can accurately reproduce 2600MHz sinewaves.
Tired of free ipod spam sigs? Opt ou