Skip to the content
2 layers68 × 60 mmBidirectional tester, the printed circuit board in 3D

Bidirectional tester

c3am/capacitest

A low cost single cell battery capacity tester based on using the ch32v003.

Size
68 × 60 mm
Copper layers
2
Thickness
1.6 mm
Parts
75
Nets
48
Pads
298
Tracks, vias
414, 135
Pours
9
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
2 Dec 2023
Updated
2 Jun 2025

Overview

Bidirectional tester is an open-source printed circuit board by c3am, from the c3am/capacitest repository on GitHub. It is a 2-layer board of 68 × 60 mm with 75 parts on 48 nets, routed with 414 tracks and 135 vias.

It is built around the IR2101PBF, ADS1115IDGS and AMS1117-5.0, with the DS1307Z+ and 1N4148WS among its other parts. Its parts include 21 capacitors, 18 resistors, 10 ICs, 6 connectors and 4 diodes. It belongs with the RISC-V boards of this library.

Main components

5

README

README.md

capacitest

A low cost dual cell battery capacity tester with an oled screen using the ch32v003 microcontroller.

discharge-tester (old version, unfinished)

In the discharge-tester directory is a pcb with mosfets used as variable resistors for discharging the cells. It uses LMV358's as current sense amplifiers across 1 Ohm current sense resistors. I did not get this setup to work, because the built-in adc gave me very jittery values. Maybe there is something wrong with my circuit, or you just have to software filter the adc values.

bidirectional-tester (current version, under development)

This is the newer version, which uses bidirectional buck-boost converters for charging the cells from an external ~12V battery/discharging them into that battery.

kicad 3d view of bidirectional tester
  • ADS 1115 for current and voltage sensing
  • ina181a2 + ref2020(2V Vref) for current sense amplification
  • ir2101 low+high side mosfet drivers
  • ceramic capacitors only
  • the two bidirectional buck-/boost-converters each have 1uH SMD inductors, 200uF on the cell and 66uF capacitance on the ~12V battery side
  • 0.9" i2c oled screen

development status/roadmap:

stepstatus
schematic design[done]
PCB design[done]
get PCB and other components[done]
assemble board[...]
test board/write code[not started]
if not working, repeat
finalize code and put online[not started]

(last updated: 2025-05-08)

Parts

75
QtyValueFootprintReferences
1010uCapacitor_SMD:C_0603_1608MetricC1, C3, C5, C7, C9, C16, C18, C19, C20, C21
9100kResistor_SMD:R_0603_1608MetricR1, R2, R3, R4, R6, R8, R9, R13, R14
622uCapacitor_SMD:C_0805_2012MetricC4, C8, C10, C11, C12, C13
4100Resistor_SMD:R_0603_1608MetricR10, R11, R15, R16
4100uCapacitor_SMD:C_1206_3216MetricC2, C6, C14, C15
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
4Q_NMOS_SGDmy-footprints:PQFN-8-EP_6x5mm_P1.27mm_GenericQ1, Q2, Q3, Q4
4SW_SPSTmy-footprints:switchSW1, SW2, SW3, SW4
3Conn_01x02my-connectors:screw-terminal_5mm_x2J1, J5, J6
210mResistor_SMD:R_2512_6332MetricR7, R12
21N4148WSDiode_SMD:D_SOD-323D1, D2
21kResistor_SMD:R_0603_1608MetricR17, R18
21uInductor_SMD:L_Changjiang_FXL0630L1, L2
2INA181Package_TO_SOT_SMD:SOT-23-6U3, U6
2IR2101Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU5, U8
2LEDLED_SMD:LED_0603_1608MetricD3, D4
2REF3020Package_TO_SOT_SMD:SOT-23U4, U7
110uCapacitor_SMD:C_0805_2012MetricC17
1300kResistor_SMD:R_0603_1608MetricR5
1ADS1115IDGSPackage_SO:TSSOP-10_3x3mm_P0.5mmU1
1AMS1117-5.0Package_TO_SOT_SMD:SOT-223-3_TabPin2U9
1CH32V003FxUxPackage_DFN_QFN:QFN-20-1EP_3x3mm_P0.4mm_EP1.65x1.65mmU2
1Conn_01x03Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ2
1Conn_01x04modules:module-oled-0.9inchJ4
1Conn_01x04Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ3
1CrystalCrystal:Crystal_SMD_3215-2Pin_3.2x1.5mmY1
1DS1307Z+Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU10

The 74 most common of 75 parts.

More from c3am/capacitest

1
  • 2 layers60 × 60 mmDischarge tester, the printed circuit board in 3D

    Discharge tester

    c3am/capacitest

    A low cost single cell battery capacity tester based on using the ch32v003.

    31 parts

Similar boards

  • 2 layers45 × 63.5 mmMotor driver, the printed circuit board in 3D

    Motor driver

    CK20000/Isolated-Half-Bridge-Driver

    An isolated half-bridge motor driver board featuring 6N137 galvanic protection, an IR2101 bootstrap topology, and precise AD8418 bidirectional current sensing.

    50 parts1MIT
  • 4 layers75.1 × 50 mmWp controller, the printed circuit board in 3D

    Wp controller

    pypilot/pypilot_schematics

    kicad schematics for pypilot components

    77 parts3
  • 2 layers106 × 65 mmBldc drive, the printed circuit board in 3D

    Bldc drive

    koson/BLDC-1

    BLDC motor control

    117 parts
  • 4 layers126 × 90 mmIncubator controller, the printed circuit board in 3D

    Incubator controller

    tanaes/OvoEasy_incubator_controller

    KiCad design for the OvoEasy incubator controller board

    169 parts
  • 4 layers99.1 × 68.6 mmSTM32XP, the printed circuit board in 3D

    STM32XP

    MechatronixLab/STM32XP

    Development board based on the STM32F411RET6

    176 parts14
  • 2 layers60 × 44 mmResistive BMS-4s, the printed circuit board in 3D

    Resistive BMS-4s

    c3am/resistive-BMS

    an open source 4s BMS based on the CH32V003 microcontroller

    64 parts1

Questions

How big is the Bidirectional tester PCB?

It measures 68 × 60 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Bidirectional tester use?

75 parts, built around the IR2101PBF, ADS1115IDGS, AMS1117-5.0 and DS1307Z+. 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 Bidirectional tester KiCad files?

From the c3am/capacitest repository on GitHub, at the commit this page was made from: the board is bidirectional-tester/bidirectional-tester.kicad_pcb and its schematic bidirectional-tester/bidirectional-buck-boost.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Bidirectional tester design in my own project?

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