First oscilloscope thoughts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stj
    Great Sage 齊天大聖
    • Dec 2009
    • 31087
    • Albion

    #21
    Re: First oscilloscope thoughts

    waste of time, it will be dependant on the port interface and the cpu speed.
    also if it's not buffered there will be a load from the pullup resistors.

    if you need a cheap L.A. then you can get a chinese Saleia compatable usb one for about 6$ on ebay.
    they work really well upto about 24MHz.

    Comment

    • magistertc
      Member
      • Feb 2006
      • 25

      #22
      Re: First oscilloscope thoughts

      Look at the readme -- author has a point about unsuitability of USB, though ver 3 USB is somewhat faster. I used this paralllel port interface to sort out some timing issues in an MCU set up for matrix switching. With all possible services stopped, the only interference was from the PC clock signal, which I had to occasionally work around. I don't know what jitter would be like unless your signal is introducing it.

      IMHO a cheap USB logic analyzer is probably wasted.

      Comment

      • stj
        Great Sage 齊天大聖
        • Dec 2009
        • 31087
        • Albion

        #23
        Re: First oscilloscope thoughts

        but it costs less than making a parallel-port one, and the software is good!
        https://sigrok.org/

        Comment

        • eccerr0r
          Solder Sloth
          • Nov 2012
          • 8701
          • USA

          #24
          Re: First oscilloscope thoughts

          Well, USB should be fine but it will require more hardware to implement than parallel port, though the isochronous modes will help allowing a parallel port like PC-based sampling system (versus hardware based). The comparison he writes is making the assumption that it is PC based and needs to poll the USB subsystem for each sample, which is the wrong way to do things. Instead using hardware to set up iso mode will result in much higher sample rate. Better yet, trigger and sampling should be done/queued in the USB hardware, and the 1ms delay is no longer relevant.

          I'm kind of concerned of jitter because we're not running a RTOS (i.e. Windows(/Linux)) to do the sampling. Having the complex USB hardware is one way to make this OS-based jitter go away. The 24MSps sounds like it's using the iso mode, or packet mode and buffering within the device and probably doesn't have OS-based jitter problems.

          500KSPS parallel port is actually fairly crappy, and sounds like it's worse if using all three read channels on the parallel port, probably due to hardware emulation limitation. Unfortunately parallel ports still need to emulate ISA...

          Comment

          • stj
            Great Sage 齊天大聖
            • Dec 2009
            • 31087
            • Albion

            #25
            Re: First oscilloscope thoughts

            the usb ones use a dedicated usb microcontroller that uses dma to stream an 8bit port at full speed.
            it's not polled.

            Comment

            • eccerr0r
              Solder Sloth
              • Nov 2012
              • 8701
              • USA

              #26
              Re: First oscilloscope thoughts

              I kind of figured as much, making the 1ms/1KSps reported by the USB vs parallel discussion simply bunk.

              Are these USB devices continual sample and the PC does the "trigger," or does the onboard circuitry have the ability to trigger?

              Comment

              • Curious.George
                Badcaps Legend
                • Nov 2011
                • 2305
                • Unknown

                #27
                Re: First oscilloscope thoughts

                Originally posted by magistertc
                I don't know what jitter would be like unless your signal is introducing it.
                Jitter is the sample-clock to sample-clock variability in the measuring device/system. If there is a "clock" that is actually sampling the signals, then the jitter is essentially the stability of the oscillator behind that clock (and any variation introduced by the circuitry that qualifies it). If there is some software involved in the actual sampling of the signals, then the jitter is the variability between the "loop iterations".

                The latter can be caused by different opcode sequences in each loop iteration (e.g., if you have any conditionals in the loop), different execution times for fixed opcode sequences (does "0*27" execute faster than "34234234*27"?), the affects of cache (first time through the loop may prime the cache -- at a slightly higher cost in time), NUMA, etc.

                IMHO a cheap USB logic analyzer is probably wasted.
                That would depend a lot on what you were expecting from it. If, for example, all inputs are known to be sampled simultaneously, then you can still extract transition ordering and/or causality even in the presence of jitter: signal A changed state before signal B (sampling frequency has to exceed the rate of signal changes).

                Surely you could use even a dog-slow LA as an RS-232 protocol analyzer (e.g., to note the relative times that handshake signals change wrt the data streams).

                When I design a processor or other complex state machine, I will drag out a logic analyzer to monitor several dozen points in the circuit. Then, step the machine with a push-button-clock (i.e., run it at DC). Because I can now see those dozen points, I can watch all of them changing as I press the button ("Yes, the program counter is being incremented; the instruction address is being placed on the address bus; the op-code is being fetched; and decoded; etc.")

                Doing this with a 'scope -- or even a logic probe -- is just torture! And, prone to much error as you are constantly moving the probe around and may probe the wrong point this time...

                Comment

                • stj
                  Great Sage 齊天大聖
                  • Dec 2009
                  • 31087
                  • Albion

                  #28
                  Re: First oscilloscope thoughts

                  Originally posted by eccerr0r
                  I kind of figured as much, making the 1ms/1KSps reported by the USB vs parallel discussion simply bunk.

                  Are these USB devices continual sample and the PC does the "trigger," or does the onboard circuitry have the ability to trigger?
                  they are dumb serialisers, they just stream at the selected speed.
                  the pc does the rest.

                  Comment

                  • eccerr0r
                    Solder Sloth
                    • Nov 2012
                    • 8701
                    • USA

                    #29
                    Re: First oscilloscope thoughts

                    Odd... Saleae has a website but the cheap $6 Saleaelogic LA's are not on their website... Are these hacks? Oh my, I think they are... someone reverse engineered their LA and put a fake name on it?

                    Comment

                    • stj
                      Great Sage 齊天大聖
                      • Dec 2009
                      • 31087
                      • Albion

                      #30
                      Re: First oscilloscope thoughts

                      neither,
                      they are based on the original 8channel saleae that is no longer made.
                      https://sigrok.org/wiki/Saleae_Logic

                      they arent the first to clone it either.
                      http://www.usbee.com/zx.html
                      lol
                      Last edited by stj; 12-25-2017, 07:40 AM.

                      Comment

                      • eccerr0r
                        Solder Sloth
                        • Nov 2012
                        • 8701
                        • USA

                        #31
                        Re: First oscilloscope thoughts

                        I mean, what is this? This is a clone/fake that should be illegal?

                        https://www.ebay.com/itm/24MHz-8CH-U...0/272337085235

                        No relation of course... I'd say this should be illegal and should be reported? Actually nevermind this should be OK. I thought I saw one that actually printed Saleae on it... now that would be a trademark violation.

                        Comment

                        • stj
                          Great Sage 齊天大聖
                          • Dec 2009
                          • 31087
                          • Albion

                          #32
                          Re: First oscilloscope thoughts

                          it's neither.
                          it just happens to be compatable.
                          you see, salaea had the cheek to use a reference design from the cypress datasheets for the hardware.
                          so they arent in a position to complain or sue other than use of their VID/PID in the eeprom.

                          the USBEE has it's on VID/PID so is untouchable.

                          Comment

                          • eccerr0r
                            Solder Sloth
                            • Nov 2012
                            • 8701
                            • USA

                            #33
                            Re: First oscilloscope thoughts

                            Ah... crappy, I guess then saleae should have never gotten recognition for the hardware design, it's a reference design after all. Then the software is another issue if Saleae wrote their own software and people are copying it. At least it looks like usbee has their own.

                            I might have to get one alas wish there was more than 8 channels...

                            Comment

                            • eccerr0r
                              Solder Sloth
                              • Nov 2012
                              • 8701
                              • USA

                              #34
                              Re: First oscilloscope thoughts

                              Speaking of sigrok, I wish it supported GPIB devices, or does it do so? Would be nice to use it with my GPIB 'scope...

                              Comment

                              • stj
                                Great Sage 齊天大聖
                                • Dec 2009
                                • 31087
                                • Albion

                                #35
                                Re: First oscilloscope thoughts

                                if your usb is upto it, you can use the cheap la's in sets

                                Comment

                                • eccerr0r
                                  Solder Sloth
                                  • Nov 2012
                                  • 8701
                                  • USA

                                  #36
                                  Re: First oscilloscope thoughts

                                  That is definitely asking for problems, end up with skew between the cheap LA's unless there's a way to synchronize them...

                                  Comment

                                  • Dannyx
                                    CertifiedAxhole
                                    • Aug 2016
                                    • 3912
                                    • Romania

                                    #37
                                    Re: First oscilloscope thoughts

                                    Ok guys, it's been nearly a year now since we've had this discussion, so here's a little follow-up:

                                    Still haven't got a scope. Not because money would be an immediate obstacle (I could certainly dish out for a pro one at that), but because it wouldn't pay for itself, so I figured it's a better idea to just wait until I could get some actual use out of it, instead of just fantasizing how it would be to have a scope.
                                    However, in the meantime, check out this thing I found in the junk pile at work: Leader LBO-508A...What you see is what you get: it's pretty beat up, the case is not on properly, dials and buttons have flown off...all sorts of nasties. Amazingly, the screen seems to be intact (at the front at least), since I'm not sure if the tube inside is still OK.

                                    The ultimate question is: does it work ? Don't know: haven't plugged it in, since it's pretty messed up on the inside as well. Some traces broke off from what the chap who took it apart before me told me, but haven't had a look myself yet.

                                    Did some searches and it turns out it's only 20Mhz which is rather meh, but hey: free scope...can't argue with that. Trouble is: should I bother to even crack the case open, or just toss it back in the corner where I found it ?
                                    Attached Files
                                    Wattevah...

                                    Comment

                                    • stj
                                      Great Sage 齊天大聖
                                      • Dec 2009
                                      • 31087
                                      • Albion

                                      #38
                                      Re: First oscilloscope thoughts

                                      looks good for a free scope - get in it and see if it's all there.

                                      Comment

                                      • Dannyx
                                        CertifiedAxhole
                                        • Aug 2016
                                        • 3912
                                        • Romania

                                        #39
                                        Re: First oscilloscope thoughts

                                        Can't do that just yet thanks to my "shop master 3000" who won't let me touch anything around here (wrote a whole rant about that in another thread), so I'll just let it sit there for now...sorry Santa, but I hope it's not long until the old geezer kicks so I can get some peace and quiet...that's one heck of a wish from someone who is usually peaceful, shy and tolerant AF...
                                        Wattevah...

                                        Comment

                                        • Dannyx
                                          CertifiedAxhole
                                          • Aug 2016
                                          • 3912
                                          • Romania

                                          #40
                                          Re: First oscilloscope thoughts

                                          4 years later and yo' boy here is still struggling to get his first scope

                                          I'm browsing a local site for second-hand ones, since there's no way I can afford a new one that's got decent specs without spending fortunes on it which wouldn't pay off. I found a Rigol DS1102e at a price I'm actually willing to pay....provided of course it IS any good, hence why I'm asking for advice. From the very little I know about scopes, a bandwidth of 100Mhz is on the low side....
                                          Wattevah...

                                          Comment

                                          Related Topics

                                          Collapse

                                          • repair-it
                                            Need advice testing a samsung power supply board with scope
                                            by repair-it
                                            I am attempting to test a samsung power supply board to verify the pfc ic is working. I am powering up the board with my isolation transformer. The board turns on fine but when I attempt to connect the ground for the scope probe, it trips out the isolator. I was taught not to 'float my scope' so I am wondering if I should test without connecting the ground lead or would that be asking for trouble? Not sure how else to test, I don't have a portable scope. I could plug direct to mains power but that would bypass the safety factor.
                                            07-12-2025, 11:00 AM
                                          • Tarot Superstars
                                            How not to Damage an Oscilloscope
                                            by Tarot Superstars
                                            Hello.
                                            I have jut got my first analogue oscilloscope. An Isotech 620 20MHz.

                                            I want to learn how not to damage it, and I found instructions on the internet obscure.
                                            They talk about ground, earth, floating ground, this, that....
                                            But they don't actually say anything anything useful so far.

                                            I want to know:
                                            Don't connect exactly this to exactly there or it blows up.

                                            For example, I am tracing a signal from a function generator in an audio amp, or testing for voltages in different parts of a circuit.
                                            I want to know what not to connect...
                                            08-29-2023, 02:27 PM
                                          • Evets
                                            Dynamco analogue oscilloscope
                                            by Evets
                                            I have recently acquired a Dynamco D7100 analogue oscilloscope without a user manual. As this is the first time I have owned or used an oscilloscope I would like to try and find an instruction book. The manufacturers no longer hold any information and a Google search only found one site but when I downloaded a 'service manual' all I got was gobbledegook. Any help would be gratefully appreciated or even pointers to a generic manual where I could learn more.
                                            08-30-2024, 06:54 AM
                                          • SolomonMan
                                            Vintage BK Precision 1403 Oscilloscope....
                                            by SolomonMan
                                            All,

                                            Some of you have helped me in the past and I am very appreciative of all the help! (I have fixed TVs/Stereos/ and other small appliances with your efforts...Thanks so much!!!



                                            Today I went to a local HAM Radio Festival. It was one of the smaller ones in our area. My stepfather is the HAM operator. I tinker in electronics but am a Software Programmer (27 years now).

                                            I was looking for a few odds and ends for some electronics work I have to do for the household/farm. Typically these type of shows have the grab bags or a electronics vendor...
                                            12-03-2023, 10:39 PM
                                          • EasyGoing1
                                            Reading input and output of bridge rectifier on the same scope?
                                            by EasyGoing1
                                            I have a 40 volt AC transformer that I put a bridge rectifier on, and I wanted to see the input signal and the output signal on the same screen on my scope, so I set one channel up with the test lead on one side of the input and the ground lead on the other side of the input, then I used another channel on the scope and clipped the test lead on the positive side of the output then the ground on the negative side of the output.

                                            When I connected the transformer to power, the wire that was connected between the ground lead on the second channel and the negative side of the bridge rectifier...
                                            06-26-2022, 12:52 AM
                                          • Loading...
                                          • No more items.
                                          Working...