

Batman
BATMAN hardware, firmware, and mechanical design
- Size
- 181 × 135 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 98
- Nets
- 57
- Pads
- 266
- Tracks, vias
- 165, 0
- Pours
- 5
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 9 Sep 2026
- Updated
- 9 Sep 2026
Overview
Batman 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 181 × 135 mm with 98 parts on 57 nets, routed with 165 tracks and 0 vias.
It is built around the DS18B20. Its parts include 24 connectors, 18 resistors, 9 capacitors, 5 crystals and 3 transistors.
Main components
1README
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
98| Qty | Value | Footprint | References |
|---|---|---|---|
| 16 | M3_NPTH_3.4 | Batman:Mount_M3 | HA1, HA2, HA3, HA4, HB1, HB2, HB3, HB4, HC1, HC2, HC3, HC4, HD1, HD2, HD3, HD4 |
| 1 | 100k_1% | Batman:LUT_R5 | R5 |
| 1 | 100k_1% | Batman:LUT_R3 | R3 |
| 1 | 100k_1% | Batman:LUT_R1 | R1 |
| 1 | 100n_16V | Batman:LUT_C11 | C11 |
| 1 | 100n_16V | Batman:LUT_C13 | C13 |
| 1 | 100n_16V | Batman:LUT_C12 | C12 |
| 1 | 100n_50V | Batman:LUT_C3 | C3 |
| 1 | 100n_50V | Batman:LUT_C4 | C4 |
| 1 | 100n_50V | Batman:LUT_C5 | C5 |
| 1 | 10k | Batman:LUT_R15 | R15 |
| 1 | 10k | Batman:LUT_R11 | R11 |
| 1 | 10k | Batman:LUT_R13 | R13 |
| 1 | 10k_1% | Batman:LUT_R2 | R2 |
| 1 | 10k_1% | Batman:LUT_R4 | R4 |
| 1 | 1N5819 | Batman:LUT_VD2 | VD2 |
| 1 | 1N5819 | Batman:LUT_VD1 | VD1 |
| 1 | 1k | Batman:LUT_R14 | R14 |
| 1 | 1k | Batman:LUT_R8 | R8 |
| 1 | 1k | Batman:LUT_R9 | R9 |
| 1 | 1k | Batman:LUT_R7 | R7 |
| 1 | 1k | Batman:LUT_R12 | R12 |
| 1 | 1u_16V | Batman:LUT_C7 | C7 |
| 1 | 1u_16V | Batman:LUT_C8 | C8 |
| 1 | 1u_16V | Batman:LUT_C9 | C9 |
| 1 | 4.7k | Batman:LUT_R10 | R10 |
| 1 | 4.7k | Batman:LUT_R17 | R17 |
| 1 | 4.7k | Batman:LUT_R18 | R18 |
| 1 | 4.7k | Batman:LUT_R16 | R16 |
| 1 | 4.7k_1% | Batman:LUT_R6 | R6 |
| 1 | 5V_GND | Batman:LUT_X3 | X3 |
| 1 | ACS1_3WIRE | Batman:LUT_J3 | J3 |
| 1 | ACS2_3WIRE | Batman:LUT_J4 | J4 |
| 1 | ACS3_3WIRE | Batman:LUT_J5 | J5 |
| 1 | B1_B2_GND | Batman:LUT_X1 | X1 |
| 1 | BAT_SENSE_FROM_D | Batman:LUT_X8 | X8 |
| 1 | BAT_SENSE_TO_B | Batman:LUT_X6 | X6 |
| 1 | BC547_CBE | Batman:LUT_Q1 | Q1 |
| 1 | BC547_CBE | Batman:LUT_Q2 | Q2 |
| 1 | BC557_CBE | Batman:LUT_Q3 | Q3 |
| 1 | BUTTON | Batman:LUT_J11 | J11 |
| 1 | COPPER_STAR_AT_X3 | Batman:LUT_NT1 | NT1 |
| 1 | DPS_UART | Batman:LUT_J9 | J9 |
| 1 | DS18B20 | Batman:LUT_X4 | X4 |
| 1 | DevKitC_38_socket_mMCU | Batman:LUT_J1 | J1 |
| 1 | EXTERNAL_CABLE_NOT_PCB | Batman:LUT_WC2_1 | WC2_1 |
| 1 | EXTERNAL_CABLE_NOT_PCB | Batman:LUT_WC6_3 | WC6_3 |
| 1 | EXTERNAL_CABLE_NOT_PCB | Batman:LUT_WC5_2 | WC5_2 |
| 1 | EXTERNAL_CABLE_NOT_PCB | Batman:LUT_WC6_2 | WC6_2 |
| 1 | EXTERNAL_CABLE_NOT_PCB | Batman:LUT_WC4_2 | WC4_2 |
| 1 | EXTERNAL_CABLE_NOT_PCB | Batman:LUT_WC6_1 | WC6_1 |
| 1 | EXTERNAL_CABLE_NOT_PCB | Batman:LUT_WC5_1 | WC5_1 |
| 1 | EXTERNAL_CABLE_NOT_PCB | Batman:LUT_WC3_1 | WC3_1 |
| 1 | EXTERNAL_CABLE_NOT_PCB | Batman:LUT_WC3_2 | WC3_2 |
| 1 | EXTERNAL_CABLE_NOT_PCB | Batman:LUT_WC4_1 | WC4_1 |
| 1 | EXTERNAL_CABLE_NOT_PCB | Batman:LUT_WC5_3 | WC5_3 |
| 1 | EXTERNAL_CABLE_NOT_PCB | Batman:LUT_WC2_2 | WC2_2 |
| 1 | EXTERNAL_CABLE_NOT_PCB | Batman:LUT_WC2_3 | WC2_3 |
| 1 | INSULATED_WIRE | Batman:LUT_WA4 | WA4 |
| 1 | INSULATED_WIRE | Batman:LUT_WA2 | WA2 |
| 1 | INSULATED_WIRE | Batman:LUT_WA3 | WA3 |
| 1 | INSULATED_WIRE | Batman:LUT_WA1 | WA1 |
| 1 | LINK_+3V3_GND | Batman:LUT_J30 | J30 |
| 1 | LINK_+3V3_GND_SCL_SDA | Batman:LUT_J21 | J21 |
| 1 | LINK_+3V3_GND_SCL_SDA | Batman:LUT_J20 | J20 |
| 1 | LINK_+3V3_GND_SENS_PWR | Batman:LUT_J22 | J22 |
| 1 | LINK_+3V3_GND_SENS_PWR | Batman:LUT_J23 | J23 |
| 1 | LINK_+5V_GND | Batman:LUT_J27 | J27 |
| 1 | LINK_+5V_GND | Batman:LUT_J31 | J31 |
| 1 | LINK_+5V_GND | Batman:LUT_J26 | J26 |
| 1 | LINK_GND_+3V3_SENS | Batman:LUT_J24 | J24 |
| 1 | LINK_GND_+3V3_SENS | Batman:LUT_J25 | J25 |
| 1 | LINK_I_B1_I_B2_U_B1_U_B2_GND | Batman:LUT_J32 | J32 |
| 1 | LINK_I_LOAD_U_LOAD_GND | Batman:LUT_J33 | J33 |
| 1 | LINK_RELAY_IN1_RELAY_IN2_GND | Batman:LUT_J28 | J28 |
| 1 | LINK_RELAY_IN1_RELAY_IN2_GND | Batman:LUT_J29 | J29 |
| 1 | OLED_I2C | Batman:LUT_J10 | J10 |
| 1 | RELAY | Batman:LUT_J8 | J8 |
| 1 | SPI | Batman:LUT_J12 | J12 |
| 1 | SW1_GND_ON | Batman:LUT_J6 | J6 |
The 95 most common of 98 parts.
Questions
How big is the Batman PCB?
It measures 181 × 135 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Batman use?
98 parts, built around the DS18B20. 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 Batman KiCad files?
From the sql-monk/batman repository on GitHub, at the commit this page was made from: the board is hardware/batman/reports/clean-routing/staged/batman.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Batman 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 layers100 × 80 mm

