Wiegand protocol on Raspberry PI
Project description
Python Wiegand reader on Raspberry PI
Using GPIO you can read the key presses and card codes from a keypad with the Wiegand protocol.
Requirements
- Raspberry PI OS
- WiringPI
Wiring
Install
pip install pywiegand
Usage
>>> from pywiegand import WiegandReader
>>> wr = WiegandReader(6, 5)
# reading card
>>> wr.read()
'560019750914'
# reading keys
>>> wr.read()
['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '#']
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pywiegand-0.4.4.tar.gz
(5.6 kB
view hashes)
Built Distribution
Close
Hashes for pywiegand-0.4.4-cp39-cp39-manylinux_2_31_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 740d0739e9284a5878bf8d6fafc64d85effa638764940ff4de476c5c02ad74b1 |
|
MD5 | 6757a31d0df5ef373817242524f8fa55 |
|
BLAKE2b-256 | 87f9eea9f68008cee259b43e3332842e1d318f11a42762c8be35abceb769ad5f |