Author Topic: Wiegand with Logic Analyzer or oscilloscope?  (Read 248 times)

0 Members and 1 Guest are viewing this topic.

Offline nardev

  • Supporter
  • ****
  • Posts: 301
  • Country: ba
Wiegand with Logic Analyzer or oscilloscope?
« on: January 27, 2020, 02:02:55 am »
Other than using a some MCU and existing libraries, i wish to get decent preview of wiegand data transferred from a reader.

I have on my disposal some crappy Logic Analyzer which i can use with Saleae software and Siglent SDS 1104X which only has decoder for several protocols, I2C, UART etc.

The nature of wiegand is actually to keep both lines at high and pull down D0 for 9 and D1 if 1 is to be sent.

Is there any handy way to visualize that, i can decode it by hand, bu i wish to get visualization nicely.

Any suggestion?

 :-/O :-BROKE :-DMM
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 17471
  • Country: nz
  • Taupaki Technologies Ltd. NZ Siglent Distributor
    • Taupaki Technologies Ltd.
Re: Wiegand with Logic Analyzer or oscilloscope?
« Reply #1 on: January 27, 2020, 03:24:04 am »
Other than using a some MCU and existing libraries, i wish to get decent preview of wiegand data transferred from a reader.

I have on my disposal some crappy Logic Analyzer which i can use with Saleae software and Siglent SDS 1104X which only has decoder for several protocols, I2C, UART etc.

The nature of wiegand is actually to keep both lines at high and pull down D0 for 9 and D1 if 1 is to be sent.

Is there any handy way to visualize that, i can decode it by hand, bu i wish to get visualization nicely.

Any suggestion?

 :-/O :-BROKE :-DMM
SDS1104X-E has a CAN decode that seems similar. Maybe you can you can try that.
https://en.wikipedia.org/wiki/Wiegand_interface
https://en.wikipedia.org/wiki/CAN_bus

The instruction for Siglents STB3 might be useful in helping to get decode settings correct.
https://www.siglenteu.com/wp-content/uploads/dlm_uploads/2018/07/STB3_User-Manual_UM60109_E01B.pdf
Avid Rabid Hobbyist
 
The following users thanked this post: nardev

Offline nardev

  • Supporter
  • ****
  • Posts: 301
  • Country: ba
Re: Wiegand with Logic Analyzer or oscilloscope?
« Reply #2 on: January 27, 2020, 04:18:07 am »
Tried with CAN, didn't get what i expected. (can post photos later).

I'm just thinking is there some kind of a "math" and signal inversion that i can do and put D0 and D1 on top of each other and get visual like that?
 

Offline digsys

  • Supporter
  • ****
  • Posts: 2156
  • Country: au
    • DIGSYS
Re: Wiegand with Logic Analyzer or oscilloscope?
« Reply #3 on: January 27, 2020, 04:30:52 am »
I do a heck of a lot of Wiegand, and really, a 2ch DSO is pretty much vital. I have decoded heaps of "encrypted" data streams that way.
You can also verify - line capacitance, slew / timimg, levels at the same time. Is it a common device?
Hello <tap> <tap> .. is this thing on?
 
The following users thanked this post: nardev

Offline tautech

  • Super Contributor
  • ***
  • Posts: 17471
  • Country: nz
  • Taupaki Technologies Ltd. NZ Siglent Distributor
    • Taupaki Technologies Ltd.
Re: Wiegand with Logic Analyzer or oscilloscope?
« Reply #4 on: January 27, 2020, 04:36:37 am »
Tried with CAN, didn't get what i expected. (can post photos later).

I'm just thinking is there some kind of a "math" and signal inversion that i can do and put D0 and D1 on top of each other and get visual like that?
Channel menu>P2> Invert.  ;)
Avid Rabid Hobbyist
 
The following users thanked this post: nardev


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf