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.3.tar.gz
(5.5 kB
view hashes)
Built Distribution
Close
Hashes for pywiegand-0.4.3-cp37-cp37m-manylinux_2_28_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7c26160ca98bd4e0238ff3c387be4af74a6527e33e48ba597fd4f1dbd805d9f |
|
MD5 | 24864fc64147c7c1afd4f10ae88352fa |
|
BLAKE2b-256 | 9d507b01f23cb8e91ccfcb767c19ea9ab1d95580a6cad6ae468ce45c146e8c53 |