Peripherals forum

General discussion

converting my computer to an oscilloscope using usb port

Before getting my computer to work as an oscilloscope, I need to design some sort of input hardware that will serve as a source of analogue signal to my usb port. I need a simple design (schematics)that can serve as a probe to the usb port and a corresponding device driver.I am also stuck on how to write a software program in matlab to interprete these input signals to graphs on my computer.
please could you assist or refer me to any project on this subject. Thanks.

Discussion is locked
You are posting a reply to: converting my computer to an oscilloscope using usb port
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: converting my computer to an oscilloscope using usb port
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Did this back in college, but that's 15 years ago

In reply to: converting my computer to an oscilloscope using usb port

Back then state of the art is 486/Pentium, and we were still using ISA slots. We actually build a circuit board that plugs into the ISA slot, with 2 A2D converters for the X and Y channels. My partner and I, that is. Actually, he did all the hardware and I did all the software. I was able to basically scan a bunch of values into an array, look for a zero point, and use that as a start so the waveform doesn't wander all over the place. It was written in Turbo Pascal (i.e. Delphi's predecessor), none of your fancy-shmancy "Matlab" stuff nowadays. Grin 2 channels can be displayed independently, or combined in an XY graph, with scaling, different timing, offsets, and all that. Grin

We actually got the circuit diagram off the Internet, which gave us a starting point. Though we VASTLy underestimated the speed of the PC needed.

I would actually advise you NOT to use USB, unless you want to learn how to build an USB device as well. Keep it simple, use good old fashioned SERIAL port. Plenty of existing code that'll read serial ports in almost any programming language.

Collapse -
how convert as a oscilloscpe

In reply to: converting my computer to an oscilloscope using usb port

i also want to know how to make connection between pc and input...i need some idea

Collapse -
Re: connection

In reply to: how convert as a oscilloscpe

Once you've selected an input port type to (USB 2, USB 3, serial port, parallel port, Bluetooth, IR) all you need to buy or design is the hardware that sends the signal (it has to know the protocol and handshaking used) and the program that reads and processes the signal. A driver for all those port types I mentioned already is included in the OS.
It's different if you decide to design and build your own PCI card with a custom interface. Then you have to do all three things (hardware to send the signal, hardware to receive the signal, driver to 'run' that PCI card) yourself. Then the first thing to decide is if you want to do it In Windows or in Linux.

One possible problem: the frequency of the signal. Assuming you need 100 measurements in one cycle to draw a nice graph, a 10 Mhz signal needs 1 billion measurements a second. No interface is that fast.

You mention "analogue signal to my USB port". That can't be done. USB (like all these interfaces) are digital. So you would need an A/D converter whatever you do.

Best of luck with your project.


Popular Forums

Computer Newbies 10,686 discussions
Computer Help 54,365 discussions
Laptops 21,181 discussions
Networking & Wireless 16,313 discussions
Phones 17,137 discussions
Security 31,287 discussions
TVs & Home Theaters 22,101 discussions
Windows 7 8,164 discussions
Windows 10 2,657 discussions


Best Black Friday Deals

CNET editors are busy culling the list and highlighting what we think are the best deals out there this holiday season.