Skip to main content

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.

Downloads

Requirements

  • Raspberry PI OS
  • WiringPI

Wiring

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


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)

Uploaded Source

Built Distribution

pywiegand-0.4.4-cp39-cp39-manylinux_2_31_armv7l.whl (6.7 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.31+ ARMv7l

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page