wiegand protocal

20 views
Skip to first unread message

Rukku Raghu

unread,
May 1, 2021, 1:10:51 PM5/1/21
to BeagleBoard
hai all
      any one share me wiegand and  beagle bone black with 
gpio pins source code

regards
rukku

Dennis Lee Bieber

unread,
May 2, 2021, 10:07:24 PM5/2/21
to Beagleboard
On Sat, 1 May 2021 10:05:21 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user Rukku Raghu
<rukkuraghu257-Re5J...@public.gmane.org> wrote:

>hai all
> any one share me wiegand and beagle bone black with
>gpio pins source code
>

Most hits are for Raspberry-Pi, so any solution would need to be ported
to the Beagle GPIO libraries. Easiest would be to start with Python and
Adafruit_BBIO. The protocol appears to rely upon both data lines be high as
a NULL state, if either data line goes low you have a 0 or 1 (depending
upon which data line) and both data lines low is an error condition.
However,
https://stackoverflow.com/questions/35148766/python-raspberry-pi-gpio-and-wiegand-issues
implies Python may not be fast enough.

https://gist.github.com/hsiboy/9598741 is an R-Pi C-language source --
again you'd have to update the GPIO calls to some equivalent library on the
Beagle.

Javascript (which may imply node.js usage)
https://github.com/samt/node-wiegand

You may also find sample libraries for Arduino boards, which shouldn't
be too difficult to port over to Beagle GPIO.


--
Dennis L Bieber

Reply all
Reply to author
Forward
0 new messages