- 2 layers78 × 78 mm

- 2 layers86 × 68 mm

- 2 layers78 × 78 mm

- 2 layers63 × 40 mm

- 2 layers43 × 33 mm

Similar boards
- 2 layers33.7 × 97.8 mm

HAN ESP TSS721
UtilitechAS/amsreader-firmware
ESP8266 and ESP32 compatible firmware to read, interpret and publish data to MQTT from smart electrical meters, both DLMS and DSMR is supported
29 parts470 - 2 layers121 × 68 mm

Freeds sanchez
pablozg/freeds
Derivador de energía solar excedente creado por Pablo Zerón, Diseño PCB por Amcalo, Tester original por Aeizoon, Wiki por Zoilo Mora
42 parts108 - 2 layers80 × 54.9 mm

ESP32WifiAisTempVolt2
AK-Homberger/NMEA2000WifiGateway-with-ESP32
This repository shows how to build a NMEA2000 WiFi Gateway with voltage and temperature alarms.
18 parts94GPL-3.0 - 2 layers52 × 61 mm

Arduino motorfocus
fehlfarbe/arduino-motorfocus
Arduino motorfocus with moonlite protocol for telescopes
23 parts58MIT - 2 layers69 × 57 mm

- 2 layers26 × 34.8 mm

- 2 layers162 × 60 mm

Esp shield
felixwittwer/homeassistant_automaic_greenhouse
A cool Project to make your greenhouse smart. What about automaic irrigation and collecting enviromental data right from your garden.
20 parts27 - 2 layers123 × 87.5 mm

FastLOGIC
Neumi/fastLOGIC
An affordable Arduino-based board designed for straightforward (industrial) logic control, ideal for building small-scale automation and control solutions.
180 parts23MIT