Author Topic: Oscilloscope for Arduino/Raspberry Pi projects. 2 or 4 channel? Critical specs?  (Read 36020 times)

0 Members and 1 Guest are viewing this topic.

Online nctnico

  • Super Contributor
  • ***
  • Posts: 27184
  • Country: nl
    • NCT Developments
scopes are not intended for grabbing and storing huge serial streams - get the right tool for the job if that's what you need to do.
An oscilloscope is the perfect tool for that job (analysing serial streams) because a lot of problems are in the analog domain which a logic analyser won't show at all. Unfortunately sometimes that means capturing lots of messages and sorting through them to find an intermittant problem.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline rx8pilot

  • Super Contributor
  • ***
  • Posts: 3637
  • Country: us
  • If you want more money, be more valuable.
scopes are not intended for grabbing and storing huge serial streams - get the right tool for the job if that's what you need to do.
An oscilloscope is the perfect tool for that job (analysing serial streams) because a lot of problems are in the analog domain which a logic analyser won't show at all. Unfortunately sometimes that means capturing lots of messages and sorting through them to find an intermittant problem.

I use the scope for close looks at errors. They can be analog in nature or some other source of glitches. I use the Beagle to record and analyze long streams that allow me to see errors from logic in the programming of the system not physical layer errors. Those errors are hard to see up close as the scope see things and easier to see from a distance. At least with my designs anyway.
Factory400 - the worlds smallest factory. https://www.youtube.com/c/Factory400
 

Offline lem_ix

  • Regular Contributor
  • *
  • Posts: 192
  • Country: cs
For example the two robots in the back of this video were made with an occasional use of a very crappy instek scope ( no decode, grading, etc, think it was a gds-1000) and cheap Chinese dmms.



Both have a raspberry pi connected to several sub boards which control actuators, sensors,motion, etc by modbus/rs485 and are autonomous, have collision detection and path finding. The ds1054z is capable of viewing pretty much anything in there, lacking maybe rs485 decoding? Don't worry too much about it and get a good C book, you'll spend most of your time on that.
 

Offline max100Topic starter

  • Newbie
  • Posts: 7
  • Country: england
scopes are not intended for grabbing and storing huge serial streams - get the right tool for the job if that's what you need to do.
a $5 8channel 24MHz usb LA from china will sort that need.

That is the first step I will take thanks to the advice in this thread.

But what software do these use?  Investigating LAs this week I get the impression that Saleae has found a way to block the use of its s/w by other manufacturers' devices.  There is an open source project called sigrock.org ... Is that good?  All the Chinese LAs I have come across rely on 3rd party s/w.
« Last Edit: August 22, 2016, 12:28:59 am by max100 »
 

Offline stj

  • Super Contributor
  • ***
  • Posts: 2162
  • Country: gb
you can use Sigrok
http://sigrok.org/

or the saleae software, if you dont use the latest.
*or* replace the eeprom in the LA with a microchip brand 24LC00
(dont forget to copy the contents)'
« Last Edit: August 22, 2016, 02:08:58 am by stj »
 

Offline max100Topic starter

  • Newbie
  • Posts: 7
  • Country: england
Thanks,
Is Sigrok good?
How do you get hold of the last open Saleae s/w?
 


Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16769
  • Country: 00
All the Chinese LAs I have come across rely on 3rd party s/w.

Yep, that's why they're so cheap - no programmer's salaries to pay (or offices, or chairs...)

Is Sigrok good?

Not as good as saleae.

https://sigrok.org/wiki/PulseView
 

Offline max100Topic starter

  • Newbie
  • Posts: 7
  • Country: england
Is Sigrok good?

Not as good as saleae.

https://sigrok.org/wiki/PulseView
[/quote]

Functionally not as good? If so in what way?
 I can live without a fancy user interface.
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16769
  • Country: 00
Functionally not as good? If so in what way?
 I can live without a fancy user interface.

You're the only person who knows what you want. See the websites for manuals, documentation, etc.

At a screenshot level it's this:



vs. this:


« Last Edit: August 22, 2016, 08:34:19 am by Fungus »
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16769
  • Country: 00
To be honest: I dislike small oscilloscopes, probably due to a horror experience in past militia service. if I can pick up a scope and throw it easily, it is not for me.

You once threw a scope and it wasn't heavy enough? Now you have nightmares?

Details, man, details...  :popcorn:
 

Offline max100Topic starter

  • Newbie
  • Posts: 7
  • Country: england
Functionally not as good? If so in what way?
 I can live without a fancy user interface.

You're the only person who knows what you want. See the websites for manuals, documentation, etc.

At a screenshot level it's this:

....

vs. this:

....


Have you used them or is your opinion based on the user interface screenshots?
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16769
  • Country: 00
Have you used them or is your opinion based on the user interface screenshots?

Saleae is nicer, more complete.

Sigrock does the job.


