Skip to content

Wiring - ESP32 + PN5180

The PN5180 connects to the ESP32 via SPI. 8 wires total.

ESP32-WROOM Pinout

PN5180 Pin ESP32 GPIO Function
RST GPIO 13 Hardware reset (active low)
NSS GPIO 14 SPI chip select
MOSI GPIO 27 SPI data out
MISO GPIO 26 SPI data in
SCK GPIO 25 SPI clock
BUSY GPIO 33 Busy signal (input)
5V 5V Power
GND GND Ground

ESP32-S3-Zero Pinout

PN5180 Pin ESP32-S3 GPIO Function
RST GPIO 4 Hardware reset (active low)
NSS GPIO 5 SPI chip select
MOSI GPIO 6 SPI data out
MISO GPIO 7 SPI data in
SCK GPIO 8 SPI clock
BUSY GPIO 9 Busy signal (input)
5V 5V Power
GND GND Ground

Wiring Tips

PN5180 uses 5V power

Connect 5V to the ESP32's 5V pin (not 3.3V). The SPI data lines are 3.3V logic and are level-shifted on the PN5180 board.

  • Keep SPI wires short (under 15cm) for reliable communication
  • The AITRIP PN5180 module has labeled pins matching the table above
  • GPIO/IRQ/AUX pins are defined in firmware but not currently required for basic operation

Using a different board or module?

The pinout and voltage above are verified for the Freenove ESP32-WROOM and AITRIP PN5180. If you're using a different ESP32 or PN5180 module, check the datasheet for your specific boards to confirm pin labels and voltage levels before wiring.