Skip to the content
2 layers64.8 × 50.5 mmBattery and DCDC, the printed circuit board in 3D

Battery and DCDC

Killerbee12/TFG-UPM1

Proyecto final de grado

Size
64.8 × 50.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
49
Nets
30
Pads
122
Tracks, vias
275, 40
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
7 May 2026
Updated
16 Jun 2026

Overview

Battery and DCDC is an open-source printed circuit board by Killerbee12, from the Killerbee12/TFG-UPM repository on GitHub. It is a 2-layer board of 64.8 × 50.5 mm with 49 parts on 30 nets, routed with 275 tracks and 40 vias.

It is built around the PJ-002BH. Its parts include 15 connectors, 11 resistors, 10 capacitors, 3 diodes and 2 inductors. It belongs with the power boards of this library.

Main components

1

README

README.md

Sistema de Alimentación Portátil para Montura de Telescopio

Trabajo Fin de Grado — Grado en Ingeniería Electrónica de Comunicaciones
ETSIST · Universidad Politécnica de Madrid (UPM)


De qué va este proyecto

Cualquiera que haya hecho astrofotografía o astronomía visual en campo abierto sabe que la energía es un problema. Las monturas motorizadas, las cámaras y los accesorios necesitan alimentación estable durante horas, normalmente lejos de cualquier enchufe. La solución clásica es cargar con una batería de plomo-ácido, que pesa, ocupa y no te dice cuánta carga le queda realmente.

Este TFG propone una alternativa: un sistema de alimentación portátil basado en baterías LiFePO4 (12.8V, 7.5Ah), más ligeras y seguras que el plomo, con electrónica dedicada para monitorizar el estado de carga real, gestionar la recarga y entregar una tensión de salida estable a la montura.

Qué hace el sistema

  • Mide la carga real de la batería usando un fuel gauge (BQ34Z100-G1) con tecnología Impedance Track, que compensa el envejecimiento de las celdas y mide temperatura con un termistor NTC.
  • Gestiona la recarga con un cargador buck-boost BQ25792, compatible con USB-PD 3.0.
  • Estabiliza la tensión de salida mediante un convertidor buck-boost TPS551892-Q1, preparado para los picos de corriente que generan los motores de la montura.
  • Coordina todo desde un microcontrolador STM32F411 programado con FreeRTOS, que lee la telemetría por I2C y gestiona las tareas del sistema de forma concurrente.

Diseño hardware

El hardware está diseñado en KiCad y separado en PCBs independientes para aislar ruidos electromagnéticos y facilitar la depuración:

  1. Battery Gauge (BMS) — Circuito del BQ34Z100-G1 con divisor de tensión, shunt de corriente y sensor térmico.
  2. Battery Charger — Circuito del BQ25792 con la electrónica de carga.
  3. Bloque de control — MCU STM32F411, buses I2C y lectura de telemetría.

Estructura del repositorio

text
├── Anteproyecto/          Documentos del anteproyecto (borradores, versión firmada, ejemplos y revisiones del tutor)
├── Archivos/              Datasheets de referencia consultados durante el diseño
├── Inventario/            Datasheets organizados por tipo de componente:
│   ├── Bateria/               Pack LiFePO4 12.8V 7.5Ah
│   ├── Battery_Charger/       BQ25792, BQ25690, LTC4020, etc.
│   ├── Battery_Gauge/         BQ34Z100-G1, BQ34110, BQ78350, etc.
│   ├── DC-DC_BuckBoost/       TPS551892-Q1, TPS55285, TPS63070, etc.
│   ├── Microcontrolador/      STM32F411 Discovery
│   ├── Bobina/
│   ├── Conectores/
│   ├── Diodos-zener/
│   ├── Resistencias/
│   └── Transistores/
├── Notas/                 Notas y documentación del proyecto (memoria, apuntes)
├── PCB/                   Diseños de PCB en KiCad
│   ├── Prototipo_2.0/        Prototipo inicial del battery gauge
│   └── Proyecto/              Diseños finales
│       ├── PCB_BatteryCharger/
│       └── PCB_BatteryGaulge/
├── STM32_project/         Firmware en C (STM32CubeIDE + FreeRTOS)
└── README.md

Herramientas utilizadas

ÁreaHerramienta
Esquemáticos y PCBKiCad
FirmwareSTM32CubeIDE (HAL + FreeRTOS)
MicrocontroladorSTM32F411 Discovery
DocumentaciónWord / PDF

Estado del proyecto