More info here: https://encrypted.google.com/search?q=sigrock#q=sigrok&tbm=vid
« Last Edit: August 22, 2016, 11:47:52 am by Fungus »
 
The following users thanked this post: max100

Offline TAMHAN

  • Frequent Contributor
  • **
  • Posts: 407
  • Country: sk
To be honest: I dislike small oscilloscopes, probably due to a horror experience in past militia service. if I can pick up a scope and throw it easily, it is not for me.

You once threw a scope and it wasn't heavy enough? Now you have nightmares?

Details, man, details...  :popcorn:

Let us just say: higher-ranking girly with extra sexy feet (sexy-meter:  :bullshit:  :bullshit:  :bullshit: even in highest setting) and a very beepy and crashy scope from an unnamed manufacturer. And no, I didnt throw it. Just hated it.

But back to the main topic: one more very important feature, IMHO, is Peak Detect. I linked my video in the page before...and tonight just thought that this kind of problem is likely to also happen in robotics.

P.S. That PulseView screenshot looks better than Salae TBPH, at least for me. I dislike Salaes "farty-party" user interface.

Feel like some additional tamile wisdom? Visit my YouTube channel -> https://www.youtube.com/user/MrTamhan for 10min tid-bits!
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16769
  • Country: 00
P.S. That PulseView screenshot looks better than Salae TBPH, at least for me. I dislike Salaes "farty-party" user interface.

Me too.
 

Offline TAMHAN

  • Frequent Contributor
  • **
  • Posts: 407
  • Country: sk
Sadly, my Chinese clone is said to show preference to Salae ;(
Feel like some additional tamile wisdom? Visit my YouTube channel -> https://www.youtube.com/user/MrTamhan for 10min tid-bits!
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7851
  • Country: de
  • A qualified hobbyist ;)
P.S. That PulseView screenshot looks better than Salae TBPH, at least for me. I dislike Salaes "farty-party" user interface.

I fully agree. Salae's UI looks too cool to be useable, more like a fancy gadget for kids or a hacker movie. PulseView on the other hand focuses on the data, which I'd consider a tool. When I have to look hard to see the data, the UI is done wrong.
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16769
  • Country: 00
I fully agree. Salae's UI looks too cool to be useable, more like a fancy gadget for kids or a hacker movie. PulseView on the other hand focuses on the data, which I'd consider a tool. When I have to look hard to see the data, the UI is done wrong.

Pale grey on slightly darker grey is fashionable. You see it in every modern UI.

PulseView looks like it was written before 2010.   :scared:
« Last Edit: August 22, 2016, 02:05:59 pm by Fungus »
 

Offline rf-loop

  • Super Contributor
  • ***
  • Posts: 4126
  • Country: fi
  • Born in Finland with DLL21 in hand
I fully agree. Salae's UI looks too cool to be useable, more like a fancy gadget for kids or a hacker movie. PulseView on the other hand focuses on the data, which I'd consider a tool. When I have to look hard to see the data, the UI is done wrong.

Pale grey on slightly darker grey is fashionable. You see it in every modern UI.

PulseView looks like it was written before 2010.   :scared:

Modern is not synonym for better or good. 
I drive a LEC (low el. consumption) BEV car. Smoke exhaust pipes - go to museum. In Finland quite all electric power is made using nuclear, wind, solar and water.

Wises must compel the mad barbarians to stop their crimes against humanity. Where have the wises gone?
 

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 19787
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
I fully agree. Salae's UI looks too cool to be useable, more like a fancy gadget for kids or a hacker movie. PulseView on the other hand focuses on the data, which I'd consider a tool. When I have to look hard to see the data, the UI is done wrong.

Pale grey on slightly darker grey is fashionable. You see it in every modern UI.

PulseView looks like it was written before 2010.   :scared:

Modern is not synonym for better or good.

Very true.

While I don't like skeuomorphic GUIs, the modern "flat" design has gone to the opposite extreme. It has regressed to the middle-80s style where it can be difficult to determine whether a widget (e.g. tab) is activated, or even whether something is a pressable widget! I remember when Motif introduced the "3D" effect, and how much easier it made using GUIs.

One simple example: my ISP has a web page with two tabs, one black and one white. Guess which tab is already visible, and which can be pressed to show the other information. With even a minimal 3D cue, it is obvious.
There are lies, damned lies, statistics - and ADC/DAC specs.
Glider pilot's aphorism: "there is no substitute for span". Retort: "There is a substitute: skill+imagination. But you can buy span".
Having fun doing more, with less
 

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9902
  • Country: us
P.S. That PulseView screenshot looks better than Salae TBPH, at least for me. I dislike Salaes "farty-party" user interface.

Me too.

I went looking at the Salae Pro 16 (it is recommended around here from time to time) and I have already installed Sigrok for one of the uber cheap LAs.  The Salae doesn't seem to support state analysis and, for me, that is fatal.  I'm pretty sure the cheap LA I have hooked to Sigrok doesn't support it either and I have no idea whether the software itself supports it.

