
Discharge tester
c3am/capacitest
A low cost single cell battery capacity tester based on using the ch32v003.

A low cost single cell battery capacity tester based on using the ch32v003.
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.
A low cost dual cell battery capacity tester with an oled screen using the ch32v003 microcontroller.
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.
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.
| step | status |
|---|---|
| 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)
| Qty | Value | Footprint | References |
|---|---|---|---|
| 10 | 10u | Capacitor_SMD:C_0603_1608Metric | C1, C3, C5, C7, C9, C16, C18, C19, C20, C21 |
| 9 | 100k | Resistor_SMD:R_0603_1608Metric | R1, R2, R3, R4, R6, R8, R9, R13, R14 |
| 6 | 22u | Capacitor_SMD:C_0805_2012Metric | C4, C8, C10, C11, C12, C13 |
| 4 | 100 | Resistor_SMD:R_0603_1608Metric | R10, R11, R15, R16 |
| 4 | 100u | Capacitor_SMD:C_1206_3216Metric | C2, C6, C14, C15 |
| 4 | MountingHole | MountingHole:MountingHole_3.2mm_M3 | H1, H2, H3, H4 |
| 4 | Q_NMOS_SGD | my-footprints:PQFN-8-EP_6x5mm_P1.27mm_Generic | Q1, Q2, Q3, Q4 |
| 4 | SW_SPST | my-footprints:switch | SW1, SW2, SW3, SW4 |
| 3 | Conn_01x02 | my-connectors:screw-terminal_5mm_x2 | J1, J5, J6 |
| 2 | 10m | Resistor_SMD:R_2512_6332Metric | R7, R12 |
| 2 | 1N4148WS | Diode_SMD:D_SOD-323 | D1, D2 |
| 2 | 1k | Resistor_SMD:R_0603_1608Metric | R17, R18 |
| 2 | 1u | Inductor_SMD:L_Changjiang_FXL0630 | L1, L2 |
| 2 | INA181 | Package_TO_SOT_SMD:SOT-23-6 | U3, U6 |
| 2 | IR2101 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U5, U8 |
| 2 | LED | LED_SMD:LED_0603_1608Metric | D3, D4 |
| 2 | REF3020 | Package_TO_SOT_SMD:SOT-23 | U4, U7 |
| 1 | 10u | Capacitor_SMD:C_0805_2012Metric | C17 |
| 1 | 300k | Resistor_SMD:R_0603_1608Metric | R5 |
| 1 | ADS1115IDGS | Package_SO:TSSOP-10_3x3mm_P0.5mm | U1 |
| 1 | AMS1117-5.0 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U9 |
| 1 | CH32V003FxUx | Package_DFN_QFN:QFN-20-1EP_3x3mm_P0.4mm_EP1.65x1.65mm | U2 |
| 1 | Conn_01x03 | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J2 |
| 1 | Conn_01x04 | modules:module-oled-0.9inch | J4 |
| 1 | Conn_01x04 | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J3 |
| 1 | Crystal | Crystal:Crystal_SMD_3215-2Pin_3.2x1.5mm | Y1 |
| 1 | DS1307Z+ | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U10 |
The 74 most common of 75 parts.

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

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.



tanaes/OvoEasy_incubator_controller
KiCad design for the OvoEasy incubator controller board




c3am/resistive-BMS
an open source 4s BMS based on the CH32V003 microcontroller
It measures 68 × 60 mm and has 2 copper layers, 1.6 mm thick.
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.
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.
Its repository states no licence, so its author keeps all rights: ask c3am before reusing the design.