Skip to content

Cell Testers

Timo Sariwating edited this page Nov 29, 2026 · 2 revisions

A battery cell tester on the hub: every slot live, next to your other machines. The first one is the MegaCell Charger, on the agent over your network. The driver is a port of megacnc (GPL-3.0), MegaCell's own management software: the same requests, the same pace. The design is meant for other multi-slot testers too, not only this one.

For now it is read only: tests, charging and discharging are still started on the charger itself (#295).

The MegaCell Charger's page: 16 slots with their state, voltage, current, capacity, ESR, temperature, runtime and cycles; slot 1 charging, with its graphs of voltage, current and temperature

Supported

Tester Connection Reference Status
MegaCell Charger, firmware MCCReg V1.0.2 the charger's HTTP API on the LAN, through the agent megacnc 1d4ea31 Tried on the real charger, read only
Other MegaCell firmware (such as 1.1.0, MCCPro) megacnc's API notes are for 1.1.0 Not tried; some of 1.1.0's API is not on 1.0.2

Setting up a MegaCell Charger

  1. Put the charger on your network (its Wi-Fi), and note its IP address.
  2. On the agent's page, under MegaCell Charger, give that IP address, then Turn on (see The Agent). The agent must be on the same network as the charger; it is the agent that connects out to the hub.
  3. Add it on the hub with the code the agent's page shows.

Its page

Every 5 seconds, as megacnc does, the agent reads all 16 slots. For each slot:

  • its state, as the charger names it, with counts at the top (how many are charging, done, empty and so on);
  • voltage, current, charge and discharge capacity (mAh), ESR (shown in mΩ), temperature as the charger sends it, runtime and cycles;
  • a graph of voltage, current and temperature, each on its own scale. It holds what the open page has seen; the hub keeps no history yet.

On firmware 1.0.2 the runtime counts in seconds, though megacnc's notes for 1.1.0 say hours. The page shows it as hours, minutes and seconds.

Not yet

  • Starting a test from the hub: charge, discharge, store, ESR, a full capacity test (#295).
  • A report per cell, a cell database, labels and QR codes for cells (#295).
  • Only tried with 18650 cells so far.

How it fits in

The tester speaks the same protocol as every other device here: part 12 of the Prusa SDK Extension, a generic multi-slot cell tester with the MegaCell Charger as the first one.

Clone this wiki locally