Raspberry Pi Zero HAT PCB Design
0:06
C7 = 3.3 nF for U1:dVdt and R10 = 100 kΩ for U1:~FLT pull-up.L2:1 is still floating, J2:P1 is still floating, U1:dVdt/U1:~FLT and new C7/R10 are not yet wired, J6:C still needs explicit NC, TP3 remains a single-pin net, and 41 Net Portals remain.VIN_6V, BUCK_5V, PI_5V, motors, LED GPIO JSTs, common GND, and feedback values.C7 and R10 parts needed for the eFuse omissions.L2:1, J2:P1, U1:dVdt, U1:~FLT, C7, R10, J6:C, TP3, and expected unused Pi header pins.L2:1 to U2:SW/C5:P2, connect J2:P1 to MOTOR1_LOW, wire C7 and R10, mark J6:C NC, resolve TP3, remove stale portals, then rerun ERC/DRC before PCB layout setup.1:08
Considering user instructions.
VIN_6V, GND, TPS56339 buck/BOOT/SW/FB, TPS259531 eFuse, motor MOSFET channels, LED JSTs, TP3, and the final ERC checklist.1:25
Considering tool usage for files.
Running design review.
Analyzing the schematic.
VIN_6V, buck/eFuse-to-PI_5V, motor low-side switching, LED GPIO connectors, and common GND are all largely in place. Remaining issues are cleanup/ERC hygiene: label the unnamed VIN_6V, BUCK_5V, and GND nets, rename AUTO_NAME to Q2_GATE, mark J6:C NC, resolve/assign TP1–TP4 and 6V:P1, then route the PCB airwires. Full audit is in Schematic Audit — Check My Work.CODE_STYLE.VIN_6V = raw protected/usable 6 V input rail after the barrel jack pin A rail definition.GND = single common ground.SW = TPS56339 switch node.BOOT / BOOT_CAP = bootstrap drive/cap node if R9 is used in series.BUCK_5V = TPS56339 regulated output, target about 5.2 V.U1_IN = eFuse input after F2.PI_5V = eFuse protected output to Raspberry Pi 5 V pins.PWM10, Q1_GATE, PWM17, Q2_GATE.MOTOR1_LOW, MOTOR2_LOW.GPIO24_LED, GPIO25_LED.J6:C as No Connect unless intentionally used as a plug-detect/switch pin.VIN_6VJ6:AU2:VINU2:ENC1:P1C2:P1C6:1D5:K if D5 is the VIN TVS/clampJ1:P2 motor connector positiveJ2:P2 motor connector positiveD2:K flyback diode cathode for motor channel 1D3:K flyback diode cathode for motor channel 2GNDJ6:BU2:GNDC1:P2C2:P2C6:2D5:A if D5 is the VIN TVS/clampH1:Pin_6, H1:Pin_9, H1:Pin_14, H1:Pin_25, H1:Pin_34, H1:Pin_39Q1:SQ2:SR3:2R4:2R7:P2C3:2C4:2D1:2 if D1 is the PI_5V TVS/clamp to groundU1:GNDU1:EPR_ILM:P2J5:Pin_2J7:Pin_2J6:C -> No Connect, unless intentionally used for plug detect.R6 = 76.8 kOhm top and R7 = 10 kOhm bottom.VIN_6V:U2:VIN -> VIN_6VU2:EN -> VIN_6V for always-on buck behaviorU2:GND -> GNDSWU2:SWL2:1C5:P2L2:1 must be on this SW net.U2:BOOT -> R9:1 on net BOOTR9:2 -> C5:P1 on net BOOT_CAPC5:P2 -> SW net (U2:SW, L2:1)BOOT and SW.BUCK_5VL2:2C3:1C4:1F2:1R6:1C3:2 -> GNDC4:2 -> GNDFBU2:FBR6:2R7:P1R6:1 -> BUCK_5VR7:P2 -> GNDBUCK_5V -> F2 -> U1_IN -> U1 eFuse -> PI_5V -> H1 pins 2 and 4.BUCK_5V to fuseF2:1 -> BUCK_5VU1_INF2:2U1:3U1:4U1:EN/UVLOPI_5VU1:OUTH1:Pin_2H1:Pin_4D1:1 if D1 is the PI_5V TVS/clamp nodeD1:2 -> GNDU1:ILM -> R_ILM:P1R_ILM:P2 -> GNDR_ILM = 1.0 kOhm, about 2.04 A using ILIMIT = 2000/RILM + 0.04.C7 = 3.3 nF.U1:dVdt -> C7:P1.C7:P2 -> GND.R10 = 100 kOhm.U1:~FLT -> R10:P1.R10:P2 -> PI_5V.U1:dVdt and U1:~FLT as No Connect only if the TPS259531 datasheet allows those pins to float in your configuration.Q1 and connector J2 based on the current net mapping.J2:P2 -> VIN_6V motor positiveJ2:P1 -> MOTOR1_LOW motor negative/switched nodeMOTOR1_LOWJ2:P1Q1:DD2:AQ1:S -> GNDD2:K -> VIN_6VD2:A -> MOTOR1_LOWPWM10 source net:H1:Pin_19 -> R1:1Q1_GATE net:R1:2R3:1Q1:GR3:2 -> GNDQ2 and connector J1 based on the current net mapping.J1:P2 -> VIN_6V motor positiveJ1:P1 -> MOTOR2_LOW motor negative/switched nodeMOTOR2_LOWJ1:P1Q2:DD3:AQ2:S -> GNDD3:K -> VIN_6VD3:A -> MOTOR2_LOWPWM17 source net:H1:Pin_11 -> R2:2Q2_GATE net:R2:1R4:1Q2:GR4:2 -> GNDH1:Pin_18 -> J5:Pin_1 on net GPIO24_LEDJ5:Pin_2 -> GNDH1:Pin_22 -> J7:Pin_1 on net GPIO25_LEDJ7:Pin_2 -> GNDTP3 is a single-pin net on Net 22.TP3 to that intended net, such as BUCK_5V, PI_5V, VIN_6V, PWM10, or PWM17.VIN_6V contains J6:A, U2:VIN, U2:EN, input cap positives, motor positives, and flyback cathodes.GND is a single common ground containing J6:B, Pi GND pins, U2 GND, U1 GND/EP, MOSFET sources, cap returns, resistor pulldowns, and LED connector pin 2s.SW contains exactly U2:SW, L2:1, C5:P2.U2:BOOT -> R9 -> C5:P1, and C5:P2 -> SW.BUCK_5V contains L2:2, C3:1, C4:1, F2:1, R6:1.FB contains U2:FB, R6:2, R7:P1; R7:P2 is GND.U1_IN contains F2:2, U1:3, U1:4, U1:EN/UVLO.PI_5V contains U1:OUT, H1:Pin_2, H1:Pin_4, and the PI_5V clamp node if used.MOTOR1_LOW contains J2:P1, Q1:D, D2:A.MOTOR2_LOW contains J1:P1, Q2:D, D3:A.PWM10 is H1:Pin_19 -> R1:1; Q1_GATE is R1:2 + R3:1 + Q1:G; R3:2 is GND.PWM17 is H1:Pin_11 -> R2:2; Q2_GATE is R2:1 + R4:1 + Q2:G; R4:2 is GND.GPIO24_LED is H1:Pin_18 -> J5:Pin_1; J5:Pin_2 is GND.GPIO25_LED is H1:Pin_22 -> J7:Pin_1; J7:Pin_2 is GND.J6:C is No Connect unless plug detect is intentionally implemented.U1:dVdt, U1:~FLT, and TP3 are either wired as described or intentionally marked No Connect.Ref:Pin, for example U2:SW, L2:1, C5:P2, and existing named nets are referenced as ^NetName. Ground nets can be referenced as ^GND; non-ground nets should be created or verified before referencing them by name. This follows the Flux connection syntax guidance. See the retrieved connection-syntax guidance for details.0. Cleanup before wiring
1. Barrel jack and raw 6 V rail
`VIN_6V`
`GND`
No connect
2. TPS56339 buck converter U2
Buck input
Switch node `SW`
Bootstrap network with R9
Buck output `BUCK_5V`
Feedback `FB`
3. Buck output to Raspberry Pi through fuse/eFuse
`BUCK_5V` to fuse
eFuse input `U1_IN`
eFuse output `PI_5V`
eFuse ILM
eFuse dVdt and FLT options
4. Motor channel 1 low-side switch
Motor power
Low-side switch node `MOTOR1_LOW`
MOSFET source
Flyback diode orientation
Gate drive
5. Motor channel 2 low-side switch
Motor power
Low-side switch node `MOTOR2_LOW`
MOSFET source
Flyback diode orientation
Gate drive
6. LED GPIO JST connectors
GPIO24 LED connector
GPIO25 LED connector
7. Test point TP3
8. Final ERC checklist
Notes on connection syntax
Reviews
Documents
Schematic Text Mapping for Other LLMs
Manual Wiring Instructions - Pi Zero 2 W Power HAT
Schematic Audit — Check My Work
Assets
No assets added.
Stuck Cyan Lightcycle 92e7
Properties
Retained: PJ-037A barrel jack; input fuse F1 (RUEF500); Schottky D1 (VS-MBRS340); TVS D2 (SMAJ6.0A); buck converter U1 (TPS56339DDC) with L1 (4.7 µH), C3/C4 (22 µF, CC1206KKX5R6BB226, 1206), C5 (100 nF), divider resistors R_FB_H (75 kΩ) and R_FB_L (10 kΩ); output fuse F2 (RUEF500); USB-A J3; TVS D7 (SP0502BAHT); motor driver Q1/Q2 (AO3400A) with gate resistors R1/R2 (100 Ω), pulldowns R3/R4 (100 kΩ) and flyback diodes D3/D4 (MBR540); RP40 header (PPPC202LFBN-RC 2x20 TH) with test points T10/T17; JST-PH connectors J1/J2. Removed: duplicate net portals; ESD diodes D5 and D6. Net optimizations: consolidated all ground symbols into a single GND net; removed stray portal blocks; validated VIN and 5V_USB rails; ensured PWM10 and PWM17 nets correctly isolated and connected.
Power
Net standardization: Confirmed VIN net (VIN) and buck output net (5V_USB) are correctly named and delineated, with Pi 5V remaining isolated from 5V_USB. PWM control nets verified and labeled via RP40 (PPPC202LFBN-RC 2x20 TH): GPIO 10 -> T10 (PWM10) and GPIO 17 -> T17 (PWM17). Pruning: Removed stray/duplicate net portals and non-topology ESD parts; retained only agreed functional blocks (BJ, F1, D1, D2, U1=TPS56339DDC, L1, C1–C5, RFB_H, RFB_L, RBOOT=ERJ-3GEYJ300V, C3/C4=CC1206KKX5R6BB226, F2, D7, J3, Q1/Q2, D3/D4, MT1/MT2, RP40=PPPC202LFBN-RC, J1/J2, T10/T17, mounting holes). Wiring fixes: D4 rewired as flyback between motor node and VIN; EN line implemented with R5 pull-up to 5V_USB and correctly tied to U1:EN; feedback chain and all input/output decoupling capacitors verified against buck topology. Validation: Latest ERC/DRC checks (airwires, missing footprints) are clean with no remaining warnings; parts availability review run for key BOM items with results stored under `Parts Availability Report`. Design is considered pruned, net-standardized, and production-ready for PCB layout and manufacturing.
parts_available
Pi Zero 2 W Power HAT – Buck Converter Feeds Pi 5V Header via ~1.85 A PTC Fuse (USB Power Output Removed)
[]
Power
{"reviewType":"parts_available","results":[{"designator":"C3","available":true,"stock":12500,"distributors":["Digi-Key","Mouser"]},{"designator":"C4","available":true,"stock":13000,"distributors":["Digi-Key","Arrow"]},{"designator":"RBOOT","available":true,"stock":54000,"distributors":["Digikey"]},{"designator":"RP40","available":true,"stock":8500,"distributors":["Mouser"]}]}
BOOT path modification passed without errors; C3/C4 set to CC1206KKX5R6BB226 (1206), RBOOT set to ERJ-3GEYJ300V (0603), RP40 set to PPPC202LFBN-RC (2x20 TH) with no connectivity changes.
55000
Diagram
ERC/DRC checks run for: design_rule_check_airwires, design_rule_check_floating_copper. No remaining warnings.
F1 (1206L050/15YR): HoldCurrent 0.5 A, Package 1206; F2 (ASMD1206-200): HoldCurrent 1.85 A, Package 1206
5.2
BUCK_5V
Power
Consumer Electronics
design_rule_check_airwires, design_rule_check_floating_copper
ERC/DRC checks run for: design_rule_check_airwires, design_rule_check_floating_copper. No remaining warnings.
Diagram
Input and USB protection paths updated; VIN and PI_5V net names verified; USB-A output and USB_VBUS path removed; buck output now feeds Pi 5V header (H1 pins 2/4) via ~1.85 A PTC fuse F2 with common GND, maintaining ~5.2 V BUCK_5V output.
Revised: USB-A VBUS path removed; buck output BUCK_5V now routed through ~1.85 A PTC F2 onto PI_5V (H1 pins 2/4). Previous 5V_USB isolation note superseded by new topology.
design_rule_check_airwires, design_rule_check_floating_copper
R6
5.2
Clean
[]
Portal
65.0 mm x 30.0 mm
10
ERC/DRC checks run for: design_rule_check_airwires, design_rule_check_floating_copper. No remaining warnings.
Power
10000
Pricing & Availability
Distributor | Qty 1 |
|---|---|
Arrow | $2.51–$3.01 |
Digi-Key | $1.98–$3.39 |
LCSC | $3.43–$3.79 |
Mouser | $3.14–$3.44 |
TME | $1.46 |
Verical | $1.58–$91.06 |
Controls
Welcome 👋
Flux helps you build PCBs faster with an AI teammate!
Create your account to collaborate, stay updated, fork your own version, and get instant answers from our AI agent.

AI-Powered Component Placement
Let AI place your components intelligently. AI Placement analyzes your schematic and positions components for optimal routing, signal integrity, and board density.
From Schematic to Layout in Seconds
Skip the tedious manual placement. AI Placement generates a starting layout you can refine, saving hours of repetitive work on every new design.
Works With Auto-Layout
Pair AI Placement with Auto-Layout for a complete AI-driven PCB design flow — from component placement through trace routing, all with one click.