Author Topic: Cheapo logic analyser  (Read 1601 times)

0 Members and 1 Guest are viewing this topic.

Offline PerranOakTopic starter

  • Frequent Contributor
  • **
  • Posts: 548
  • Country: gb
Cheapo logic analyser
« on: August 04, 2021, 10:42:04 am »
I’d a logic analyser but don’t want to pay loads for it!  ;D
I guess my best option is a PC based one?
Does anyone have a recommendation for a real tight-wad? (Other than: “put your hand in your pocket you cheap@rse”)
Cheers.
You can release yourself but the only way to go is down!
RJD
 

Online Fungus

  • Super Contributor
  • ***
  • Posts: 16640
  • Country: 00
Re: Cheapo logic analyser
« Reply #1 on: August 04, 2021, 10:53:59 am »
What bandwidth?
 

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 19470
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Cheapo logic analyser
« Reply #2 on: August 04, 2021, 11:03:54 am »
You need to think about and tell us:
  • what type of signals => threshold voltages
  • how many => width
  • protection from high voltages, if appropriate
  • decoding quantised voltages into digital signals => protocol analysis
  • minimum transient you need to capture => sampling rate
  • ignoring irrelevant detail => arm/trigger/filter
  • stage machine or asynchronous => sampling speed
and anything else so that we aren't playing "20 questions" :)
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 PaulAm

  • Frequent Contributor
  • **
  • Posts: 938
  • Country: us
Re: Cheapo logic analyser
« Reply #3 on: August 04, 2021, 01:48:29 pm »
If you can deal with the limitations you won't get anything cheaper than a Sileae clone.  You can get an 8 bit version for under $10 USD.  They work reasonably well with Sigrok.

More lines, higher bandwidth, etc and the prices go up.
 

Offline PerranOakTopic starter

  • Frequent Contributor
  • **
  • Posts: 548
  • Country: gb
Re: Cheapo logic analyser
« Reply #4 on: August 07, 2021, 02:08:21 pm »
Right. You've got me now.

I would use it to decode I2C, UART and such on simple PIC projects (mostly 8-bit, I guess) and maybe the odd USB bit of USB. There will not be any really fast stuff (except USB) so something pretty Micky-Mouse will do.

Cheers.
You can release yourself but the only way to go is down!
RJD
 

Offline CJay

  • Super Contributor
  • ***
  • Posts: 4136
  • Country: gb
Re: Cheapo logic analyser
« Reply #5 on: August 07, 2021, 02:31:33 pm »
Cheap as chips Cypress clone of the Saleae with Sigrok has done me proud when I've debugged I2C & slow (ish) SPI.

Sigrok can be a bit flakey, so can the Cypress clone thing but for under a tenner I have absolutely zero grounds to complain, the messing about cost me far less than a 'proper' LA and the combo got me out of a hole on more than a few occasions.

For that sort of money and most of your use case, it's got to be worth a go.

You're going to need to shift some real money to deal with native USB
 
The following users thanked this post: WattsThat

Online Fungus

  • Super Contributor
  • ***
  • Posts: 16640
  • Country: 00
Re: Cheapo logic analyser
« Reply #6 on: August 07, 2021, 04:10:40 pm »
something pretty Micky-Mouse will do.

...apart from the "USB" part, which needs several GHz of bandwidth.
 

Online tggzzz

  • Super Contributor
  • ***
  • Posts: 19470
  • Country: gb
  • Numbers, not adjectives
    • Having fun doing more, with less
Re: Cheapo logic analyser
« Reply #7 on: August 07, 2021, 05:10:56 pm »
something pretty Micky-Mouse will do.

...apart from the "USB" part, which needs several GHz of bandwidth.

... raises non-trivial probing problems, and probably needs protocol decoding and packet level decodes.
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 DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5895
  • Country: es
Re: Cheapo logic analyser
« Reply #8 on: August 07, 2021, 05:46:19 pm »
Search "24 mhz logic analyzer" in aliexpress/ebay/etc.
For $6 you get 8-ch 24MHz sampling rate, no capture depth limits.
Saleae logic analyzer software is superb, I actually find it better than sigrok, althought it doesn't support so many protocols.
« Last Edit: August 07, 2021, 05:49:15 pm by DavidAlfa »
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline alm

  • Super Contributor
  • ***
  • Posts: 2862
  • Country: 00
Re: Cheapo logic analyser
« Reply #9 on: August 07, 2021, 07:31:07 pm »
Saleae logic analyzer software is superb, I actually find it better than sigrok, althought it doesn't support so many protocols.

No surprise it's better, given that the Saleae software is commercial and only licensed to be used with their hardware. But since they didn't include any copy protection in their first generation of hardware, you'll be able to use their software with the cheap 'clones' as long as you ignore their license until they stop supporting their old hardware.

Offline DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5895
  • Country: es
Re: Cheapo logic analyser
« Reply #10 on: August 07, 2021, 08:04:11 pm »
I don't use it for working or anything like that. Purely for hobby use,  fiddling around or learning. So the difference for them would be zero.
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 

Offline PerranOakTopic starter

  • Frequent Contributor
  • **
  • Posts: 548
  • Country: gb
Re: Cheapo logic analyser
« Reply #11 on: August 09, 2021, 05:49:56 pm »
Brill, cheers all.

I think I'll leave the USB element for another time.
You can release yourself but the only way to go is down!
RJD
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf