Skip to the content
2 layers105 × 82 mmModule 16S, the printed circuit board in 3D

Proyecto de módulo para lectura y balanceo de celdas hasta 16S

Size
105 × 82 mm
Copper layers
2
Thickness
1.6 mm
Parts
244
Nets
187
Pads
671
Tracks, vias
2,243, 279
Pours
2
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
24 Jun 2024
Updated
11 Jul 2024

Overview

Module 16S is an open-source printed circuit board by botaneta, from the botaneta/All-in-one-diybms repository on GitHub. It is a 2-layer board of 105 × 82 mm with 244 parts on 187 nets, routed with 2,243 tracks and 279 vias.

It is built around the MCP33151-05-E/MS, XL7005A and SZNUD3160L, with the AP2204K-5.0TRG1, EL3H7(B)(TA)-G and MAX14921ECS+T among its other parts. Its parts include 117 resistors, 44 capacitors, 22 diodes, 11 ICs and 10 connectors. It belongs with the STM32 boards of this library.

Main components

12

README

KiCad_pcb/README.md

DIYBMS All-in-one 16S monitoring board

This is the hardware for the (up to) 16S monitoring board.

This monitoring board replaces the individual cell monitoring boards used in the DIYBMS solution. Several monitoring boards can be daisy-chained together to form larger battery packs.

You still require a DIYBMS ESP32 controller for this board to operate.

It uses an STM32F030K6T6 chip, with 32K flash and 4K RAM.

WARNING: This hardware is considered experimental & prototype, use at your own risk - it may not work as intended or at all.

Background Information

Software

The software for this board is available pre-compiled. See this link for details

Details are in the README on programming the STM32 chip for this PCB.

KiCAD 7

This design uses KiCAD version 7.0.5. Use the same or newer version for editing and viewing the files. You don't need to install KiCAD if you just wish to build/order one.

JLCPCB

The files in this repository will create a PCB and design files suitable for "almost" full construction at JLCPCB. Some manual soldering will still be required for the connectors and cabling.

Look inside the "export" folder for the relevant production files. You will need these files for the construction:

  • module_16s_gerbers.zip
  • Module_16S_bom_jlc.csv
  • Module_16S_cpl_jlc.csv

Support this project by using JLCPCB referral link https://jlcpcb.com/RSZ when registering for the first time.

READ THIS FIRST - IMPORTANT

Before construction of the PCB you must determine what battery cells you wish to monitor and a suitable cell voltage range.

The PCB design has options for two voltage ranges, determined by parts U2 and U6. ONLY ONE OF THESE CHIPS MUST BE FITTED

The design uses a MAX14921 chip, this has a maximum of 16 cells and 65V total battery voltage - do not exceed.

LIFEPO4 cells up to 4.00V maximum

Use part U2, a Microchip voltage reference "MCP1501-40E/SN". This is a 4.096V ±0.1% reference chip.

This part is available on JLCPCB as part number C1575589.

The pick and place file (CPL file) contains the part placement for this chip by default. No further changes are required, except to double-check the order screens from JLCPCB.

Do not install part U6.

This option has been tested by the author as working

Cell voltages up to 4.50V maximum

This is all 18650 style cell voltage chemistry - normally with a maximum of 4.25V. This configuration can also be used with LIFEPO4 cells with voltages below 4.50V.

Use part U6, a Microchip voltage reference "MCP1502T-45E/CHY". This is a 4.500V ±0.1% reference chip.

This part is NOT available from JLCPCB. This part must be obtained from other sources and MANUALLY soldered onto the board. Note this is a very small chip (SOT-23-6) and difficult to solder.

Edit the pick and place (CPL file) before upload to JLCPCB to remove the line marked "U2".

Do not install part U2.

This option has NOT been tested by the author, please feedback if you decide to experiment

BATTERY VOLTAGES ABOVE 24V & MINIMUM BELOW 12V

If you have an unusual Lithium cell chemistry where the maximum battery voltage is ABOVE 24V and the lowest is BELOW 12V, this monitoring board is not suitable.

BATTERY VOLTAGES BELOW 13V (MINIMUM)

If you are building a battery whos voltage can go BELOW 13V, which typically includes 4S or 5S cell configurations.

For example, 4S LIFEPO4 setup voltage range: 4x2.5V= 10V minimum, 4x3.65V=14.6V maximum.

Parts of the BMS circuit are not required for a battery's whos voltage can go below 13V and must be ommitted. These parts operate the step-down regulator normally required for higher voltages, such as an 8S or 16S setup. The regulator will fail to operate with an input voltage below 13V - causing the whole board to stop responding.

Ensure that the battery will not go above 24V during charging cycles. Damage to the voltage regulator will occur if this occurs.

In this configuration, you do not require, and MUST not fit:

  • U10 - XL7005A
  • L1
  • D21
  • R76
  • R77
  • C44
  • C43
  • C45
  • JP1/PWR 2 pin header

Edit the pick and place and BOM files to remove any reference to the above parts, before ordering from JLCPCB

Once these parts are removed, the board must NEVER be used with a battery over 24V or damage will occur.

You may want to consider fitting a smaller connector (J7) such as this one to prevent mistakes being made. If you do this, you will also need to add a wire between pin 6 and pin 17 of J7 on the PCB, to ensure the MAX chip receives power.

Once the board is constructed, a wire link between J9 and pin 2 (indicated by square box on silkscreen) of JP1/PWR should be made. This connects the full battery voltage to the board and bypasses the step down circuit.

In this configuration test point "TP1" will be zero volt/not connected.

After these changes are made, if the FAN is used on the passive balancer board, this must be changed to align to the voltage of the battery - a 12V fan may no longer be suitable for example, if running at 14.6V (4S setup).

This option has been tested by the author and confirmed working

PASSIVE BALANCE BOARD

The passive balance PCB is part of a seperate project folder named "ModuleV490-PassiveBal".

If you have no requirement for the passive balance board (its optional) then you can also omit the two headers marked J14 and J15 (both 22 pin) from this PCB.

EXTERNAL TEMPERATURE SENSOR BOARD

The external temperature sensor PCB is part of a seperate project folder named "TemperaturePCB".

If you already have previous v4.50 DIYBMS monitoring boards, the same temperature sensor can be used with this design.

CONNECTING THE ALL-IN-ONE MONITORING BOARD

Cell voltage connections are made using plugable terminal blocks. A large 17 pin connector is connected to the most negative cell terminal, and then every positive connection to the other cells in the battery.

Ensure that you have the correct sequence of cell voltages before connecting to the BMS. Test the pins on the plug with a multimeter to ensure the voltage continualy increases as you move up the pins (when compared to negative pin).

If you are using less than 16 cells, use wire connections between the screw terminals to link the highest cell to the remaining terminals. For example, a 14S setup, would need a wire link between terminals 14 to 15 and 15 to 16.

The two pin plug is used to power the BMS. This needs to be connected to the negative and positive of the battery. Note the correct orientation of the two pins, the positive is near the edge of the board. The silkscreen on the bottom of the PCB has the details.

Communication interface to the DIYBMS controller is via the 4 pin connector - ensure pin out is correct before connecting to the controller or damage may occur.

Important:

  • Do not reverse polarity.
  • Connect the 17 pin connector FIRST before connecting the power connector.
  • Ensure the PRG/RUN jumper is in the RUN position for normal operation. You will need to power cycle the board after changing modes.
  • Ensure the PWR jumper is connected (except <13V setups see above).
  • If the LED flashes a sequence on start up, check the software README to determine the cause
  • Ensure communication interface to controller uses correct wiring orientation

FAULT FINDING

All cells read similar voltage (4.096V or 4.500V)

This indicates that the voltage reference is not reaching the ADC chip MCP33151. Therefore, check voltage on TP5 and also soldering around U3 and U2/U6 depending on the V reference fitted.

Parts

244
QtyValueFootprintReferences
487R5 2WResistor_SMD:R_2512_6332MetricR43, R44, R45, R46, R47, R48, R49, R50, R51, R52, R53, R54, R55, R56, R57, R100 +32
241uFCapacitor_SMD:C_0805_2012MetricC1, C2, C3, C4, C10, C11, C12, C13, C14, C15, C16, C19, C20, C32, C39, C40 +8
19330RResistor_SMD:R_0603_1608MetricR20, R27, R31, R101, Rl1, Rl2, Rl3, Rl4, Rl5, Rl6, Rl10, Rl11, Rl12, Rl13, Rl14, Rl15 +3
18100RResistor_SMD:R_0603_1608MetricR17, R18, R37, R38, R39, R40, R41, R42, R61, R62, R63, R64, R65, R66, R85, R86 +2
183K3 1%Resistor_SMD:R_0603_1608MetricR1, R2, R3, R4, R5, R6, R7, R10, R11, R12, R13, R14, R15, R16, R24, R102 +2
16AO3400APackage_TO_SOT_SMD:SOT-23Qc1, Qc2, Qc3, Qc4, Qc5, Qc6, Qc7, Qc8, Qc9, Qc10, Qc11, Qc12, Qc13, Qc14, Qc15, Qc16
16YellowLED_SMD:LED_0603_1608MetricD1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, D14, D15, D16
910K 1%Resistor_SMD:R_0603_1608MetricR19, R21, R22, R23, R25, R29, R30, R32, R34
6100nF 50VCapacitor_SMD:C_0603_1608MetricC18, C21, C25, C28, C29, C30
4MountingHoleMountingHole:MountingHole_3.2mm_M3_ISO7380_PadH3, H4, H5, H6
310K NTCResistor_SMD:R_0805_2012MetricTH3, TH7, TH8
2100KResistor_SMD:R_0603_1608MetricR26, R28
2100nF 100VCapacitor_SMD:C_0805_2012MetricC17, C35
214pFCapacitor_SMD:C_0805_2012MetricC26, C27
22.2uFCapacitor_SMD:C_0603_1608MetricC23, C44
247uF 16VCapacitor_SMD:CP_Elec_5x5.4C37, C38
2MountingHoleMountingHole:MountingHole_3.2mm_M3_DIN965_PadH1, H2
2TEMP2Connector_JST:JST_PH_S2B-PH-K_1x02_P2.00mm_HorizontalJ3, J6
1100V, 200mW Schottky diodesDiode_SMD:D_SOD-123D24
1100pFCapacitor_SMD:C_0603_1608MetricC24
1100uHInductor_SMD:L_Changjiang_FNR5020SL1
110nFCapacitor_SMD:C_0603_1608MetricC33
110uF tantalumCapacitor_Tantalum_SMD:CP_EIA-3216-18_Kemet-AC22
11N4002WDiode_SMD:D_SOD-123FD21
12K2Resistor_SMD:R_0603_1608MetricR33
133nFCapacitor_SMD:C_0603_1608MetricC36
133uF 100V ±20% D10xL8.4mmCapacitor_SMD:CP_Elec_10x7.9C34
14.7uFCapacitor_SMD:C_0603_1608MetricC31
14.99kΩ 1%Resistor_SMD:R_0603_1608MetricR36
143K 1%Resistor_SMD:R_0603_1608MetricR35
168V, 500mW zener diodeDiode_SMD:D_SOD-123D23
18MHZCrystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
1AO3401APackage_TO_SOT_SMD:SOT-23Q1
1AP2204K-5.0TRG1Package_TO_SOT_SMD:SOT-23-5U11
1Boot_ModeConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalSW2
1CELL CONNECTORNingbo Kangnex Elec:WJ15EDGRC-3.81-17PJ1
1EL3H7(B)(TA)-GPackage_SO:SOP-4_4.4x2.6mm_P1.27mmU7
1FAN_12VConnector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_VerticalJ13
1Fuse, 100mAFuse:Fuse_Bourns_MF-RHT100F1
1GreenLED_SMD:LED_0603_1608MetricD17
1LDO_ENJumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mm_NumberLabelsJP1
1LOGODIYBMS:diybms_logo_24x10mmG***
1MAX14921ECS+TPackage_QFP:TQFP-80_12x12mm_P0.5mmU1
1MCP1501-40xSNPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU2
1MCP1502T-45E/CHYPackage_TO_SOT_SMD:SOT-23-6U3
1MCP33151-05-E/MSPackage_SO:MSOP-10_3x3mm_P0.5mmU4
1RELAY1Package_SO:SO-4_4.4x4.3mm_P2.54mmU5
1SPI_DEBUGConnector_PinSocket_2.00mm:PinSocket_1x04_P2.00mm_VerticalJ4
1SS210Diode_SMD:D_SMAD22
1STM32F030K6TxPackage_QFP:LQFP-32_7x7mm_P0.8mmU6
1ST_LINKConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ8
1SW_DPSTG_swicht:SW_Push_2P2T_Toggle_G_swichtSW1
1SZNUD3160Package_TO_SOT_SMD:SOT-23Q2
1SolderJumper_3_OpenJumper:SolderJumper-3_P1.3mm_Open_Pad1.0x1.5mm_NumberLabelsJP2
1TEMP1Connector_JST:JST_PH_S2B-PH-K_1x02_P2.00mm_HorizontalJ7
1TEMP3Connector_JST:JST_PH_S2B-PH-K_1x02_P2.00mm_HorizontalJ10
1TEST_12VTestPoint:TestPoint_Pad_1.5x1.5mmTP1
1TEST_1V8TestPoint:TestPoint_Pad_1.5x1.5mmTP3
1TEST_3V3TestPoint:TestPoint_Pad_1.5x1.5mmTP2
1TEST_4096TestPoint:TestPoint_Pad_1.5x1.5mmTP5
1TEST_5VTestPoint:TestPoint_Pad_1.5x1.5mmTP4
1TXRXConnector_Phoenix_MC:PhoenixContact_MC_1,5_4-G-3.81_1x04_P3.81mm_HorizontalJ9
1UART_PROGConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ5
1WhiteLED_SMD:LED_0603_1608MetricD20
1XC6206-1.8NRPackage_TO_SOT_SMD:SOT-23-3U10
1XC6206-3.3VPackage_TO_SOT_SMD:SOT-23-3U9
1XL7005APackage_SO:SOIC-8-1EP_3.9x4.9mm_P1.27mm_EP2.29x3mmU8

Similar boards

  • 4 layers71.1 × 89.6 mmModule 16S, the printed circuit board in 3D

    Module 16S

    stuartpittaway/diyBMSv4

    Version 4 of the diyBMS

    128 parts1.1k
  • 4 layers97 × 79.5 mmPehli1 AKS, the printed circuit board in 3D

    Pehli1 AKS

    Pehlivan-Team/Pehli1_AKS

    79 parts
  • 6 layers76 × 46.4 mmRp2350 driver, the printed circuit board in 3D

    Rp2350 driver

    sequoia-hope/rp2350-motor-controller

    An RP2350 based brushless motor controller

    291 parts39
  • 2 layers110 × 100 mmJbc miniregler, the printed circuit board in 3D

    Jbc miniregler

    KarlZeilhofer/htl-loetregler-mini

    Einfacher Regler für JBC Lötspitzen der Serie T210, T245 und T470, Weller RT-Spitzen und TS100-Spitzen sollten auch funktionieren.

    180 parts2MIT
  • 4 layers97.2 × 82.7 mmPlainDAQ v01, the printed circuit board in 3D

    PlainDAQ v01

    AlperenAkkuncu/PlainDAQ

    An Open Source DAQ module for Raspberry Pi Pico

    90 parts208
  • 2 layers100 × 98 mmYabalancer, the printed circuit board in 3D

    Yabalancer

    alangecker/yabalancer

    140 parts
  • 2 layers218 × 30 mmDiyBMS Leaf, the printed circuit board in 3D

    DiyBMS Leaf

    kitspace-test-repos/kicad6-file-collection

    79 partsMIT

Questions

How big is the Module 16S PCB?

It measures 105 × 82 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Module 16S use?

244 parts, built around the MCP33151-05-E/MS, XL7005A, SZNUD3160L and AP2204K-5.0TRG1. 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 Module 16S KiCad files?

From the botaneta/All-in-one-diybms repository on GitHub, at the commit this page was made from: the board is KiCad_pcb/Module_16S.kicad_pcb and its schematic KiCad_pcb/Module_16S.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Module 16S design in my own project?

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