Turn a scope into a logic analyzer for $5

Go To Last Post
11 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi all!

I just finished documenting what I think is a relatively cool hack, and based on quick searching, I didn't notice if it has been done before: Turning a 2-channel digital oscilloscope into a 4-8 channel logic analyzer:

http://codeandlife.com/2012/05/1...

The basic idea is to connect logic inputs to a quad buffer, which drives a R-2R resistor network, converting four logic channels into one analog signal. This is then captured with a scope and a piece of code translates it back to logic again.

Now if only someone would port this to Sigrok or OLS (Open Logic Sniffer)... :)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

nice hack, brilliant.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Won't work with my Tek2465.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Did you try an FT_XXXH?
For example a basic version:
http://search.digikey.com/us/en/...

No RSTDISBL, no fun!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Well hacked sir!

The Dark Boxes are coming.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

A magnificent hack!

The largest known prime number: 282589933-1

It's easy to stop breaking the 10th commandment! Break the 8th instead. 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I made an 8-channel logic analyser using the X, Y and Z axis of a scope over 20 years ago. It even had a cursor.

______
Rob

Scattered showers my arse -- Noah, 2348BC.
Rob Gray, old fart, nature photographer, embedded hardware/software designer, and serial motorhome builder, www.robgray.com

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Just saw your project plugged on Hack A Day as well--nice job!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Cool idea!

After a little work today I believe this may also be possible with the Hantek DSO scopes.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Cool and very old idea. Had one like that in '78 to look at some signals for my Z80 system. 4 channels were possible. Cant remember the speed, but it was rather slow. So was the Z80 ;-)
Even had a PCB for it, so it was probably a circuit from Elektor or something.

/Jesper
http://www.yampp.com
The quick black AVR jumped over the lazy PIC.
What boots up, must come down.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks to everyone for the kind feedback! I was also pretty excited that Hack a Day featured this post.

Brutte wrote:
Did you try an FT_XXXH?
For example a basic version:
http://search.digikey.com/us/en/...

I have hard time connecting the dots between D/A-converter and oscilloscope hack and USB to RS232 serial bridge - did this reply actually belong to the USB/RS-232 thread?

...although, I did look at the FT232RL specs just a while ago, and noticed it has a "bit-bang mode" that would possibly allow using it as a 4-channel logic analyzer. I think I'll try that too at some point. :)