This library enables the MFRC522 module to connect to the Raspberry Pi Pico.
Code mostly from: https://github.com/danjperron/micropython-mfrc522
The Raspberry Pi Pico connects to the RC522 module via the SPI interface. The default pinouts are provided below:
RFID Signal | Pico Pin |
---|---|
SCK | GP2 |
MOSI | GP3 |
MISO | GP4 |
RST | GP0 |
SDA | GP1 |
There are three programs and 2 libraries:
ndef_create.py
- creates NDEF tagsndef_erase.py
- erases NDEF tagsndef_read.py
- reads NDEF tags
rfidaccess.py
- used for accessing the rfid chip memorymfrc522.py
- the main RC522 module library
There are two files: Top.stl
and Bottom.stl
that you can print out to encase the RC522 module.