# cicerosnt/esp32-pn5180 architecture

> Architecture diagram of the GitHub repository cicerosnt/esp32-pn5180, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/cicerosnt/esp32-pn5180
- Repository: https://github.com/cicerosnt/esp32-pn5180

## Overview

This is a small ESP32 firmware project for reading ISO 15693 NFC tag IDs with a PN5180 reader. The documented runtime configures and initializes the reader, checks its product version, enables the RF field, detects and reads tags, then prints their IDs to the serial monitor. Only the README is available as evidence; the firmware’s internal call structure is therefore represented as documented behavior, not inspected implementation detail.

Main entry points: [`nfc-esp32-pn5180.ino`](https://github.com/cicerosnt/esp32-pn5180/blob/main/nfc-esp32-pn5180.ino) (ESP32 Firmware)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_firmware["ESP32 Firmware"]
node_pn5180["PN5180 Reader"]
node_iso15693(("ISO 15693 Tag"))
node_serial["Serial Monitor"]

node_firmware -->|"configures and initializes"| node_pn5180
node_firmware -->|"checks version; enables RF"| node_pn5180
node_iso15693 -->|"is detected by"| node_pn5180
node_firmware -->|"reads tag ID"| node_pn5180
node_firmware -->|"prints tag ID"| node_serial

click node_firmware "https://github.com/cicerosnt/esp32-pn5180/blob/main/nfc-esp32-pn5180.ino"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_firmware toneTeal
class node_pn5180,node_iso15693,node_serial toneIndigo
```

## Components

### Other components

- [ESP32 Firmware](https://github.com/cicerosnt/esp32-pn5180/blob/main/nfc-esp32-pn5180.ino): `nfc-esp32-pn5180.ino`
- **PN5180 Reader**
- **ISO 15693 Tag**
- **Serial Monitor**

## Connections

- ESP32 Firmware → PN5180 Reader: configures and initializes (evidence: `readme.md`)
- ESP32 Firmware → PN5180 Reader: checks version; enables RF (evidence: `readme.md`)
- ISO 15693 Tag → PN5180 Reader: is detected by (evidence: `readme.md`)
- ESP32 Firmware → PN5180 Reader: reads tag ID (evidence: `readme.md`)
- ESP32 Firmware → Serial Monitor: prints tag ID (evidence: `readme.md`)