Este repositorio recoge todo el proceso de desarrollo del TFG: desde los primeros borradores del anteproyecto hasta los diseños de PCB y el firmware. Es un proyecto en progreso.


Nizar El Azeouzi Amine — ETSIST, Universidad Politécnica de Madrid

Parts

49
QtyValueFootprintReferences
6Conn_01x01_PinConnector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_VerticalJ2, J3, J4, J5, J7, J9
4Conn_01x03_PinConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ6, J8, J11, J14
4Screw_Terminal_01x02TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2_1x02_P5.00mm_HorizontalJ1, J10, J15, J16
310uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC2, C4, C10
31MResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR6, R7, R9
3MountingHole_4.3mm_M4MountingHole:MountingHole_4.3mm_M4M1, M1, M1
20.1uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC3, C5
2D_SchottkyDiode_SMD:D_SMBD1, D2
2TestPointTestPoint:TestPoint_Pad_3.0x3.0mmTP1, TP2
2WE-PD_7332WE-PD_7332:WE-PD_7332L1, L2
10.05Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR1
1100kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR3
110kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR5
1118kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR10
1174kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR4
11uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC1
122uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC6
1330kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR2
133pFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC7
135.7kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR11
14.7uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC8
1820pFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC9
190.9kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR8
1D_SchottkyDiode_SMD:D_SOD-123D3
1LT3652IMSE_TRPBFLT3652IMSE_TRPBF:MSOP-12_MSEU1
1LTC3115EFE-1_TRPBFLTC3115EFE-1_TRPBF:CONV_LTC3115EFE-1_TRPBFPS1
1PJ-002BHPJ-002BH:CUI_PJ-002BHJ12
1Thermistor_NTCResistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_HorizontalTH1

More from Killerbee12/TFG-UPM

4
  • 2 layers60.8 × 50.3 mmPCB BatteryGaulge, the printed circuit board in 3D

    PCB BatteryGaulge

    Killerbee12/TFG-UPM

    Proyecto final de grado

    48 parts1
  • 2 layers68.5 × 38 mmBatteryGaulgue, the printed circuit board in 3D

    BatteryGaulgue

    Killerbee12/TFG-UPM

    Proyecto final de grado

    32 parts1
  • 2 layers53.3 × 30.5 mmPCB Converter DC DC, the printed circuit board in 3D

    PCB Converter DC DC

    Killerbee12/TFG-UPM

    Proyecto final de grado

    32 parts1
  • 2 layers53.8 × 42.8 mmPCB BatteryCharger, the printed circuit board in 3D

    PCB BatteryCharger

    Killerbee12/TFG-UPM

    Proyecto final de grado

    27 parts1

Similar boards

  • 2 layers188 × 145.4 mmSleep rig pcb, the printed circuit board in 3D

    Sleep rig pcb

    EPL-Engineering/sleep_rig

    34 parts
  • 6 layers92.6 × 69.4 mmUsb hub 2, the printed circuit board in 3D

    Usb hub 2

    yedidia-sisay/usb3-multiport-hub

    An open-source USB 3.2 Gen 2 (10 Gbps) multiport hub & docking station.

    230 parts
  • 2 layersExample3, the printed circuit board in 3D

    Example3

    irampton/Schrune_Examples

    22 partsMIT
  • 2 layers173 × 122.5 mmCapBank, the printed circuit board in 3D

    CapBank

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    49 parts915
  • 2 layers85.1 × 49.8 mmAvrcraft m644, the printed circuit board in 3D

    Avrcraft m644

    cnlohr/avrcraft

    Minecraft server optimized for 8-bit devices.

    49 parts471
  • 2 layers50 × 90 mmMouse, the printed circuit board in 3D

    Mouse

    biomurph/Mouse

    Repository for Open Source Mouse Firmware and Hardware

    49 parts362MIT

Questions

How big is the Battery and DCDC PCB?

It measures 64.8 × 50.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Battery and DCDC use?

49 parts, built around the PJ-002BH. 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 Battery and DCDC KiCad files?

From the Killerbee12/TFG-UPM repository on GitHub, at the commit this page was made from: the board is PCB/Prototipo_2.0/BatteryCharger_and_DCDCBuckBoost/Battery_and_DCDC.kicad_pcb and its schematic PCB/Prototipo_2.0/BatteryCharger_and_DCDCBuckBoost/Battery_and_DCDC.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Battery and DCDC design in my own project?

Its repository states no licence, so its author keeps all rights: ask Killerbee12 before reusing the design.