BatteryPack

zumizumi0625·PCB_Auto_test·hardware/example/batteryPack.kicad_pcb

BatteryPack PCB layout, top view — open source STM32 board by zumizumi0625

About the BatteryPack PCB

BatteryPack is an open source STM32 PCB design by zumizumi0625, published on GitHub. It is a 2-layer board measuring 40 × 78 mm, with 46 components from 33 distinct parts.

Its main chip is the STM32F030F4Px, from the STM32 family. Other key parts include the TP5100-Module and XC6206P332MR. By type, the board carries 17 connectors, 16 resistors, 6 diodes, 4 ICs, 2 capacitors and 1 battery holder.

It belongs with the power & battery designs in this gallery.

From the project

PCB設計の自動テスト CI/CD パイプライン(KiBot + ngspice + GitHub Actions)

KiCad で設計した基板を GitHub に push するだけで、回路のチェックとシミュレーションが自動で走る CI/CD パイプライン。

1. DRC(基板ルールチェック) — 配線間隔、ビア径、シルク被りなどの違反を検出 2. ERC(電気ルールチェック) — 未接続ピン、電源ショート、ネット名重複を検出 3. SPICE シミュレーション — 回路の電気的動作を自動検証 4. Discord 通知 — テスト結果をチャンネルに自動投稿 5. 製造ファイル生成 — Gerber、BOM、PDF、3D レンダー

テストが失敗したら波形画像も自動生成されて、Artifacts からダウンロードできる。

.github/workflows/pcb-ci.yml の冒頭で KiCad バージョンを指定する。2 箇所を揃えること:

Main components on the BatteryPack

BatteryPack bill of materials (BOM)

46 components, 33 distinct parts.

QtyPartRefs
2
TP5100-Module
U1, U4
1
STM32F030F4Px
U2
1
XC6206P332MR
U3
1
Mirco USB
J1
1
B1+
J2
1
B1-
J3
1
B2-
J4
1
B2+
J5
1
CableConnector
J6
1
SWD
J7
1
UART
J8
1
B2+
J9
1
B1+
J10
1
B1-
J11
1
B2-
J12
1
B1+
J13
1
B1-
J14
1
B2+
J15
1
B2-
J16
1
USB-C
P1
Show 13 more
QtyPartRefs
1
BK-18650-PC4
BT1
1
LED_5V
D1
1
LED_9V
D2
1
LED_12V
D3
1
LED_40%
D4
1
LED_20%
D5
1
LED_0%
D6
2
470n
C1, C2
5
10k
R1, R3, R9, R10, R12
2
2k4
R2, R4
6
1k
R5, R6, R7, R14, R15, R16
1
62k
R8
2
20k
R11, R13

BatteryPack design files

The KiCad project lives in the zumizumi0625/PCB_Auto_test repository on GitHub; these links point at the commit this page was built from.

BatteryPack: common questions

What microcontroller does the BatteryPack use?

The BatteryPack is built around the STM32F030F4Px, from the STM32 family.

How big is the BatteryPack PCB?

The BatteryPack measures 40 × 78 mm, has 2 copper layers and is 1.6 mm thick.

How many components are on the BatteryPack?

46 components, from 33 distinct parts. The full bill of materials is listed on this page.

Where can I download the BatteryPack design files?

From the zumizumi0625/PCB_Auto_test repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.

Can I use the BatteryPack design in my own project?

The repository has no license, so all rights stay with zumizumi0625. Use it as a reference, and ask the author before reusing the design.

Can I test firmware for the BatteryPack without the hardware?

Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.

More boards in PCB_Auto_test

Similar boards