Final Hardware Design Review Before PCB Routing
Project: DIY Grill Controller AI
Date: 2026-06-23
Scope Reviewed
System includes:
- ESP32 DevKit V1 / ESP32-DevKitC symbol
- 12V LiFePO4 battery input
- Fuse protection
- LM2596 buck regulator to 5V
- ESP32-derived 3V3 rail
- Five MAX31855 thermocouple interfaces and five 2-pin thermocouple connectors
- IRLZ44N low-side blower fan driver with 1N5819 flyback diode
- 12V blower fan connector
- STS3215 half-duplex TTL smart-servo connector/interface
- Battery voltage monitor using 100kΩ / 22kΩ divider and 0.1µF ADC filter capacitor
- Test points for BAT_12V, 5V, 3V3, GND, BATTERY_SENSE, SERVO_DATA
Design was reviewed read-only. No schematic or PCB changes were made.
Current Review Snapshot
- Schematic summary: 190 schematic objects, 29 nets.
- PCB layout: 42 placed PCB components, 160 mm × 100 mm board, 4 copper layers.
- Placement: functional-block placement is complete, all top-side, with connectors at requested edges.
- Active ERC found:
Power input not connected: U1:VP only. This appears to be the previously documented ESP32 symbol warning and is unrelated to the actual battery monitor, which uses GPIO34/IO34.
- Airwires are expected because final routing has not started.
Prioritized Recommendations
Critical — Address Before Routing / Fabrication
1. Add reverse-polarity protection for the 12V battery input
The current power path has fuse protection, but no explicit reverse-polarity protection was found. A reversed LiFePO4 battery connection could damage the LM2596, ESP32 dev board, servo, fan driver, and connected loads before the fuse opens.
Recommended options:
- Best: P-channel MOSFET ideal-diode style reverse-polarity protection on the battery input.
- Simpler but lossy: series Schottky diode rated for the full fan + servo current.
- Add polarity markings at J1 regardless of topology.
2. Confirm fuse rating against real load current
The project uses an SGT520-8A-L fuse. Confirm this rating matches:
- Blower fan startup/stall current
- STS3215 servo stall current
- LM2596/ESP32/MAX31855 load current
- Expected wiring and connector current rating
If the fuse is too high, wiring or PCB traces may overheat before the fuse trips. If too low, fan/servo startup may nuisance-trip it.
3. Define high-current routing rules before autorouting
Before routing, create separate wider trace rules or manual route constraints for:
BAT_12V
FAN_GND
- Servo
BAT_12V return path through GND
- Battery input path from J1 → F1 → distribution
Suggested starting points, to be refined after actual fan/servo current is known:
- Low-current signal/SPI: 0.15–0.25 mm
- 3V3 / logic power: 0.25–0.4 mm
- 5V regulator path: 0.5–1.0 mm depending on load
- Fan/servo/BAT_12V current paths: use very wide traces or polygons, typically ≥1.5–2.5 mm for amp-level currents on 1 oz copper; verify with a PCB trace-width calculator using actual current and temperature-rise target.
4. Keep high-current return currents away from thermocouple front ends
The thermocouple inputs are low-level analog signals and are vulnerable to fan PWM and servo current noise. During routing:
- Do not route fan/servo current paths under or beside thermocouple inputs.
- Keep thermocouple connector-to-MAX31855 traces short, paired, and symmetric.
- Route thermocouple pairs away from Q1, J3 fan connector, J2 servo connector, and the LM2596 switching area.
- Maintain an uninterrupted ground reference, but avoid forcing high-current returns through the thermocouple region.
5. Verify the LM2596 implementation is module-compatible vs IC-compatible
The schematic uses an LM2596T-ADJG part. If this represents a complete buck module, ensure the PCB footprint and required external components match the actual module. If this is the bare LM2596 IC, the design needs the full buck power stage: inductor, catch diode, feedback network, input/output capacitors, and thermal layout per datasheet.
This is important before routing because the layout strategy is different for a module versus a regulator IC.
Recommended — Improve Reliability and Serviceability
1. Add transient and input protection on the battery rail
For field wiring and motor/servo loads, add or plan for:
- TVS diode from
BAT_12V to GND near J1 after the fuse/reverse-protection path.
- Optional bulk capacitance near fan/servo connectors for load transients.
- Optional input electrolytic near J1/F1/LM2596.
2. Strengthen servo power integrity
STS3215 smart servos can draw high pulse currents, especially at startup or stall. Recommended:
- Add local bulk capacitance near J2, e.g. 470µF–1000µF rated ≥25V, low ESR if possible.
- Route servo BAT_12V and GND as a short, wide path.
- Keep servo return current away from the ESP32/MAX31855 region.
- Consider a dedicated servo power branch from fused
BAT_12V rather than sharing narrow paths with logic power.
3. Review STS3215 single-wire UART robustness
The two 1kΩ resistors joining TX2/RX2 to SERVO_DATA are appropriate for a simple half-duplex TTL bus and help prevent direct TX/RX contention. For robustness:
- Keep
SERVO_DATA short and away from fan PWM/drain traces.
- Consider an optional weak pull-up or pull-down only if required by the servo protocol/library; do not add unless confirmed.
- Add ESD protection near J2 if the servo cable exits the enclosure or is frequently connected/disconnected.
4. Improve fan-driver protection and thermal margin
IRLZ44N is logic-level, but verify RDS(on) at VGS = 3.3V for the actual current. Some MOSFETs marketed as logic-level are specified best at 4V–5V gate drive.
Recommended:
- Check blower running and stall current.
- Estimate Q1 dissipation: P ≈ I² × RDS(on) at VGS=3.3V.
- Provide copper area around Q1 drain/source for heat spreading.
- Keep the fan loop J3 → fan → Q1 → GND short and wide.
- Place D4 physically across the fan connector terminals/current loop, cathode to
BAT_12V, anode to FAN_GND.
- Confirm 1N5819 current rating is adequate for the fan inductive energy; use a higher-current Schottky/TVS if the blower is large.
5. Add or verify decoupling at each active IC/module
Existing capacitors include local 100nF caps and bulk capacitors. For routing:
- Place each MAX31855 100nF cap as close as possible to its VCC/GND pins.
- Keep C12 next to U1 GPIO34 / divider midpoint.
- Place LM2596 input/output bulk and ceramic capacitors close to its power pins if using the IC version.
- Place additional bulk capacitance near fan/servo loads if current is high.
6. Grounding and stackup recommendation
The board is 4-layer. Recommended layer intent:
- Top: components and short local signal/power traces
- Inner layer 1: solid GND plane
- Inner layer 2: power distribution / secondary signals
- Bottom: signals and low-current routing
Use a continuous GND plane and avoid splitting ground under SPI, MAX31855, and ESP32. Use vias liberally for ground returns around decoupling capacitors and high-current components.
7. Thermocouple routing and noise recommendations
Thermocouple signals are low amplitude and sensitive to gradients/noise.
Recommended:
- Route T+ and T− as close paired traces from connector to MAX31855.
- Keep the pairs away from fan PWM, Q1 drain, servo power, LM2596 switch node, and battery input transients.
- Avoid copper pours or high-current traces underneath thermocouple connectors and first-stage traces if practical.
- Keep all five channels geometrically similar where possible.
- If cable noise is expected, consider optional input RC filtering or ESD protection compatible with thermocouple measurement accuracy.
- Use correct K-type connector material in the real product if accuracy across connector temperature gradients matters.
8. Connector spacing and service labels
Placement puts thermocouple connectors on the top edge and power/fan/servo on side edges. Before routing/fabrication:
- Verify connector pitch and physical cable clearance.
- Ensure screw-terminal access direction is not blocked by nearby components.
- Add silkscreen labels for polarity and signal names:
BAT+, BAT−, FAN+, FAN−, SERVO_12V, GND, DATA, and thermocouple +/−.
- Keep test points reachable with probes after enclosure installation.
9. Add mounting holes before final layout if this will be installed in a grill controller enclosure
No mounting holes were listed in the reviewed component set. Add 3–4 mounting holes with keepouts before final routing. Place them away from edge connectors and high-current copper where possible.
10. Confirm connector and trace current ratings
KF301-style terminals and thermocouple headers may have varying current and voltage ratings by supplier. Confirm:
- J1 battery current rating ≥ fuse rating and expected load current.
- J3 fan connector current rating ≥ fan stall/start current.
- J2 servo connector current rating ≥ servo stall current.
- PCB trace widths match both current and acceptable temperature rise.
Optional — Future Expansion / Nice-to-Have Improvements
1. WiFi antenna clearance
The ESP32 DevKit/module antenna should face a board edge with copper and component clearance. Recommended:
- Keep the ESP32 antenna end at or overhanging a board edge if the footprint orientation allows.
- Avoid copper pours, ground planes, batteries, metal enclosures, and tall connectors near the antenna keepout.
- Do not route high-current fan/servo traces near the antenna region.
2. Expansion headers for future sensors
If additional probes or sensors may be added later, consider headers for:
- I2C: 3V3, GND, SDA, SCL
- Spare ADC input
- Spare GPIO/PWM
- 5V and 3V3 accessory power with current limits documented
3. Additional servo support
STS servos are daisy-chain capable. For future expansion:
- Ensure J2 pinout and current rating support downstream servos.
- Consider a second parallel servo connector on
BAT_12V, GND, SERVO_DATA.
- Add extra bulk capacitance if more servos are expected.
4. LCD/OLED display support
For a future front-panel display:
- Reserve I2C pins or document unused GPIOs.
- Add a 4-pin display header:
3V3, GND, SDA, SCL.
- Consider mounting/connector orientation relative to the enclosure front panel.
5. ESD protection for external connectors
Optional but helpful for field-service robustness:
- ESD diodes on thermocouple inputs,
SERVO_DATA, and any future display/user I/O connectors.
- TVS on
BAT_12V as noted above.
6. Manufacturing documentation
Before fabrication:
- Confirm all footprints match real connectors/modules.
- Generate BOM with exact MPNs for connectors, fuse, MOSFET, diode, regulator/module, capacitors, and resistors.
- Add assembly notes for thermocouple polarity and battery polarity.
- Add bring-up checklist updates for battery input, regulator output, ESP32 boot, MAX31855 SPI reads, fan PWM, servo bus, and ADC calibration.
Routing Readiness Summary
The design is ready to proceed to routing after the critical items are resolved or consciously accepted. The most important pre-routing decisions are reverse-polarity protection, fuse/current sizing, LM2596 module-vs-IC confirmation, and high-current trace-width rules. Thermocouple routing should be treated as a sensitive analog section and kept physically separated from PWM fan, servo, and switching-regulator current paths.