State analysis, to me, is the most important capability.  I may not use it every single time but many times I want to know the state of signals at the actual clock edge, not some sampled clock.

The Salae software, AFAICT, doesn't have much of a triggering system.  First of all, I want 32 channels.  Ignoring that, I want a staged trigger such that I can form 4 stages (layers) of trigger logic states.  See this pattern, followed by that pattern, followed by another pattern, followed, finally, by the last pattern: trigger now!  I should be able to include or exclude all bits, invert all bits and form AND equations.  I don't see it in the  Salae documentation and I don't think I'll find it in the Sigrok stuff either.

Some of these logic analyzers aren't analyzers at all.  They are just binary scopes sampled at some low rate with no timing relationship to the device under test.

All that said, the Salae software is pretty polished.  That's easy when they aren't trying to interface to hundreds of different devices.  Sigrok has quite a list of compatible pieces of gear.
 

Offline stj

  • Super Contributor
  • ***
  • Posts: 2162
  • Country: gb
if you want a real clock, and not just a 33rd channel, you probably need to look at something like a sump.

http://www.sump.org/projects/analyzer/
 

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9902
  • Country: us
if you want a real clock, and not just a 33rd channel, you probably need to look at something like a sump.

http://www.sump.org/projects/analyzer/

Actually, I have the Sump logic analyzer.  If you search the site, you will probably see where I contributed a level shifter design.

There are a couple of things I don't care for:  First, I don't have it 'packaged' so it lays around my bench like another project.  Second, i'm not stoked about Java and, more particularly, having to find the 'look and feel' library and the RXTX library.  About 3 Java updates back, the GUI quick working and I have never gotten it working again.  My fault, I just haven't spent the time it takes to get it working.  I'm sure somebody has already figured it out.

That LA is a really sweet unit for the cost.  The original design for the Spartan 3 Starter Board was a blessing when I was working on my 1130 project because it also used the Starter Board.  I'm not sure what boards are currently supported but it does talk about the issue on the site.  The Starter Board is no longer available.

 

Offline Rick Law

  • Super Contributor
  • ***
  • Posts: 3457
  • Country: us
Hi,  I am an inexperienced hobbyist in need of help selecting an oscilloscope for Arduino/Raspberry Pi robotics projects.
...
...
......
Will really appreciate benefit of experienced/expert opinions.

Many thanks.

I can only speak for this hobbyist - I just want the most economical solution and don't want to make the mistake of buying an inadequate instrument that I subsequently need to replace because of inadequate research.
...
...

I am a fellow hobbyist, so my opinion is definitely NOT an expert's opinion.  But having the "engine starting" not so long ago, I remember how it was like.  The discussions about which scope is useful/good are no doubt very valuable.  But I suggest perhaps you should see what problems stand in your way first.

If I am to say: to really do electronics right, you should learn calculus first - you (or I should say, most) would not get started in electronics.  No doubt calculus is both important and enlightening in solving many electronic problems.  But you don't need that just to play with Arduinos/Raspberry.

At the get-go, I saw all those candies and I want them.  I ran in circles at the starting-gate.   I eventually just got moving with a low cost DMM, then later added a low cost Scope.  At the get-go, I wanted to have a 100,000 count DMM, but it turns out I don't need it.  I wanted to have a 100mhz 1meg datapoint scope.  Turns out in my case I rarely use a scope...  I still want a 100,000 count+ DMM, but I don't need it to get started.  I still like a 400Mhz scope, but I don't need it to get started..

Don't worry too much about having to replace your equipment.  By the time you learn enough to need a better DMM or a better Scope, there will be far better choices (performance) products then.  You also would be much better equipped to find one much more suitable for your need.  Besides, there is a good chance you may make newbie mistakes that even the very best equipment may not survive.  So top shelf stuff may not be best for a new-newbie.

The trouble with a Lamborghini is, you really don't want to learn how to drive with it.

When you get to the point of doing the upgrade, the old/cheap stuff that you used to learn with will always have a home.  A second scope or a second DMM (low cost starter) will always have a use.

Again, just a fellow novice merely a steps or two ahead of you - trying to share what I know.

Rick
« Last Edit: August 23, 2016, 04:30:17 am by Rick Law »
 
The following users thanked this post: Stwspoon

Offline Wuerstchenhund

  • Super Contributor
  • ***
  • Posts: 3088
  • Country: gb
  • Able to drop by occasionally only
If I am to say: to really do electronics right, you should learn calculus first - you (or I should say, most) would not get started in electronics.  No doubt calculus is both important and enlightening in solving many electronic problems.

+1  :-+  And not just calculus, also a general understanding of the basic physics and math behind it (i.e. that all waveforms are made up of multiple sine waves at various frequencies).
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf