# esp32_wiegand ## Description WT32-ETH01 carrier refactored for a single 2x10 WT32 header, 12V input terminal, 6-pin Wiegand terminal, and a 12V-to-5V buck stage with level-shifted D0/D1 plus transistor-driven LED and BUZZER outputs, prepared for a simple 2-layer layout. ## Project Details - **Owner:** matteogrolla - **Created:** 3/22/2026 - **Last Updated:** 3/31/2026 - **Visibility:** Public - **System Architecture:** ```mermaid flowchart TD PWR["12V Input Terminal"] --> REG["12V to 3.3V Regulator"] REG --> MOD["WT32-ETH01 Module Header"] REG --> LVL["D0 D1 Level Shifter 5V to 3.3V"] WIEG["Wiegand 4 Pin Terminal"] --> LVL LVL --> MOD MOD --> DRV["LED and Buzzer NPN Drivers"] DRV --> WIEG ``` - **Copies:** 1 ## Key Components ### IC1 — [LMR33620ARNXT](https://www.flux.ai/adrian95/lmr33620arnxt.md) - Package: VQFN-12 - Manufacturer Part Number: LMR33620ARNXT - Part Type: Integrated Circuit - Role Details: Converts 12V input to 5V supply for WT32-ETH01 and Wiegand 5V logic domain - Manufacturer Name: Texas Instruments - Datasheet URL: http://www.ti.com/lit/gpn/lmr33620 - Package or Case Code: LMR33620ARNXT - License: https://creativecommons.org/licenses/by/4.0/ - Role: Regulation **Pins:** - AGND [pin 6] - BOOT [pin 4] - EN [pin 9] - FB [pin 7] - NC [pin 3] - PG [pin 8] - PGND_1 [pin 1] - PGND_2 [pin 11] - SW [pin 12] - VCC [pin 5] - VIN_1 [pin 2] - VIN_2 [pin 10] ### J1 — [282837-2](https://www.flux.ai/vasy_skral/282837-2.md) - Package: Terminal Block - Connector Type: Terminal Block - Connector Positions: 2 - Manufacturer Name: TE Connectivity AMP Connectors - Voltage: 12V - Manufacturer Part Number: 282837-2 - Part Type: Connector - Role: Power Input - Role Details: 2-position 12V input terminal with 12V and GND - Datasheet URL: https://www.te.com/commerce/DocumentDelivery/DDEController?Action=srchrtrv&DocNm=282837&DocType=Customer+Drawing&DocLang=English **Pins:** - 1 [pin 1] - 2 [pin 2] ### J2 — [691137710006](https://www.flux.ai/adrian95/691137710006.md) - Manufacturer Name: Würth Elektronik - Role Details: 6-position Wiegand terminal with 12V, GND, D0, D1, LED and BUZZER - Current: 16A - License: https://creativecommons.org/licenses/by/4.0/ - Operating Temperature: -30°C ~ 120°C - Package or Case Code: //www.snapeda.com/parts/691137710006/W%25C3%25BCrth+Elektronik+Midcom/view-part/?ref=eda - Connector Pitch: 5mm - Part Type: Connector - Manufacturer Part Number: 691137710006 - Package: Terminal Block - Connector Positions: 6 - Datasheet URL: https://www.we-online.com/katalog/datasheet/691137710006.pdf - Role: Field Interface - Voltage: 300V - Connector Rows: 1 **Pins:** - ~ [pin 5] - ~ [pin 2] - ~ [pin 3] - ~ [pin 6] - ~ [pin 1] - ~ [pin 4] ### Q1 — [MMBT2222ALT3G](https://www.flux.ai/adrian95/mmbt2222alt3g.md) - Role Details: NPN low-side driver for Wiegand LED control line - Manufacturer Part Number: MMBT2222ALT3G - Manufacturer Name: onsemi - Datasheet URL: https://www.onsemi.com/pdf/datasheet/mmbt2222lt1-d.pdf - Part Type: Transistor - Package: SOT-23-3 - License: https://creativecommons.org/licenses/by/4.0/ - Role: Switch Driver **Pins:** - B [pin 1] - C [pin 3] - E [pin 2] ### Q2 — [MMBT2222ALT3G](https://www.flux.ai/adrian95/mmbt2222alt3g.md) - Manufacturer Part Number: MMBT2222ALT3G - Package: SOT-23-3 - Role Details: NPN low-side driver for Wiegand BUZZER control line - Datasheet URL: https://www.onsemi.com/pdf/datasheet/mmbt2222lt1-d.pdf - Manufacturer Name: onsemi - Part Type: Transistor - Role: Switch Driver - License: https://creativecommons.org/licenses/by/4.0/ **Pins:** - B [pin 1] - C [pin 3] - E [pin 2] ### U1 — [WT32-ETH01](https://www.flux.ai/jecstronic/wt32-eth01.md) - Package: Module - Datasheet URL: https://files.seeedstudio.com/products/102991455/WT32-ETH01_datasheet_V1.1-%20en.pdf - Role: Controller - License: https://creativecommons.org/licenses/by/4.0/ - Role Details: WT32-ETH01 plug-in module providing ESP32 and Ethernet interface - Part Type: Module - Operating Voltage: 3.3V - Manufacturer Name: Seeed Technology Co., Ltd - Manufacturer Part Number: WT32-ETH01 **Pins:** - 3V3 [pin 3] - 3V3 [pin 10] - 485_EN [pin 6] - 5V [pin 12] - CFG [pin 5] - EN [pin 4] - EN [pin 1] - GND [pin 9] - GND [pin 14] - GND [pin 23] - GND [pin 11] - GND [pin 2] - IO0 [pin 24] - IO12 [pin 18] - IO14 [pin 19] - IO15 [pin 20] - IO2 [pin 15] - IO35 [pin 17] - IO36 [pin 21] - IO39 [pin 22] - IO4 [pin 16] - LINK [pin 13] - RXD [pin 25] - RXD [pin 7] - TXD [pin 8] - TXD [pin 26] ### U3 — [TXS0102DCTR](https://www.flux.ai/adrian95/txs0102dctr.md) - Manufacturer Part Number: TXS0102DCTR - Package: MSOP-8 - Role: Level Translation - License: https://creativecommons.org/licenses/by/4.0/ - Role Details: Dual-channel translator for Wiegand D0 and D1 from reader side to ESP32 side - Part Type: Integrated Circuit - Manufacturer Name: Texas Instruments - Datasheet URL: https://www.ti.com/lit/ds/symlink/txs0102.pdf **Pins:** - A1 [pin 5] - A2 [pin 4] - B1 [pin 8] - B2 [pin 1] - GND [pin 2] - OE [pin 6] - VCCA [pin 3] - VCCB [pin 7] *The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/matteogrolla/esp32wiegand](https://www.flux.ai/matteogrolla/esp32wiegand).* --- *Generated from [https://www.flux.ai/matteogrolla/esp32wiegand](https://www.flux.ai/matteogrolla/esp32wiegand)*