104 lines
6.4 KiB
XML
104 lines
6.4 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="1400" height="820" viewBox="0 0 1400 820" role="img" aria-labelledby="title desc">
|
|
<title id="title">XIAO ESP32-S3 to PN532 I2C wiring for L484 door reader</title>
|
|
<desc id="desc">Wiring diagram showing PN532 VCC, GND, SDA, SCL, IRQ, and reset pins connected to XIAO ESP32-S3 3V3, GND, D4/GPIO5, D5/GPIO6, D2/GPIO3, and D3/GPIO4.</desc>
|
|
<defs>
|
|
<filter id="shadow" x="-20%" y="-20%" width="140%" height="140%">
|
|
<feDropShadow dx="0" dy="18" stdDeviation="18" flood-color="#000000" flood-opacity="0.45"/>
|
|
</filter>
|
|
<linearGradient id="board" x1="0" y1="0" x2="1" y2="1">
|
|
<stop offset="0" stop-color="#193f55"/>
|
|
<stop offset="1" stop-color="#071c27"/>
|
|
</linearGradient>
|
|
<linearGradient id="reader" x1="0" y1="0" x2="1" y2="1">
|
|
<stop offset="0" stop-color="#0d6f5f"/>
|
|
<stop offset="1" stop-color="#05382f"/>
|
|
</linearGradient>
|
|
<style>
|
|
.bg { fill: #060606; }
|
|
.panel { fill: #101010; stroke: #2a2a2a; stroke-width: 2; }
|
|
.label { fill: #fafafa; font: 700 22px Inter, Arial, sans-serif; letter-spacing: 0.12em; }
|
|
.small { fill: #b8b8b8; font: 600 15px Inter, Arial, sans-serif; letter-spacing: 0.08em; }
|
|
.pin { fill: #151515; stroke: #fafafa; stroke-opacity: 0.35; stroke-width: 2; }
|
|
.pinText { fill: #fafafa; font: 700 15px Inter, Arial, sans-serif; letter-spacing: 0.04em; }
|
|
.chip { fill: #202020; stroke: #525252; stroke-width: 2; }
|
|
.wire { fill: none; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
|
|
.wireThin { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0.34; }
|
|
.callout { fill: #f2ad24; font: 800 16px Inter, Arial, sans-serif; letter-spacing: 0.1em; }
|
|
.note { fill: #9f9f9f; font: 500 18px Inter, Arial, sans-serif; }
|
|
.warning { fill: #f2ad24; font: 700 18px Inter, Arial, sans-serif; }
|
|
</style>
|
|
</defs>
|
|
|
|
<rect class="bg" width="1400" height="820"/>
|
|
<rect class="panel" x="48" y="42" width="1304" height="736" rx="28"/>
|
|
|
|
<text class="label" x="92" y="102">L484 NFC DOOR READER WIRING</text>
|
|
<text class="small" x="94" y="137">XIAO ESP32-S3 + PN532 NFC V3 MODULE, I2C MODE</text>
|
|
|
|
<!-- ESP32 board -->
|
|
<g filter="url(#shadow)">
|
|
<rect x="112" y="190" width="390" height="500" rx="34" fill="url(#board)" stroke="#79b7d1" stroke-opacity="0.28" stroke-width="3"/>
|
|
<rect x="226" y="222" width="164" height="58" rx="10" fill="#d6d6d6" stroke="#5d5d5d" stroke-width="2"/>
|
|
<text class="small" x="263" y="257" fill="#111">USB-C</text>
|
|
<rect class="chip" x="222" y="350" width="168" height="128" rx="14"/>
|
|
<text class="label" x="227" y="420" font-size="24">XIAO</text>
|
|
<text class="small" x="222" y="506">ESP32-S3</text>
|
|
|
|
<g>
|
|
<circle class="pin" cx="142" cy="302" r="15"/><text class="pinText" x="172" y="308">3V3</text>
|
|
<circle class="pin" cx="142" cy="356" r="15"/><text class="pinText" x="172" y="362">GND</text>
|
|
<circle class="pin" cx="142" cy="410" r="15"/><text class="pinText" x="172" y="416">D4 / GPIO5</text>
|
|
<circle class="pin" cx="142" cy="464" r="15"/><text class="pinText" x="172" y="470">D5 / GPIO6</text>
|
|
<circle class="pin" cx="142" cy="518" r="15"/><text class="pinText" x="172" y="524">D2 / GPIO3</text>
|
|
<circle class="pin" cx="142" cy="572" r="15"/><text class="pinText" x="172" y="578">D3 / GPIO4</text>
|
|
</g>
|
|
</g>
|
|
|
|
<!-- PN532 board -->
|
|
<g filter="url(#shadow)">
|
|
<rect x="898" y="190" width="390" height="500" rx="34" fill="url(#reader)" stroke="#55d9ba" stroke-opacity="0.28" stroke-width="3"/>
|
|
<rect x="986" y="284" width="216" height="216" rx="24" fill="none" stroke="#cfeee8" stroke-opacity="0.18" stroke-width="10"/>
|
|
<rect x="1018" y="316" width="152" height="152" rx="18" fill="none" stroke="#cfeee8" stroke-opacity="0.18" stroke-width="8"/>
|
|
<rect class="chip" x="1030" y="536" width="128" height="68" rx="12"/>
|
|
<text class="label" x="1002" y="254" font-size="25">PN532</text>
|
|
<text class="small" x="989" y="626">NFC V3 MODULE</text>
|
|
|
|
<g>
|
|
<text class="pinText" x="1184" y="308" text-anchor="end">VCC</text><circle class="pin" cx="1258" cy="302" r="15"/>
|
|
<text class="pinText" x="1184" y="362" text-anchor="end">GND</text><circle class="pin" cx="1258" cy="356" r="15"/>
|
|
<text class="pinText" x="1184" y="416" text-anchor="end">SDA</text><circle class="pin" cx="1258" cy="410" r="15"/>
|
|
<text class="pinText" x="1184" y="470" text-anchor="end">SCL</text><circle class="pin" cx="1258" cy="464" r="15"/>
|
|
<text class="pinText" x="1184" y="524" text-anchor="end">IRQ</text><circle class="pin" cx="1258" cy="518" r="15"/>
|
|
<text class="pinText" x="1184" y="578" text-anchor="end">RSTO/RST</text><circle class="pin" cx="1258" cy="572" r="15"/>
|
|
</g>
|
|
</g>
|
|
|
|
<!-- Wires -->
|
|
<path class="wireThin" stroke="#ffffff" d="M142 302 C360 260 1018 260 1258 302"/>
|
|
<path class="wire" stroke="#e23a3a" d="M142 302 C360 260 1018 260 1258 302"/>
|
|
<text class="callout" x="642" y="252">3V3 -> VCC</text>
|
|
|
|
<path class="wireThin" stroke="#ffffff" d="M142 356 C372 334 1006 334 1258 356"/>
|
|
<path class="wire" stroke="#202020" d="M142 356 C372 334 1006 334 1258 356"/>
|
|
<text class="callout" x="650" y="328">GND -> GND</text>
|
|
|
|
<path class="wireThin" stroke="#ffffff" d="M142 410 C364 420 1012 402 1258 410"/>
|
|
<path class="wire" stroke="#3f8cff" d="M142 410 C364 420 1012 402 1258 410"/>
|
|
<text class="callout" x="622" y="396">D4 / GPIO5 -> SDA</text>
|
|
|
|
<path class="wireThin" stroke="#ffffff" d="M142 464 C362 502 1014 448 1258 464"/>
|
|
<path class="wire" stroke="#ffd23c" d="M142 464 C362 502 1014 448 1258 464"/>
|
|
<text class="callout" x="622" y="488">D5 / GPIO6 -> SCL</text>
|
|
|
|
<path class="wireThin" stroke="#ffffff" d="M142 518 C376 600 1004 498 1258 518"/>
|
|
<path class="wire" stroke="#b96cff" d="M142 518 C376 600 1004 498 1258 518"/>
|
|
<text class="callout" x="646" y="566">D2 / GPIO3 -> IRQ</text>
|
|
|
|
<path class="wireThin" stroke="#ffffff" d="M142 572 C382 684 1002 576 1258 572"/>
|
|
<path class="wire" stroke="#34d399" d="M142 572 C382 684 1002 576 1258 572"/>
|
|
<text class="callout" x="616" y="660">D3 / GPIO4 -> RSTO/RST</text>
|
|
|
|
<text class="warning" x="92" y="735">VERIFY THE SILKSCREEN ON YOUR EXACT BOARDS BEFORE POWERING.</text>
|
|
<text class="note" x="92" y="762">Some PN532 V3 modules label reset as RSTO, RST, or RSTPDN. Set the PN532 switches/jumpers to I2C mode.</text>
|
|
</svg>
|