Hardware part of the parking system
The hardware part
1.aMG FiO Glide ESP32
2.Adafruit PN532 RFID/NFC Breakout and Shield
It support SPI, I2C and TX/RX we can place the jumper to choose the mode.
Datasheet:https://cdn-learn.adafruit.com/downloads/pdf/adafruit-pn532-rfid-nfc.pdf
Youtube:https://www.youtube.com/watch?v=2qf6gIqhWNA
The code for find is you connect I2C correctly is in findi2c folder and the code for find type of the card is in readMifareture. The code that use to read card (Classic) in our project is Project_readMifareClassic.
Pin connect
PN532 aMG FiO Glide ESP32
GND --> GND
SSEL/SCL/RX --> pin 15
MOSI/SDA/TX --> pin 13
MISO --> pin 12
SCK --> pin 14
3.3 v --> pin 3.3 v