Click here to Skip to main content
14,386,394 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralIs there a good USB oscilloscope dongle on the market? Pin
swampwiz24-Aug-19 5:57
Memberswampwiz24-Aug-19 5:57 
GeneralRe: Is there a good USB oscilloscope dongle on the market? Pin
Mike Hankey24-Aug-19 6:10
professionalMike Hankey24-Aug-19 6:10 
GeneralRe: Is there a good USB oscilloscope dongle on the market? Pin
Member 916705725-Aug-19 23:48
MemberMember 916705725-Aug-19 23:48 
GeneralRe: Is there a good USB oscilloscope dongle on the market? Pin
glennPattonWork26-Aug-19 0:20
professionalglennPattonWork26-Aug-19 0:20 
GeneralRe: Is there a good USB oscilloscope dongle on the market? Pin
Member 1292431226-Aug-19 2:21
MemberMember 1292431226-Aug-19 2:21 
GeneralRe: Is there a good USB oscilloscope dongle on the market? Pin
Mike Hankey26-Aug-19 7:41
professionalMike Hankey26-Aug-19 7:41 
GeneralRe: Is there a good USB oscilloscope dongle on the market? Pin
megamarc7926-Aug-19 3:32
Membermegamarc7926-Aug-19 3:32 
GeneralRe: Is there a good USB oscilloscope dongle on the market? Pin
Member 1073194426-Aug-19 20:29
MemberMember 1073194426-Aug-19 20:29 
As others have noted, there are tons of "USB Scopes" out there, from the ultra-cheap (and limited in numerous ways) to the very, very expensive. In fact, virtually all of today's "standalone" scopes are not much more than a specialize sampling interface connected to a custom embedded system. Usually that system runs anything from some embedded (or not) form of Windows, Android, Linux, VxWorks, or even a custom or customized real-time OS.

If you go on Ebay or Amazon, and search for "USB Oscilloscope", you'll find a ton of options.

If you google the same - again, you'll find plenty. Some of the more interesting ones are cheap Chinese things that don't cost a lot, but have a decent amount of bandwidth for hobbyist use - anywhere from 20-100 MHz on a single channel (usually half that on dual channels, if that is offered). Most of these also have a built-in signal generator, and an 8 or 16 input logic analyzer input. Most of the time the software is Windows-based, but some of them have Linux open-source ports available too.

The downside of these cheap scopes is that the front-end - that is, the thing that samples and such - can leave a bit to be desired. If all you want is to check a basic signal level or maybe the frequency of a bit train or something, they are perfect for that. But if you are trying to figure out some kind of noise issue, the scope itself might have millivolts of noise on the output as-is, which is no good (so if you are doing serious work, pay for a serious scope).

