miguelbalboa / rfid

Arduino RFID Library for MFRC522
The Unlicense
2.73k stars 1.42k forks source link

rc522 not working on esp8266 #621

Closed Eljinx closed 1 month ago

Eljinx commented 5 months ago

Step 1: Describe your environment

Step 2: Describe the problem

Affected file(s) or example(s):

Im trying the dumpinfo example on mfrc522 library and im using the esp8266 Node-MCU v3 Lolin, the upload was successful however the reader wont work, I already alter the defined ports. But It only works on my arduino uno.

image

whatever2010 commented 4 months ago

Did you set your pins correctly? make sure

define RST_PIN 9

define SS_PIN 10

is like following for the esp8266 to work:

define RST_PIN D9

define SS_PIN D10