Skip to main content

A library to integrate the MFRC522 RFID readers with the Jetson family

Project description

RFID library for Jetson Family

This is a simple python library that provides a way to communicate jetson devices with MFRC522 modules

Installation

The easier way to install is through pip

pip install Jetson-MFRC522

also you can install it manually by clone the repo and run pip install command

Example

This is a simple example that read id and text in RFID card, tested in Jetson Nano.

from time import sleep
import sys
from Jetson_MFRC522 import SimpleMFRC522
reader = SimpleMFRC522()

try:
    while True:
        print("Hold a tag near the reader")
        id, text = reader.read()
        print("ID: %s\nText: %s" % (id,text))
        sleep(5)
except KeyboardInterrupt:
    GPIO.cleanup()
    raise

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

Jetson_MFRC522-1.0.0.tar.gz (7.2 kB view hashes)

Uploaded Source

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