Edit: the module now supports ESP8266 and the WiPy
With MifareClassic1k cards, the class is able to:
- Detect a card
Authenticate a card
Read from a card
Write to a card
https://github.com/wendlers/micropython-mfrc522
You are right! Thanks for movingplatforma wrote:I think the "Drivers" subforum is a better place for this. Good work by the way!
Hi, I tested the insecure MIFAREClassic which I was able to authenticate successfully. The data-sheet of the MFRC522 states that it supports MIFARE DESfire but I have not tried (since I don't have a DESfire card). However, when looking at the MFAuthen command the data-sheet says:kfricke wrote:Did you only test the insecure classic Mifare variants or also DESfire EV1 for example?
Not sure if this means that only the listed types work with secure communication?This command manages MIFARE authentication to enable a secure communication to any MIFARE Mini, MIFARE 1K and MIFARE 4K card.
Code: Select all
WeMos D1 mini -- RFID RC522
3v3 ------------ 1 3.3V
D1 GPIO5 SCL --- 2 RST
G -------------- 3 GND
4 IRQ
D2 GPIO4 SDA --- 5 MISO
D4 GPIO2 ------- 6 MOSI
D3 GPIO0 ------- 7 SCK
D5 GPIO14 SCK -- 8 SDA
Code: Select all
import mfrc522_read
mfrc522_read.do_read()