# ESP32 Stepper Level Shifter ## Description 4-axis ESP32 DevKit v1 to DM542T stepper driver level shifter board using two SN74AHCT125N DIP buffer ICs, 5V screw-terminal power input, driver signal terminals, and 100 mm x 60 mm PCB. ## Project Details - **Owner:** jgustav - **Created:** 6/16/2026 - **Last Updated:** 6/16/2026 - **Visibility:** Public ## Key Components ### H1 — [Mounting Hole 3.2mm DIN965 Pad](https://www.flux.ai/adrian95/mounting-hole-32mm-din965-pad~aio.md) - Part Type: Connector - Role Details: 3.2mm mounting hole for M3 screw near board corner **Pins:** - Pin_1 ### H2 — [Mounting Hole 3.2mm DIN965 Pad](https://www.flux.ai/adrian95/mounting-hole-32mm-din965-pad~aio.md) - Role Details: 3.2mm mounting hole for M3 screw near board corner - Part Type: Connector **Pins:** - Pin_1 ### H3 — [Mounting Hole 3.2mm DIN965 Pad](https://www.flux.ai/adrian95/mounting-hole-32mm-din965-pad~aio.md) - Part Type: Connector - Role Details: 3.2mm mounting hole for M3 screw near board corner **Pins:** - Pin_1 ### H4 — [Mounting Hole 3.2mm DIN965 Pad](https://www.flux.ai/adrian95/mounting-hole-32mm-din965-pad~aio.md) - Part Type: Connector - Role Details: 3.2mm mounting hole for M3 screw near board corner **Pins:** - Pin_1 ### IC1 — [SN74AHCT125N](https://www.flux.ai/lcsc/sn74ahct125n~i0ta.md) - Role: Level Shifter - Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/1912111437_Texas-Instruments-SN74AHCT125N_C354152.pdf - Manufacturer Name: TI(德州仪器) - Package or Case Code: PDIP-14_L19.3-W6.4-P2.54-LS7.6-BL - Product Info Url: https://lcsc.com/product-detail/Others_Texas-Instruments-TI-SN74AHCT125N_C354152.html - LCSC Part Number: C354152 - JLCPCB Part Class: Extended Part - Manufacturer Part Number: SN74AHCT125N - Role Details: SN74AHCT125N PDIP buffer channels for axis signals 1-4 - Part Type: Buffers / Drivers **Pins:** - #1OE [pin 1] - #2OE [pin 4] - #3OE [pin 10] - #4OE [pin 13] - 1A [pin 2] - 1Y [pin 3] - 2A [pin 5] - 2Y [pin 6] - 3A [pin 9] - 3Y [pin 8] - 4A [pin 12] - 4Y [pin 11] - GND [pin 7] - VCC [pin 14] ### IC2 — [SN74AHCT125N](https://www.flux.ai/lcsc/sn74ahct125n~i0ta.md) - Package or Case Code: PDIP-14_L19.3-W6.4-P2.54-LS7.6-BL - Product Info Url: https://lcsc.com/product-detail/Others_Texas-Instruments-TI-SN74AHCT125N_C354152.html - Manufacturer Name: TI(德州仪器) - Role Details: SN74AHCT125N PDIP buffer channels for axis signals 5-8 - Datasheet URL: https://storage.googleapis.com/graviton-electric-symbols/document_assets/lcsc/1912111437_Texas-Instruments-SN74AHCT125N_C354152.pdf - Role: Level Shifter - Part Type: Buffers / Drivers - Manufacturer Part Number: SN74AHCT125N - LCSC Part Number: C354152 - JLCPCB Part Class: Extended Part **Pins:** - #1OE [pin 1] - #2OE [pin 4] - #3OE [pin 10] - #4OE [pin 13] - 1A [pin 2] - 1Y [pin 3] - 2A [pin 5] - 2Y [pin 6] - 3A [pin 9] - 3Y [pin 8] - 4A [pin 12] - 4Y [pin 11] - GND [pin 7] - VCC [pin 14] ### J1 — [X5521FV-2x15-C85D30-1150](https://www.flux.ai/lcsc/x5521fv-2x15-c85d30-1150~iuge.md) - Manufacturer Part Number: X5521FV-2x15-C85D30-1150 - Manufacturer Name: XKB Connectivity(中国星坤) - Symbol Style: parametric-v1 - Datasheet URL: https://www.lcsc.com/datasheet/C2916939.pdf?spm=wm.sxq.inf.ggs&lcsc_vid=FlVZVVIFFgBeVAVTT1BXUgFfEwJeVlBfEwVcAlMHRAQxVlNRTlhfVlZVRFVWXjsOAxUeFF5JWBYZEEoKFBINSQcJGk4dAgUUFAk%3D - JLCPCB Part Class: Extended Part - Role Details: ESP32 DevKit v1 30-pin socket; assumed common 30-pin pinout: pin 15 VIN, pins 13/21 GND, GPIOs 25/26/27/32/33/18/19/23 on pins 8/9/10/6/7/23/22/16 - Part Type: Female Headers - Role: MCU Socket - Package or Case Code: HDR-TH_30P-P2.54-V-F-R2-C15-S2.54-3 - LCSC Part Number: C2916939 **Pins:** - 1 [pin 1] - 10 [pin 10] - 11 [pin 11] - 12 [pin 12] - 13 [pin 13] - 14 [pin 14] - 15 [pin 15] - 16 [pin 16] - 17 [pin 17] - 18 [pin 18] - 19 [pin 19] - 2 [pin 2] - 20 [pin 20] - 21 [pin 21] - 22 [pin 22] - 23 [pin 23] - 24 [pin 24] - 25 [pin 25] - 26 [pin 26] - 27 [pin 27] - 28 [pin 28] - 29 [pin 29] - 3 [pin 3] - 30 [pin 30] - 4 [pin 4] - 5 [pin 5] - 6 [pin 6] - 7 [pin 7] - 8 [pin 8] - 9 [pin 9] ### J11 — [1726202](https://www.flux.ai/adrian95/1726202.md) - Datasheet URL: https://www.phoenixcontact.com/en-us/products/printed-circuit-board-terminal-mkkdsn-15-8-508-1726202?type=pdf - Compliance: Green - Manufacturer Name: Phoenix Contact - Mount: Screw - Role Details: Eight GND return positions for DM542T driver inputs - Symbol Style: parametric-v1 - Part Type: Connector - Manufacturer Part Number: 1726202 - Role: Ground Return **Pins:** - 1 [pin 1] - 10 [pin 10] - 11 [pin 11] - 12 [pin 12] - 13 [pin 13] - 14 [pin 14] - 15 [pin 15] - 16 [pin 16] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] - 5 [pin 5] - 6 [pin 6] - 7 [pin 7] - 8 [pin 8] - 9 [pin 9] ### J2 — [DB127V-5.08-2P-GN-S](https://www.flux.ai/cherepanyadima/db127v-5p08-2p-gn-s~ic.md) - Datasheet URL: https://www.lcsc.com/datasheet/C3018698.pdf?spm=wm.sxq.inf.ggs&lcsc_vid=ElhbUlFSRlUNBF0CQlQIBQBUFFILBFEAQVVWUgZWE1gxVlNRQVVdVFRSQ1daVDsOAxUeFF5JWBYZEEoBGA4JCwFIFA4DSA%3D%3D - Manufacturer Name: DORABO - Role: Power Input - Part Type: Connector - Manufacturer Part Number: DB127V-5.08-2P-GN-S - Role Details: 5V input terminal feeding ESP32 VIN and SN74AHCT125 VCC pins **Pins:** - 1 [pin 1] - 2 [pin 2] ### J3 — [DB127V-5.08-2P-GN-S](https://www.flux.ai/cherepanyadima/db127v-5p08-2p-gn-s~ic.md) - Manufacturer Part Number: DB127V-5.08-2P-GN-S - Role Details: Driver A terminal: pin 1 PUL_A+, pin 2 DIR_A+ - Part Type: Connector - Manufacturer Name: DORABO - Role: Signal Output - Datasheet URL: https://www.lcsc.com/datasheet/C3018698.pdf?spm=wm.sxq.inf.ggs&lcsc_vid=ElhbUlFSRlUNBF0CQlQIBQBUFFILBFEAQVVWUgZWE1gxVlNRQVVdVFRSQ1daVDsOAxUeFF5JWBYZEEoBGA4JCwFIFA4DSA%3D%3D **Pins:** - 1 [pin 1] - 2 [pin 2] ### J4 — [DB127V-5.08-2P-GN-S](https://www.flux.ai/cherepanyadima/db127v-5p08-2p-gn-s~ic.md) - Manufacturer Part Number: DB127V-5.08-2P-GN-S - Part Type: Connector - Role: Signal Output - Manufacturer Name: DORABO - Role Details: Driver B terminal: pin 1 PUL_B+, pin 2 DIR_B+ - Datasheet URL: https://www.lcsc.com/datasheet/C3018698.pdf?spm=wm.sxq.inf.ggs&lcsc_vid=ElhbUlFSRlUNBF0CQlQIBQBUFFILBFEAQVVWUgZWE1gxVlNRQVVdVFRSQ1daVDsOAxUeFF5JWBYZEEoBGA4JCwFIFA4DSA%3D%3D **Pins:** - 1 [pin 1] - 2 [pin 2] ### J5 — [DB127V-5.08-2P-GN-S](https://www.flux.ai/cherepanyadima/db127v-5p08-2p-gn-s~ic.md) - Part Type: Connector - Manufacturer Part Number: DB127V-5.08-2P-GN-S - Role Details: Driver C terminal: pin 1 PUL_C+, pin 2 DIR_C+ - Datasheet URL: https://www.lcsc.com/datasheet/C3018698.pdf?spm=wm.sxq.inf.ggs&lcsc_vid=ElhbUlFSRlUNBF0CQlQIBQBUFFILBFEAQVVWUgZWE1gxVlNRQVVdVFRSQ1daVDsOAxUeFF5JWBYZEEoBGA4JCwFIFA4DSA%3D%3D - Role: Signal Output - Manufacturer Name: DORABO **Pins:** - 1 [pin 1] - 2 [pin 2] ### J6 — [DB127V-5.08-2P-GN-S](https://www.flux.ai/cherepanyadima/db127v-5p08-2p-gn-s~ic.md) - Manufacturer Part Number: DB127V-5.08-2P-GN-S - Part Type: Connector - Role: Signal Output - Role Details: Driver D terminal: pin 1 PUL_D+, pin 2 DIR_D+ - Manufacturer Name: DORABO - Datasheet URL: https://www.lcsc.com/datasheet/C3018698.pdf?spm=wm.sxq.inf.ggs&lcsc_vid=ElhbUlFSRlUNBF0CQlQIBQBUFFILBFEAQVVWUgZWE1gxVlNRQVVdVFRSQ1daVDsOAxUeFF5JWBYZEEoBGA4JCwFIFA4DSA%3D%3D **Pins:** - 1 [pin 1] - 2 [pin 2] *The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/jgustav/esp32-stepper-level-shifter~wx](https://www.flux.ai/jgustav/esp32-stepper-level-shifter~wx).* --- *Generated from [https://www.flux.ai/jgustav/esp32-stepper-level-shifter~wx](https://www.flux.ai/jgustav/esp32-stepper-level-shifter~wx)*