ESP32 电池切换控制

针脚映射和元件布局已完成,模块排母按15.24mm中心距放置并保留USB/天线空间。当前唯一阻塞是4层叠层没有成功保存,我会再做一次针对性修复并读回确认,然后停在布局确认点。
4层叠层已成功修复为Top信号、内层地、内层电源、Bottom信号;模块与逻辑区的局部拥塞也已拉开。正在做布局确认点的最终读回。
布局阶段已经完成并通过基础检查;我将停在走线前确认点,等待你确认模块排距与整体布局后再布线。
已按图片完成针脚映射和PCB布局:
  • PCB:180×140mm、4层。
  • ESP32排母:2×1×9、2.54mm针距、15.24mm排距。
  • USB朝左侧板边,天线朝右并保留无铜区域。
  • GPIO、I²C、移位寄存器和采样选择信号已固定。
  • 继电器、32A端子、模拟采样及控制区已分区布局。
  • 尚未走线。
**待确认:**15.24mm排距依据兼容模块常见封装推定,首板前请用卡尺测量你手中模块两排针的中心距离。确认排距及当前布局后,我再开始15A功率铜皮和控制信号走线。
确认布局并走线
先检查DRC
优化板子尺寸
生成装配预览
U3
U5
U7
C13
Capacitance
470uF
U1
C1
Capacitance
100nF
C7
Capacitance
100nF
C2
Capacitance
100nF
C6
Capacitance
100nF
C12
Capacitance
100nF
C16
Capacitance
10uF
C19
Capacitance
1uF
C18
Capacitance
1uF
C10
Capacitance
100nF
C11
Capacitance
100nF
C3
Capacitance
100nF
C4
Capacitance
100nF
C8
Capacitance
100nF
C5
Capacitance
100nF
C9
Capacitance
100nF
R17
Resistance
100kΩ
F1
J13
R19
Resistance
12kΩ
R1
Resistance
100kΩ
R15
Resistance
100kΩ
R21
Resistance
12kΩ
R14
Resistance
100kΩ
R20
Resistance
22kΩ
R13
Resistance
100kΩ
J12
R16
Resistance
100kΩ
R8
Resistance
19.1kΩ
R25
Resistance
4.7kΩ
R22
Resistance
22kΩ
R18
Resistance
100kΩ
R24
Resistance
10kΩ
R9
Resistance
19.1kΩ
R4
Resistance
100kΩ
R6
Resistance
100kΩ
J8
R2
Resistance
100kΩ
R7
Resistance
19.1kΩ
R3
Resistance
100kΩ
R5
Resistance
100kΩ
R26
Resistance
4.7kΩ
R11
Resistance
19.1kΩ
R12
Resistance
19.1kΩ
R10
Resistance
19.1kΩ
R23
Resistance
10kΩ
J4
K1
D7
J3
K2
J2
K5
J7
J1
J5
J6
K3
K4
K6
U4
U2
J9
J10

Refine this doc
Ask about this doc
Power Budget
Rail loads

Table


RailLoadDesign current
External 5VESP32-S3 Super Mini / WiFi transient500mA provisional(精确模块最大值待实物验证)
External 5VHOB 50-P26mA max(LEM datasheet)
External 5V → 3.3V LDOADS1115 + CD74HC4051 + CD74HC595<30mA design allowance
External 12V coil railOne CB1aHF-P-12V coil117mA nominal, 1.4W(103Ω coil)
External 12V coil railFault case, all six commanded702mA nominal
External 5V control supply
Provisional simultaneous input current is approximately 0.500 + 0.026 + 0.030 = 0.556A. Allowing ESP32 radio transients, module variation, protection drop and expansion margin, use a regulated 5V supply rated at least 1A. This rail is independent of all six battery positives and remains alive during relay break-before-make dead time.
Input path: J8 pin 1 → F1 → D7 → 5V; J8 pin 2 is common GND.
  • F1: Littelfuse 0805L110WR PPTC, 1.1A hold, selected for approximately 1A-class control input protection.
  • D7: SS54 5A/40V Schottky in series for reverse-polarity protection and current/thermal margin.
  • Check the actual protected-rail voltage under worst-case current; Schottky forward drop means a nominal 5V adapter does not produce exactly 5.0V downstream.
  • C13/C16 provide bulk and local rail decoupling; C18 remains the TLV75533 input capacitor.
3.3V logic LDO
TLV75533PDBVR is rated 500mA. Expected logic load <30mA; dissipation at 30mA is (5-3.3)×0.03=0.051W. The fitted 1uF input/output capacitors remain; effective capacitance must remain ≥0.47uF.
External 12V relay-coil supply
  • J12: external regulated 12V DC input, recommended continuous rating at least 1A.
  • J13: series maintained normally-closed KILL switch loop, switch/cabling rated ≥1A DC at 12V.
  • Open/absent J13 removes power from all coils and ULN clamp COM. Normal firmware one-hot operation draws one coil ≈117mA; ≥1A supply rating covers the six-coil fault case (~702mA) with margin.
Common return requirement
External 5V negative, external 12V negative and all battery negatives must join the board GND. Do not connect 12V to the ESP32 module or 5V logic rail.
Removed conversion loads
There is no onboard control-power buck and no battery OR-ing source. D1–D6, CTRL_RAW, U6/L1 and buck-only input/bootstrap components are removed; therefore no buck efficiency or battery-derived control-current calculation applies.
Main path
15A continuous/max. Relay contacts and HOB primary path exceed this target; Phoenix 1868076 terminals are nominally 32A. Each battery requires an external replaceable 20A fuse near its positive terminal. Final PCB copper/thermal validation remains a later stage.
  • Rail loads

  • External 5V control supply

  • 3.3V logic LDO

  • External 12V relay-coil supply

  • Common return requirement

  • Removed conversion loads

  • Main path

ESP32 六路电池切换器

ESP32 六路电池切换器 thumbnail
6组共负极12V锂电池的15A自动切换控制器,单一BAT_BUS连接太阳能控制器并记录母线电压、电流、功率、Ah与Wh;采用硬件默认断开和break-before-make互锁。

Properties

Properties describe core aspects of the project.

Pricing & Availability

Distributor

Qty 1

Arrow

$39.15–$51.71

Digi-Key

$4.89

HQonline

$0.69–$2.33

LCSC

$26.55–$28.34

Mouser

$34.12

TME

$2.75

Verical

$42.40–$59.53

Controls