3

I am using an ESP8266 NodeMCU v0.1 and MFRC RC522. Please can anyone tell me how I can send the tag ID to my web server and how to connect NodeMCU to RC522?

dda
  • 6,030
  • 2
  • 25
  • 34
Yatin Gaikwad
  • 1,140
  • 1
  • 13
  • 23

1 Answers1

0

I have managed to use this example with few modifications. https://github.com/Jorgen-VikingGod/ESP8266-MFRC522

Wiring as follows:

SDA(SS) - D4 (GPIO2)
SCK     - D5 (GPIO14) (hw spi)
MOSI    - D7 (GPIO13) (hw spi)
MISO    - D6 (GPIO12) (hw spi)
IRQ     - 
GND     - G
RST     - D3 (GPIO0) (FLASH)
3.3V    - 3V

And in the code I have redefined these variables:

#define RST_PIN  D3
#define SS_PIN   D4

Worked for me.

elshnkhll
  • 2,077
  • 1
  • 19
  • 24