

Before polish
BATMAN hardware, firmware, and mechanical design
- Size
- 63 × 40 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 16
- Nets
- 9
- Pads
- 37
- Tracks, vias
- 51, 0
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 9 Sep 2026
- Updated
- 9 Sep 2026
Overview
Before polish is an open-source printed circuit board by sql-monk, from the sql-monk/batman repository on GitHub. It is a 2-layer board of 63 × 40 mm with 16 parts on 9 nets, routed with 51 tracks and 0 vias.
Its parts include 4 connectors, 4 crystals and 1 capacitor.
README
README.mdbatman — менеджер двох акумуляторів (LiFePO₄ 8S + свинець 24 В)
Пристрій, що заряджає два акумулятори по черзі від одного DPS5015, віддає їх на спільне навантаження через ідеальні діоди з керованими ключами, і рахує, скільки кожен акумулятор прийняв і віддав.
Основа — наявні модулі з docs/components.md. Чотири однобічні плати ЛУТ: A з ESP і двома портами I²C для ADS, B з аналоговими входами та фільтрами без I²C, C з розподілом 3,3 В, D з розподілом 5 В. Два окремі ADS1115 одержують аналог із B, живлення/I²C із A. Потрібен ще один ADS1115; C/D розподіляють готове живлення, а не замінюють стабілізатори.
| Тека | Вміст |
|---|---|
| docs/concept.md | задум, архітектура, вибір модулів, вимірювання й підрахунок А·год, припущення, відкриті питання |
| docs/plan.md | план робіт: документація, схема й плати, корпус, прошивка, сервіс; порядок і критерії готовності |
| docs/components.md | кожен модуль і базовий компонент: характеристики, розпіновка, розміри з позначкою джерела, кількість, публічні посилання |
| docs/README.md | зміст документації, правило «одне число — одне місце», позначення |
| docs/connections.md | вузли, кола з номерами, GPIO ESP32, роз'єми A–D, шкала АЦП |
| docs/dps5015-modbus.md | порт, регістри, послідовності команд, помилки DPS5015 |
| docs/measurement.md | вибірка, інтегрування, автонуль, SoC, NVS |
| docs/protocol.md | пристрій ↔ сервіс: пошук, JSON, REST |
| docs/firmware.md | вимоги до прошивки: старт, стейт-машина, параметри |
| docs/service.md | вимоги до сервісу: БД, агрегати, сторінки, розгортання |
| docs/enclosure/requirements.md | що вмістити, зони, зазори, тепло, друк, перелік STL |
| docs/tests.md | бланки перевірок і результати |
| hardware/README.md | єдиний проєкт KiCad 10, сім сторінок схеми, розведені A–D, PDF ЛУТ, свердління, BOM, кабелі та умови допуску прототипу |
firmware/ | код ESP32: вимірювання, підрахунок А·год, Modbus до DPS5015, ключі, Wi-Fi-телеметрія |
service/ | кросплатформений сервіс (Windows → Raspberry Pi 4): пошук пристрою, збір, зберігання, агрегати, графіки |
mechanical/ | модель корпусу, STL, звіти придатності до друку |
Parts
16| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | M3_NPTH_3.4 | Batman:Mount_M3 | HD1, HD2, HD3, HD4 |
| 1 | 100n_16V | Batman:LUT_C13 | C13 |
| 1 | 1N5819 | Batman:LUT_VD2 | VD2 |
| 1 | 1N5819 | Batman:LUT_VD1 | VD1 |
| 1 | 5V_GND | Batman:LUT_X3 | X3 |
| 1 | B1_B2_GND | Batman:LUT_X1 | X1 |
| 1 | BAT_SENSE_TO_B | Batman:LUT_X6 | X6 |
| 1 | COPPER_STAR_AT_X3 | Batman:LUT_NT1 | NT1 |
| 1 | LINK_+5V_GND | Batman:LUT_J31 | J31 |
| 1 | LINK_+5V_GND | Batman:LUT_J27 | J27 |
| 1 | LINK_RELAY_IN1_RELAY_IN2_GND | Batman:LUT_J29 | J29 |
| 1 | RELAY | Batman:LUT_J8 | J8 |
| 1 | VIN_DC_GND | Batman:LUT_X2 | X2 |
Questions
How big is the Before polish PCB?
It measures 63 × 40 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Before polish use?
16 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Before polish KiCad files?
From the sql-monk/batman repository on GitHub, at the commit this page was made from: the board is hardware/batman/reports/gpio33/staged/reports/D/before-polish.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Before polish design in my own project?
Its repository states no licence, so its author keeps all rights: ask sql-monk before reusing the design.
More from sql-monk/batman
6- 2 layers181 × 135 mm

- 2 layers100 × 80 mm

- 2 layers78 × 78 mm

- 2 layers86 × 68 mm

- 2 layers78 × 78 mm

- 2 layers43 × 33 mm

Similar boards
- 2 layers140.5 × 30 mm

Type e
google/mozc-devices
Circuit diagrams and firmware source code for Gboard DIY keyboards
16 parts3kApache-2.0 - 2 layers41.4 × 14.5 mm

U2f zero
conorpp/u2f-zero
U2F USB token optimized for physical security, affordability, and style
16 parts2.4k - 2 layers77.5 × 33.7 mm

Breakout 72pin 1123038-2-Connector
rusefi/rusefi
rusefi - GPL internal combustion engine control unit
16 parts1.2k - 2 layers122 × 37 mm

V0-UmbilicalBoard
VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group
16 parts1.1kGPL-3.0 - 2 layers152 × 57.6 mm

Videoslotadapter
hoglet67/RGBtoHDMI
Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI
16 parts1kGPL-3.0 - 2 layers36 × 63.4 mm

Smart ringfinal layout
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!
16 parts915 - 2 layers60 × 40 mm

- 2 layers21.1 × 26.9 mm
