# ESP32-S3 Dual Stepper Controller
## Description
Bo điều khiển ESP32-S3 cho hai driver stepper, màn hình TFT SPI, rotary encoder và nút nhấn; nguồn 40 VDC được hạ xuống 5 V bằng XL7015E1 rồi xuống 3,3 V bằng buck hiệu suất cao.
## Project Details
- **Owner:** idolbun
- **Created:** 8/21/2026
- **Last Updated:** 8/23/2026
- **Visibility:** Public
## Key Components
### D1 — [SS10100](https://www.flux.ai/lcsc/ss10100~t5ou.md)
- Package or Case Code: SMC_L6.9-W5.9-LS7.9-RD
- JLCPCB Part Class: Extended Part
- Manufacturer Part Number: SS10100
- Manufacturer Name: ZHIDE(志得)
- Role: Reverse Polarity Protection
- Role Details: 100 V 10 A Schottky series diode for protected raw VIN
- Part Type: Schottky Barrier Diodes (SBD)
- Functional Group: 40V Input Protection
- LCSC Part Number: C2917883
**Pins:**
- A [pin 2]
- K [pin 1]
### D2 — [SMCJ43A](https://www.flux.ai/lcsc/smcj43a~u70.md)
- JLCPCB Part Class: Extended Part
- Manufacturer Name: MDD(辰达半导体)
- LCSC Part Number: C2994052
- Functional Group: 40V Input Protection
- Role: Surge Protection
- Part Type: TVS
- Package or Case Code: SMC_L6.9-W5.9-LS7.9-RD
- Manufacturer Part Number: SMCJ43A
- Role Details: 43 V standoff unidirectional TVS across protected VIN
**Pins:**
- A [pin 2]
- C [pin 1]
### D3 — [SS310](https://www.flux.ai/lcsc/ss310~gei3.md)
- Functional Group: 40V to 5V Buck
- LCSC Part Number: C2988628
- Package or Case Code: SMA_L4.3-W2.6-LS5.1-RD
- JLCPCB Part Class: Extended Part
- Manufacturer Name: UMW(友台半导体)
- Role: Catch Diode
- Manufacturer Part Number: SS310
- Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/user-uploaded/cda874511c69991ae0801af1c43cde221f6b30a8f295bc27f86dfdc067797240.pdf
- Part Type: Schottky Barrier Diodes (SBD)
- Role Details: U1 asynchronous buck freewheel diode, 3 A 100 V Schottky
**Pins:**
- A [pin 2]
- K [pin 1]
### F1 — [0680L5000-05](https://www.flux.ai/silicon-yard/0680l5000-05.md)
- Manufacturer Part Number: 0680L5000-05
- Functional Group: 40V Input Protection
- Manufacturer Name: Bel Fuse Inc.
- Part Type: Fuse
- Role: Protection
- Role Details: 5 A 125 V input fuse; protected raw bus limited to 5 A combined
- Datasheet URL: https://www.belfuse.com/media/datasheets/products/circuit-protection/ds-CP-0680L-series.pdf
**Pins:**
- ~ [pin 2]
- ~ [pin 1]
### J1 — [B4B-XH-A(LF)(SN)](https://www.flux.ai/lcsc/b4b-xh-alfsn~so1x.md)
- Positions: 4
- Pitch: 2.5mm
- JLCPCB Part Class: Extended Part
- Functional Group: Auxiliary A0 D0 Interface
- Package or Case Code: CONN-TH_B4B-XH-A-LF-SN
- Gender: Male
- Manufacturer Part Number: B4B-XH-A(LF)(SN)
- Manufacturer Name: JST
- Rows: 1
- Connector Type: Wire-to-board Header
- LCSC Part Number: C144395
- Product Info Url: https://lcsc.com/product-detail/_JST-Sales-America_B4B-XH-A-LF-SN_JST-Sales-America-B4B-XH-A-LF-SN_C144395.html
- Part Type: Wire To Board / Wire To Wire Connector
- Role: Interface Connector
- Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/2304140030_JST-B4B-XH-A-LF-SN_C144395.pdf
- Role Details: Pin 1 3V3, pin 2 GND, pin 3 A0, pin 4 D0
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
- 3 [pin 3]
- 4 [pin 4]
### J10 — [B2P-VH(LF)(SN)](https://www.flux.ai/lcsc/b2p-vhlfsn~n4oo.md)
- Part Type: Wire To Board / Wire To Wire Connector
- Connector Type: Header
- Functional Group: Raw Driver Power Outputs
- Connector Positions: 2
- Connector Gender: Male
- JLCPCB Part Class: Extended Part
- Operating Temperature: -25 ~ +85℃
- Manufacturer Name: JST
- Voltage Rating: 250V
- Product Info Url: https://lcsc.com/product-detail/_JST_B2P-VH-LF-SN_B2P-VH-LF-SN_C160315.html
- Connector Pitch: 3.96mm
- Manufacturer Part Number: B2P-VH(LF)(SN)
- Role Details: Protected raw VIN and GND to stepper driver 1
- Connector Rows: 1
- Current Rating: 10A
- Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/2304140030_JST-B2P-VH-LF-SN_C160315.pdf
- Role: Power Output
- LCSC Part Number: C160315
- Package or Case Code: CONN-TH_B2P-VH-LF-SN
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
### J2 — [B4B-XH-A(LF)(SN)](https://www.flux.ai/lcsc/b4b-xh-alfsn~so1x.md)
- Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/2304140030_JST-B4B-XH-A-LF-SN_C144395.pdf
- Part Type: Wire To Board / Wire To Wire Connector
- Product Info Url: https://lcsc.com/product-detail/_JST-Sales-America_B4B-XH-A-LF-SN_JST-Sales-America-B4B-XH-A-LF-SN_C144395.html
- Connector Type: Wire-to-board Header
- LCSC Part Number: C144395
- Rows: 1
- Role: Interface Connector
- Manufacturer Part Number: B4B-XH-A(LF)(SN)
- Manufacturer Name: JST
- Gender: Male
- Functional Group: Auxiliary A0 D0 Interface
- Package or Case Code: CONN-TH_B4B-XH-A-LF-SN
- JLCPCB Part Class: Extended Part
- Pitch: 2.5mm
- Role Details: Pin 1 3V3, pin 2 GND, pin 3 A0, pin 4 D0
- Positions: 4
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
- 3 [pin 3]
- 4 [pin 4]
### J3 — [B2P-VH(LF)(SN)](https://www.flux.ai/lcsc/b2p-vhlfsn~n4oo.md)
- Manufacturer Part Number: B2P-VH(LF)(SN)
- Role: Power Output
- Functional Group: Raw Driver Power Outputs
- Role Details: Protected raw VIN and GND to stepper driver 2
- Current Rating: 10A
- Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/2304140030_JST-B2P-VH-LF-SN_C160315.pdf
- Connector Rows: 1
- LCSC Part Number: C160315
- Package or Case Code: CONN-TH_B2P-VH-LF-SN
- Connector Type: Header
- Part Type: Wire To Board / Wire To Wire Connector
- Connector Positions: 2
- Connector Gender: Male
- JLCPCB Part Class: Extended Part
- Operating Temperature: -25 ~ +85℃
- Manufacturer Name: JST
- Voltage Rating: 250V
- Product Info Url: https://lcsc.com/product-detail/_JST_B2P-VH-LF-SN_B2P-VH-LF-SN_C160315.html
- Connector Pitch: 3.96mm
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
### J4 — [FH12-12S-0.5SH(55)](https://www.flux.ai/adrian95/fh12-12s-0p5sh55~vdd.md)
- Functional Group: TFT Interface
- Manufacturer Part Number: FH12-12S-0.5SH(55)
- Part Type: Connector
- Package or Case Code: HIROSE_FH12-12S-0.5SH_55_
- Role: Display Connector
- Datasheet URL: https://www.hirose.com/product/document?clcode=&productname=&series=FH12&documenttype=Catalog&lang=en&documentid=D31648_en
- License: https://creativecommons.org/licenses/by/4.0/
- Role Details: 12-position 0.5 mm pitch bottom-contact horizontal FPC; cable exposed contacts face down
- Manufacturer Name: Hirose Electric Co Ltd
**Pins:**
- 1 [pin 1]
- 10 [pin 10]
- 11 [pin 11]
- 12 [pin 12]
- 2 [pin 2]
- 3 [pin 3]
- 4 [pin 4]
- 5 [pin 5]
- 6 [pin 6]
- 7 [pin 7]
- 8 [pin 8]
- 9 [pin 9]
- SHIELD [pin S1]
- SHIELD__1 [pin S2]
### J5 — [B5B-XH-A(LF)(SN)](https://www.flux.ai/lcsc/b5b-xh-alfsn~05rh.md)
- Role: Encoder Connector
- Connector Type: Header
- Part Type: Wire To Board / Wire To Wire Connector
- Manufacturer Part Number: B5B-XH-A(LF)(SN)
- Functional Group: Encoder Interface
- Role Details: Pins A, B, SW, 3V3, GND
- Positions: 5
- Pitch: 0.098" (2.50mm)
- Manufacturer Name: JST
- Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/2304140030_JST-B5B-XH-A-LF-SN_C157991.pdf
- JLCPCB Part Class: Extended Part
- Product Info Url: https://lcsc.com/product-detail/XH-Connectors_JST_B5B-XH-A-LF-SN_XHsocket-1-5P-pitch2-5mm_C157991.html
- Gender: Male Pin
- Package or Case Code: CONN-TH_B5B-XH-A-LF-SN
- Rows: 1
- LCSC Part Number: C157991
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
- 3 [pin 3]
- 4 [pin 4]
- 5 [pin 5]
### J6 — [B3B-XH-A(LF)(SN)](https://www.flux.ai/lcsc/b3b-xh-alfsn~wvza.md)
- Connector Type: Headers and Wire Housings
- Functional Group: Button Interface
- Operating Temperature: -25°C ~ 85°C
- Manufacturer Part Number: B3B-XH-A(LF)(SN)
- LCSC Part Number: C144394
- Connector Positions: 3
- JLCPCB Part Class: Extended Part
- Connector Rows: 1
- Part Type: Wire To Board / Wire To Wire Connector
- Current Rating: 3A
- Product Info Url: https://lcsc.com/product-detail/XH-Connectors_JST-Sales-America_B3B-XH-A-LF-SN_JST-Sales-America-B3B-XH-A-LF-SN_C144394.html
- Role Details: Pins BTN1, BTN2, shared GND
- Role: Button Connector
- Package or Case Code: CONN-TH_3P-P2.50_A2501WV2-3P
- Connector Pitch: 2.50mm
- Manufacturer Name: JST
- Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/2304140030_JST-B3B-XH-A-LF-SN_C144394.pdf
- Voltage Rating: 250V
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
- 3 [pin 3]
### J7 — [B4B-XH-A(LF)(SN)](https://www.flux.ai/lcsc/b4b-xh-alfsn~so1x.md)
- Manufacturer Name: JST
- Manufacturer Part Number: B4B-XH-A(LF)(SN)
- Gender: Male
- Connector Type: Wire-to-board Header
- LCSC Part Number: C144395
- Rows: 1
- JLCPCB Part Class: Extended Part
- Pitch: 2.5mm
- Positions: 4
- Functional Group: Stepper Logic Interface 1
- Package or Case Code: CONN-TH_B4B-XH-A-LF-SN
- Role: Stepper Control Connector
- Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/2304140030_JST-B4B-XH-A-LF-SN_C144395.pdf
- Role Details: STEP, DIR, EN, GND direct 3.3 V logic interface
- Part Type: Wire To Board / Wire To Wire Connector
- Product Info Url: https://lcsc.com/product-detail/_JST-Sales-America_B4B-XH-A-LF-SN_JST-Sales-America-B4B-XH-A-LF-SN_C144395.html
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
- 3 [pin 3]
- 4 [pin 4]
### J8 — [B4B-XH-A(LF)(SN)](https://www.flux.ai/lcsc/b4b-xh-alfsn~so1x.md)
- Package or Case Code: CONN-TH_B4B-XH-A-LF-SN
- Positions: 4
- Pitch: 2.5mm
- JLCPCB Part Class: Extended Part
- Rows: 1
- Role: Stepper Control Connector
- LCSC Part Number: C144395
- Connector Type: Wire-to-board Header
- Gender: Male
- Manufacturer Part Number: B4B-XH-A(LF)(SN)
- Manufacturer Name: JST
- Product Info Url: https://lcsc.com/product-detail/_JST-Sales-America_B4B-XH-A-LF-SN_JST-Sales-America-B4B-XH-A-LF-SN_C144395.html
- Part Type: Wire To Board / Wire To Wire Connector
- Role Details: STEP, DIR, EN, GND direct 3.3 V logic interface
- Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/2304140030_JST-B4B-XH-A-LF-SN_C144395.pdf
- Functional Group: Stepper Logic Interface 2
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
- 3 [pin 3]
- 4 [pin 4]
### J9 — [B2P-VH(LF)(SN)](https://www.flux.ai/lcsc/b2p-vhlfsn~n4oo.md)
- Role Details: VIN 40 V nominal and GND, JST VH 3.96 mm 10 A
- Part Type: Wire To Board / Wire To Wire Connector
- Connector Type: Header
- Connector Gender: Male
- Connector Positions: 2
- Operating Temperature: -25 ~ +85℃
- JLCPCB Part Class: Extended Part
- Functional Group: 40V Input Protection
- Connector Pitch: 3.96mm
- Product Info Url: https://lcsc.com/product-detail/_JST_B2P-VH-LF-SN_B2P-VH-LF-SN_C160315.html
- Voltage Rating: 250V
- Manufacturer Name: JST
- Role: Power Input
- Manufacturer Part Number: B2P-VH(LF)(SN)
- LCSC Part Number: C160315
- Package or Case Code: CONN-TH_B2P-VH-LF-SN
- Current Rating: 10A
- Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/2304140030_JST-B2P-VH-LF-SN_C160315.pdf
- Connector Rows: 1
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
### Q1 — [2N7002KT1G](https://www.flux.ai/lcsc/2n7002kt1g~0laz.md)
- Manufacturer Name: onsemi(安森美)
- JLCPCB Part Class: Extended Part
- LCSC Part Number: C116584
- Package or Case Code: SOT-23-3_L2.9-W1.3-P1.90-LS2.4-BR
- Role Details: TFT backlight cathode PWM; assumed display current <=150 mA
- Product Info Url: https://lcsc.com/product-detail/MOSFET_ON-Semicon_2N7002KT1G_ON-Semicon-ON-2N7002KT1G_C116584.html
- Part Type: MOSFETs
- Role: Low-Side Switch
- Functional Group: TFT Backlight
- Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/1811041153_onsemi-2N7002KT1G_C116584.pdf
- Manufacturer Part Number: 2N7002KT1G
**Pins:**
- D [pin 3]
- G [pin 1]
- S [pin 2]
### SW1 — [TS-1088-AR02016](https://www.flux.ai/lcsc/ts-1088-ar02016~e3n1.md)
- JLCPCB Part Class: Extended Part
- Manufacturer Part Number: TS-1088-AR02016
- Role: Reset Switch
- Manufacturer Name: XUNPU(讯普)
- Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/2409302330_XUNPU-TS-1088-AR02016_C720477.pdf
- Part Type: Tactile Switches
- Functional Group: MCU Reset Boot
- Role Details: Pulls EN low to reset ESP32-S3
- Product Info Url: https://lcsc.com/product-detail/Tactile-Switches_XUNPU-TS-1088-AR02016_C720477.html
- LCSC Part Number: C720477
- Package or Case Code: SW-SMD_L3.9-W3.0-P4.45
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
### SW2 — [TS-1088-AR02016](https://www.flux.ai/lcsc/ts-1088-ar02016~e3n1.md)
- Manufacturer Name: XUNPU(讯普)
- Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/2409302330_XUNPU-TS-1088-AR02016_C720477.pdf
- Role: Boot Switch
- JLCPCB Part Class: Extended Part
- Manufacturer Part Number: TS-1088-AR02016
- Role Details: Pulls GPIO0 low for download boot
- LCSC Part Number: C720477
- Package or Case Code: SW-SMD_L3.9-W3.0-P4.45
- Part Type: Tactile Switches
- Product Info Url: https://lcsc.com/product-detail/Tactile-Switches_XUNPU-TS-1088-AR02016_C720477.html
- Functional Group: MCU Reset Boot
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
### TP1 — [Generic Testpoint](https://www.flux.ai/jharwinbarrozo/generic-testpoint~esx.md)
- Part Type: Test Point
- Functional Group: Test Points
- Role Details: 3V3 rail probe point
- Role: Test Point
- Testpoint Size: 0.5
**Pins:**
- P1 [pin 1]
### TP2 — [Generic Testpoint](https://www.flux.ai/jharwinbarrozo/generic-testpoint~esx.md)
- Testpoint Size: 0.5
- Role: Test Point
- Part Type: Test Point
- Role Details: Ground probe point
- Functional Group: Test Points
**Pins:**
- P1 [pin 1]
### TP3 — [Generic Testpoint](https://www.flux.ai/jharwinbarrozo/generic-testpoint~esx.md)
- Testpoint Size: 0.5
- Role Details: UART0 TX probe/program point
- Functional Group: Test Points
- Role: Test Point
- Part Type: Test Point
**Pins:**
- P1 [pin 1]
### TP4 — [Generic Testpoint](https://www.flux.ai/jharwinbarrozo/generic-testpoint~esx.md)
- Part Type: Test Point
- Role Details: UART0 RX probe/program point
- Role: Test Point
- Functional Group: Test Points
- Testpoint Size: 0.5
**Pins:**
- P1 [pin 1]
### TP5 — [Generic Testpoint](https://www.flux.ai/jharwinbarrozo/generic-testpoint~esx.md)
- Functional Group: Test Points
- Role: Test Point
- Part Type: Test Point
- Role Details: ESP32 EN probe point
- Testpoint Size: 0.5
**Pins:**
- P1 [pin 1]
### TP6 — [Generic Testpoint](https://www.flux.ai/jharwinbarrozo/generic-testpoint~esx.md)
- Role Details: ESP32 GPIO0 boot strap probe point
- Role: Test Point
- Testpoint Size: 0.5
- Part Type: Test Point
- Functional Group: Test Points
**Pins:**
- P1 [pin 1]
### U1 — [XL7015E1](https://www.flux.ai/silicon-yard/xl7015e1~i4.md)
- Symbol Style: parametric-v1
- Functional Group: 40V to 5V Buck
- License: https://creativecommons.org/licenses/by/4.0/
- Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/user-uploaded/8b492d971052a465902b0cb0ab7cb1e9d36d144a4112f38764e1c2b4eb40803b.pdf
- Role Details: 40 V nominal to 5 V; design load about 0.58 A peak, near recommended 0.6 A at 48 V
- Package or Case Code: TO-252-5
- Manufacturer Part Number: XL7015E1
- Role: Buck Regulator
- Part Type: Power Management
- Manufacturer Name: XLSEMI
**Pins:**
- EN [pin 5]
- FB [pin 4]
- GND [pin 3]
- GND [pin 6]
- SW [pin 2]
- VIN [pin 1]
### U2 — [AMS1117-3.3V](https://www.flux.ai/lcsc/ams1117-3p3v~0k8y.md)
- JLCPCB Part Class: Extended Part
- Frequency: N/AHz
- Role: Linear Regulator
- Functional Group: 5V to 3V3 LDO
- LCSC Part Number: C2688239
- Logic Function: N/A
- Package or Case Code: SOT-223-4_L6.5-W3.5-P2.30-LS7.0-BR
- Power Consumtion: Depends on the input voltage and the output current
- Datasheet URL: https://xonstorage.z8.web.core.windows.net/pdf/wpmtek_ams111715_apr22_xonlink.pdf
- Operating Voltage: 3.3V
- Manufacturer Part Number: AMS1117-3.3V
- IC Type: Voltage Regulators
- Role Details: 5 V to 3.3 V LDO; thermal design required for ESP32/TFT peak load
- Manufacturer Name: WPMtek(维攀)
- Part Type: Linear Voltage Regulators (LDO)
**Pins:**
- ADJ/GND [pin 1]
- VIN [pin 3]
- VOUT [pin 4]
- VOUT [pin 2]
### U3 — [ESP32-S3-WROOM-1-N16R8](https://www.flux.ai/adrian95/esp32-s3-wroom-1-n16r8~fs1.md)
- Functional Group: MCU Core
- Manufacturer Part Number: ESP32-S3-WROOM-1-N16R8
- Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/user-uploaded/bcd526f54b8de686cec4db67219e36ea7ace50cddb0c92f3dfdac49cf99ffd2e.pdf
- Role: Microcontroller Module
- Role Details: ESP32-S3 N16R8; GPIO35-37 unavailable due Octal PSRAM; strapping pins reserved
- Symbol Style: parametric-v1
- Manufacturer Name: Espressif Systems
- License: https://creativecommons.org/licenses/by/4.0/
- Part Type: Module
**Pins:**
- 3V3 [pin 2]
- EN [pin 3]
- GND_1 [pin 1]
- GND_10 [pin 48]
- GND_11 [pin 49]
- GND_2 [pin 40]
- GND_3 [pin 41]
- GND_4 [pin 42]
- GND_5 [pin 43]
- GND_6 [pin 44]
- GND_7 [pin 45]
- GND_8 [pin 46]
- GND_9 [pin 47]
- IO0 [pin 27]
- IO1 [pin 39]
- IO10 [pin 18]
- IO11 [pin 19]
- IO12 [pin 20]
- IO13 [pin 21]
- IO14 [pin 22]
- IO15 [pin 8]
- IO16 [pin 9]
- IO17 [pin 10]
- IO18 [pin 11]
- IO19 [pin 13]
- IO2 [pin 38]
- IO20 [pin 14]
- IO21 [pin 23]
- IO3 [pin 15]
- IO35 [pin 28]
- IO36 [pin 29]
- IO37 [pin 30]
- IO38 [pin 31]
- IO39 [pin 32]
- IO4 [pin 4]
- IO40 [pin 33]
- IO41 [pin 34]
- IO42 [pin 35]
- IO45 [pin 26]
- IO46 [pin 16]
- IO47 [pin 24]
- IO48 [pin 25]
- IO5 [pin 5]
- IO6 [pin 6]
- IO7 [pin 7]
- IO8 [pin 12]
- IO9 [pin 17]
- RXD0 [pin 36]
- TXD0 [pin 37]
*The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/idolbun/esp32-s3-dual-stepper-controller~e6](https://www.flux.ai/idolbun/esp32-s3-dual-stepper-controller~e6).*
---
*Generated from [https://www.flux.ai/idolbun/esp32-s3-dual-stepper-controller~e6](https://www.flux.ai/idolbun/esp32-s3-dual-stepper-controller~e6)*