https://github.com/membermatters/urdm6300
A micropython driver for the popular RDM6300 RFID card reader.
https://github.com/membermatters/urdm6300
Last synced: 17 days ago
JSON representation
A micropython driver for the popular RDM6300 RFID card reader.
- Host: GitHub
- URL: https://github.com/membermatters/urdm6300
- Owner: membermatters
- Created: 2021-09-13T13:53:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-13T14:37:27.000Z (over 3 years ago)
- Last Synced: 2024-04-22T12:33:28.794Z (about 1 year ago)
- Language: Python
- Size: 4.88 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-micropython - urdm6300 - A MicroPython driver for the popular RDM6300 RFID card reader. (Libraries / Communications)
README
# urdm6300
urdm6300 is a simple micro python driver / library that allows you to read RFID cards from an attached RDM6300 board. Several suppliers manufacture these boards, including seeed studio and various Aliexpress sellers.
# Installation
Simply download the `urdm6300` folder and upload it to your micro python board. You can download this entire repository [here](https://github.com/membermatters/urdm6300/archive/refs/heads/main.zip).
# Examples
Using the default UART config (`machine.UART(1, baudrate=9600, timeout=2, timeout_char=10, tx=19, rx=18)`).
```python
from urdm6300 import Rdm6300rfid_reader = Rfid()
# note that this is not blocking and needs to be called as often as possible to check for new card scans
card_id = rfid_reader.read_card()
```You can also specify your own UART object if you'd like:
```python
from urdm6300 import Rdm6300
import machineuart = machine.UART(1, baudrate=9600)
rfid_reader = Rfid(uart)# note that this is not blocking and needs to be called as often as possible to check for new card scans
card_id = rfid_reader.read_card()
```You can also add this repo as a git sub module to your project to make keeping it up to date easier.