esprfid / esp-rfid

ESP8266 RFID (RC522, PN532, Wiegand, RDM6300) Access Control system featuring WebSocket, JSON, NTP Client, Javascript, SPIFFS
MIT License
1.35k stars 423 forks source link

PN532 - DO NOT use GPIO15 for SS on Wemos D1 Mini (use GPIO16 for SS instead) #467

Closed hellebauer closed 1 year ago

hellebauer commented 2 years ago

The recommended connections for PN532 are shown in chart below. It says to use GPIO15 (D8) for SS. That did not work for me.

The problem is that GPIO15 is also used for Reset on Wemos D1 Mini boards. As a result, Power-on Reset and Reset-button no longer worked on my Wemos, while the PN532 SS-signal was hooked up to GPIO15.

I rewired the SS to GPIO16 (D0) on my Wemos and all was well afterwards. (Don't forget to set SS=GPIO16 in the esprfid user interface).

**** WIRING BELOW WILL CAUSE ISSUES with Wemos D1 Mini and PN532: image

matjack1 commented 2 years ago

@hellebauer should we write this somewhere in the documentation, do you think?

BaconWithThat commented 1 year ago

Just found this and fixed my Wemos D1 mini that wouldn't boot when connected to the PN532, thank you.

BarrMo commented 1 year ago

Similar with my ESP8266 dev board. Set and connected to GPIO15 just seemed to jam it up. Wifi wasn't available either. I had to connect SS on the PN532 to GPIO5 (D1) Because GPIO16 (D0) is connected to the onboard LED.

matjack1 commented 1 year ago

I hope that the new doc here: https://github.com/esprfid/esp-rfid/pull/589 sort everything out in the documentation side