I have a pi zero v1.3:
PI – pn532
5v to 5v
gnd to gnd
BCM10 to MOSI
BCM9 to MISO
BCM11 to SCK
BCM5 to SS
I think the issue is BCM5 to SS? I believe this should be CE0 or CE1?
I have closed both SEL0 and SEL1. The only other thing is instead of using the DI/O 1-6 corresponding to the “MISO/MOSI/ETC”, I plugged the wire directly into the hole for MISO/MOSI/ETC.
Any help would be awesome!!
Link to the product: https://learn.adafruit.com/adafruit-pn532-rfid-nfc/shield-wiring
Thank You,
-
but which tutorial says “bcm5 to ss”? – tlfong01 Apr 13 at 0:48
-
1I’ll have to find it.Is there another it should connect to? – Denis 2 days ago
-
You might like to show us a photo of your module, similar to the photos in these NFC questions: (1) stackoverflow.com/questions/60819793/…, (2) raspberrypi.stackexchange.com/questions/109773/…. Cheers. – tlfong01 2 days ago
-
I googled the tutorial for your module and found it is for I2C. (3) learn.adafruit.com/adafruit-pn532-rfid-nfc/shield-wiring. Actually your module can do I2C, SPI, and UART. My answer in Ref 1 above is for PN532 in I2C mode, and I successfully followed the libnfc tutorial to setup the mdules OK. I can show it in SPI mode if you prefer to do SPI. BTW, the tutorial in your mdoules is for Arduino, you need to find other NFC tutorials for Rpi, such as libnfc for PN532 or simpleMFRC522 etc. – tlfong01 2 days ago
-
1Hey thank you for all of this!! I checked the spi an that was good. Here is what I posted in the forum. I looked it up and matched the arduino connections to the shield and I have rewired up the nfc pn532. I will post a new photo tonight but it is still not workin 😦 forums.adafruit.com/viewtopic.php?f=60&t=164398 – Denis yesterday
Answer
Part A – PN532 NFC testing setup
Part B – libnfc 1.1.7 SPI Mode tested OK
/ to continue, …
References
(1) Problem with detecting badge with PN532 and Rpi – Asked 2020mar23, Viewed 74 times
(3) PN532 NFC Controller Datasheet Rev 3.6 — 2017nov28 NXP
(4) PN532 UM0701-02 80C51 Firmware User Manual Rev 02 – NXP 2007
(5) PN532 NFC RFID Module – Comoponents101 2018oct06
(8) PN532 NFC HAT for Raspberry Pi, I2C/SPI/UART – WaveShare USD$14
(9) PN532 NFC HAT for Raspberry Pi, I2C/SPI/UART – Wiki WaveShare
(10) PN532 UM0701-02 User Manual – NXP
(11) NTAG213/215/216 Datasheet – NXP
(12) MIFARE Classic 1K Smart Card Datasheet R3.2 2018may23 – NXP
(13) PN532 Demo Code – WaveShare
(14) OsoYoo (with schematic) PN532 NFC RFID module for Raspberry Pi
/ to continue, …
Appendices
Appendix A – Suggestion to wire AdaFruit’s Arduino compatible PN532 NFC shield to Rpi.
PN532 NFC HAT for Rpi Datasheet – WaveShare
PN532 NFC HAT for Rpi Wiki – WaveShare
Appendix B – PN532 NFC Module I2C/SPI/UART Jumper Setting
Appendix C – PN532 Register Map
Appendix D – PN532 Schematic
PN532 NFC RFID module for Raspberry Pi
/ to continue, …
End of answer
Categories: Uncategorized