Port of MFRC522-python and pi-rc522 to Onion Omega 2+.
Note: The library currently is in progress and not yet working.
opkg update
opkg install python-light pyOnionSpi pyOnionGpioConnecting RC522 module to SPI is pretty easy. You can use this neat website for reference.
| Board pin name | Omega GPIO |
|---|---|
| SDA | 6 |
| SCK | 7 |
| MOSI | 8 |
| MISO | 9 |
| IRQ | - |
| GND | GND |
| RST | RST |
| 3.3V | 3.3V |
ptyhon read.py