Other items you'll see out there are all manner of USB Logic Analyzers, which are basically multi-channel oscilloscopes designed to measure and show a set of digital signals, within a certain bandwidth. One well known (and expensive) set of models are made by Saleae - they also tend to be the most cloned set, as well (mainly because their software is so good). So you'll find their top-end models, plus counterfeits (some of them will be marketed as particular embedded dev systems - because really that's all the Saleae scope is, done up in a fancy case).

Finally - if you continue to dig - you can find tons of articles, blog posts, Arduino forum musings, Instructables, and other instances of people showing how to build such scopes; everything from display on an LCD to dumping the data over USB and such can be found covered, using virtually every kind of embedded processor you've ever seen. And if you dig really far down, you'll find old text files on how to build such scopes using a PC, it's parallel port, and custom DOS software (back in the day, there were commercial scope offerings that worked in the same manner - just with a really good front-end).

Now you might be wondering what I mean by "front-end" - by that I mean the part that the scope probes plug into, and which does the actual sampling and storage of the data. It might be completely in software and just be a couple of analog input pins on a microcontroller. Or it can get very complex, very quickly. The better the front end, the faster things will be (more bandwidth per channel is always better), the less noise there will be, the more samples that can be taken, etc. You can find a lot of material out there on how to design such systems. When it comes to digital sampling and such, you also have to figure out if you want to use an external clock driving a ring-buffer of memory as fast as possible (then somehow read that memory using whatever you have for a controller), or if you want to implement something similar in software (there are a ton of ways to speed up a single channel system for a standard Arduino to get it to sample way, way quicker than the naive analog read command allows for).

It's actually a very complex topic, but one that also has a very long history (before electronic oscilloscopes existed, there were electric and electro-mechanical - and even wholly mechanical - systems developed to measure and visualize sound; they were all lumped under the term "oscillographs" - they were mainly a method to either directly visualize, using light or another means, the vibrations of sound, and/or photograph them (early sound recording on film and glass plates were an early practical use of such techniques).
GeneralI am officially stuffed, I probably shan't do any work this afternoon. Pin
OriginalGriff24-Aug-19 4:10
mveOriginalGriff24-Aug-19 4:10 
GeneralRe: I am officially stuffed, I probably shan't do any work this afternoon. Pin
k505424-Aug-19 4:22
Memberk505424-Aug-19 4:22 
GeneralRe: I am officially stuffed, I probably shan't do any work this afternoon. Pin
OriginalGriff24-Aug-19 4:30
mveOriginalGriff24-Aug-19 4:30 
GeneralRe: I am officially stuffed, I probably shan't do any work this afternoon. Pin
Richard MacCutchan24-Aug-19 5:14
mveRichard MacCutchan24-Aug-19 5:14 
GeneralRe: I am officially stuffed, I probably shan't do any work this afternoon. Pin
OriginalGriff24-Aug-19 5:36
mveOriginalGriff24-Aug-19 5:36 
GeneralRe: I am officially stuffed, I probably shan't do any work this afternoon. Pin
DerekT-P24-Aug-19 5:22
professionalDerekT-P24-Aug-19 5:22 
GeneralRe: I am officially stuffed, I probably shan't do any work this afternoon. Pin
Mark_Wallace24-Aug-19 5:33
MemberMark_Wallace24-Aug-19 5:33 
GeneralRe: I am officially stuffed, I probably shan't do any work this afternoon. Pin
honey the codewitch24-Aug-19 6:01
Memberhoney the codewitch24-Aug-19 6:01 
GeneralRe: I am officially stuffed, I probably shan't do any work this afternoon. Pin
Chris C-B24-Aug-19 6:29
MemberChris C-B24-Aug-19 6:29 
GeneralRe: I am officially stuffed, I probably shan't do any work this afternoon. Pin
OriginalGriff24-Aug-19 6:38
mveOriginalGriff24-Aug-19 6:38 
GeneralRe: I am officially stuffed, I probably shan't do any work this afternoon. Pin
RickZeeland24-Aug-19 8:51
mveRickZeeland24-Aug-19 8:51 
GeneralRe: I am officially stuffed, I probably shan't do any work this afternoon. Pin
Nelek24-Aug-19 9:41
protectorNelek24-Aug-19 9:41 
GeneralRe: I am officially stuffed, I probably shan't do any work this afternoon. Pin
RickZeeland24-Aug-19 9:43
mveRickZeeland24-Aug-19 9:43 
GeneralRe: I am officially stuffed, I probably shan't do any work this afternoon. Pin
RickZeeland24-Aug-19 8:46
mveRickZeeland24-Aug-19 8:46 
GeneralRe: I am officially stuffed, I probably shan't do any work this afternoon. Pin
OriginalGriff24-Aug-19 11:08
mveOriginalGriff24-Aug-19 11:08 
GeneralRe: I am officially stuffed, I probably shan't do any work this afternoon. Pin
RickZeeland24-Aug-19 11:19
mveRickZeeland24-Aug-19 11:19 
GeneralRe: I am officially stuffed, I probably shan't do any work this afternoon. Pin
OriginalGriff24-Aug-19 11:41
mveOriginalGriff24-Aug-19 11:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.