# 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~nuq.md) - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Integrated Circuit - Datasheet URL: http://www.ti.com/lit/gpn/lmr33620 - Package or Case Code: LMR33620ARNXT - Role: Regulation - Role Details: Converts 12V input to 5V supply for WT32-ETH01 and Wiegand 5V logic domain - Manufacturer Part Number: LMR33620ARNXT - Package: VQFN-12 - Manufacturer Name: Texas Instruments **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~69k.md) - Package: Terminal Block - Connector Positions: 2 - Part Type: Connector - Role: Power Input - Connector Type: Terminal Block - Role Details: 2-position 12V input terminal with 12V and GND - Voltage: 12V - Datasheet URL: https://www.te.com/commerce/DocumentDelivery/DDEController?Action=srchrtrv&DocNm=282837&DocType=Customer+Drawing&DocLang=English - Manufacturer Part Number: 282837-2 - Manufacturer Name: TE Connectivity AMP Connectors **Pins:** - 1 [pin 1] - 2 [pin 2] ### J2 — [691137710006](https://www.flux.ai/adrian95/691137710006~j0n.md) - Manufacturer Part Number: 691137710006 - Manufacturer Name: Würth Elektronik - Role: Field Interface - Voltage: 300V - Current: 16A - Datasheet URL: https://www.we-online.com/katalog/datasheet/691137710006.pdf - 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 - Package: Terminal Block - Connector Rows: 1 - Connector Positions: 6 - Part Type: Connector - Connector Pitch: 5mm - Role Details: 6-position Wiegand terminal with 12V, GND, D0, D1, LED and BUZZER **Pins:** - ~ [pin 5] - ~ [pin 2] - ~ [pin 3] - ~ [pin 6] - ~ [pin 1] - ~ [pin 4] ### Q1 — [MMBT2222ALT3G](https://www.flux.ai/adrian95/mmbt2222alt3g~vum.md) - Manufacturer Name: onsemi - Role Details: NPN low-side driver for Wiegand LED control line - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Part Number: MMBT2222ALT3G - Package: SOT-23-3 - Role: Switch Driver - Part Type: Transistor - Datasheet URL: https://www.onsemi.com/pdf/datasheet/mmbt2222lt1-d.pdf **Pins:** - B [pin 1] - C [pin 3] - E [pin 2] ### Q2 — [MMBT2222ALT3G](https://www.flux.ai/adrian95/mmbt2222alt3g~vum.md) - Role Details: NPN low-side driver for Wiegand BUZZER control line - License: https://creativecommons.org/licenses/by/4.0/ - Manufacturer Name: onsemi - Manufacturer Part Number: MMBT2222ALT3G - Part Type: Transistor - Role: Switch Driver - Datasheet URL: https://www.onsemi.com/pdf/datasheet/mmbt2222lt1-d.pdf - Package: SOT-23-3 **Pins:** - B [pin 1] - C [pin 3] - E [pin 2] ### U1 — [WT32-ETH01](https://www.flux.ai/jecstronic/wt32-eth01~4er.md) - Operating Voltage: 3.3V - Manufacturer Name: Seeed Technology Co., Ltd - Package: Module - License: https://creativecommons.org/licenses/by/4.0/ - Part Type: Module - Datasheet URL: https://files.seeedstudio.com/products/102991455/WT32-ETH01_datasheet_V1.1-%20en.pdf - Role Details: WT32-ETH01 plug-in module providing ESP32 and Ethernet interface - Manufacturer Part Number: WT32-ETH01 - Role: Controller **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~w1i.md) - Role: Level Translation - Manufacturer Name: Texas Instruments - Datasheet URL: https://www.ti.com/lit/ds/symlink/txs0102.pdf - Role Details: Dual-channel translator for Wiegand D0 and D1 from reader side to ESP32 side - License: https://creativecommons.org/licenses/by/4.0/ - Package: MSOP-8 - Manufacturer Part Number: TXS0102DCTR - Part Type: Integrated Circuit **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~t9](https://www.flux.ai/matteogrolla/esp32wiegand~t9).* --- *Generated from [https://www.flux.ai/matteogrolla/esp32wiegand~t9](https://www.flux.ai/matteogrolla/esp32wiegand~t9)*