hai all
any one share me wiegand and beagle bone black with
gpio pins source code
regards
rukku
hai all
any one share me wiegand and beagle bone black with
gpio pins source code
regards
rukku
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.
Gonna resurrect this one. Has anyone done a PRU code for Wiegand? I’ll make it into a personal project if necessary.
I’m thinking using PRU to load registers and then processing them in the regular code side for different bit-formats. I imagine that would fix the speed issues. Also curious about how many Wiegand proxes the PRU could handle.
Long term goal would be web-interface for configuring the device and maybe, possibly, creating virtual serial ports through the network interface.