ZerotoQuad

Companion to Chapter 12 · optional

Five-inch consumption study

Compare the FC's mAh with the next normal recharge

Optional, and just for the curious. Nothing later in the book depends on it, and ending with no change, the original scale or no clear answer is perfectly fine. At best you get an mAh count that agrees better with your charger under your usual flying; your low-battery warnings stay voltage-based throughout.

This study goes with Chapter 12’s Power & Battery section. It’s a side project for the curious: nothing later depends on it, and finishing with no change is a perfectly good result.

It asks one question: after one current-scale adjustment, does the FC’s mAh count agree more closely with what the charger puts back at the next normal recharge? You take two baseline comparisons, make at most one change and check it with two fresh follow-ups. It’s the book’s own method, not a manufacturer calibration, and at best it gives you an mAh count that agrees with your charger for the way you usually fly.

Battery and safety conditions

These hold for the whole study. If you can’t meet one, skip the study; you lose nothing by it.

  • Charging: charge the selected Tattu R-Line V5 1400 mAh 6S the Chapter 4 way (LiPo, 4.20 V/cell, 1.0 A): outdoors, attended, on a non-flammable surface, once the pack has cooled and passes Chapter 4’s checks. The study doesn’t change the charge current.
  • No extra flying: don’t fly extra packs, fly longer or go deeper into the pack to get numbers. Each pair comes from a session you were going to fly anyway.
  • No limiter in flight power: a full 6S pack is 25.2 V, above ShortSaver 2’s 25 V maximum, so never put a full 6S pack through ShortSaver 2. The study flights use your ordinary direct-pack field setup.
  • Warnings stay voltage-based: keep use_cbat_alerts OFF and osd_cap_alarm at 0, and don’t rely on the current, consumed-mAh or remaining-percentage readouts in flight. Chapter 12’s voltage, cell-count and early-landing policy (land at the 3.70 V/cell warning) still applies to every flight.
  • Pack danger: if a pack is hot, hissing, venting, smoking, sparking or burning, makes a pop or smells burning, or you can’t tell, don’t touch or unplug it: get people away and call emergency services from a safe place (Chapter 4’s emergency plan). A pack that’s merely suspect is out of service; Chapter 4’s suspect-pack steps cover it.
  • Crash: Chapter 4’s after-a-crash check comes first (What counts as a crash says when a bump doesn’t count), and a session that ended in a crash isn’t a study pair.
  • Use what you have: there’s no need to buy another charger, add a sensor or flash a board for this, and it doesn’t replace any of the normal checks.

Who it applies to

The hands-on study is for the Kakute H7 V1.5 / Tekko32 F4 Metal 65A five-inch 6S build with its analog current connection, FC firmware 2025.12.5 and App 2025.12.2, once it has passed Chapters 11 and 12’s checks and flown its first flight. The pack is the selected Tattu R-Line V5 1400 mAh 6S, TA-RL5-150C-1400-6S1P-XT60U. Stick to one charger, the B6neo or the HOTA D6 Pro, for the whole study.

If you have the G45M build with no known current-sensor path, a whoop you only charge on a WhoopStor, or an aircraft that isn’t flying yet, the synthetic worksheet at the end of this page shows the method without the flying. (The WhoopStor 3’s display shows voltage, current and status but no returned-mAh total, and its set current multiplied by the charge time doesn’t stand in for one [src_295].)

Prepare the study state in USB only

  1. After a normal shutdown and cool-down, with the props off, the flight pack disconnected and accessories off, go into Chapter 11’s USB only state with the video and Finder unplugged. Save a fresh configuration snapshot first, as a new file rather than over an old one, and note the current values of current_meter, ibata_scale, ibata_offset, battery_continue (if your firmware has it), use_cbat_alerts and osd_cap_alarm, plus your voltage, cell-count, warning and beacon settings, so you can put everything back later. The method only works with the ADC current source, not NONE, virtual, ESC or MSP readings [src_69; src_81; src_85].
  2. If ADC isn’t selected yet, set it on its own with set current_meter = ADC, using Chapter 12’s one-at-a-time routine (One setting at a time; save only after inspection): type the one command, check the reply, get it to confirm, then a separate plain save, reconnect and check it stuck. Set the starting scale only if it needs it (Holybro gives 168 for V1.4–V1.6 and 180 for V1.7/V1.8 [src_291]), and leave the offset as it is. A powered aircraft really does draw current, so don’t “zero” its reading with the offset. If your firmware has battery_continue and it’s ON, turn it OFF for the study the same way and note the old value; if the setting isn’t there, that’s fine. Leave use_cbat_alerts OFF, osd_cap_alarm at 0 and your voltage, cell-count and warning settings as they are [src_69; src_81; src_85].
  3. In OSD → Post Flight Statistics, turn on Battery mAh used and leave the other statistics as they are. Click Save, disconnect and reconnect in USB only, and check that the box stayed ticked (note whether it was on before, so you can restore it). The FC shows this statistic as USED MAH, and it can update after disarm. Leave the live mAh element off: with the capacity alarm at zero it can look critical even though the warning is disabled, and raising the alarm to hide it would change the setup you’re measuring [src_76; src_87; src_95; src_271]. After each saved change, check that the RX_SET and RX_LOST motor-beacon exclusions are still in place before you power up again.

Record two normal flight and recharge pairs

  1. Use the same healthy pack, charger and channel, charge program and endpoint, and the same aircraft setup for both baseline pairs and the later follow-ups. Start each from a normal, completed charge under Chapter 4: B6neo Balance CHG with its PD supply, or HOTA AC/CH1 Charge with its balance lead. Jot down the charger, the program and whether the charge finished cleanly. Nothing else should happen to the pack inside a pair: no storage cycle, other flying, discharge or top-up.

  2. Start each flight with a fresh FC power-up so the mAh counter starts from zero; don’t leave USB plugged in between packs. Fly your normal field setup and land when you normally would; no special rigs. It’s easiest with a friend reading the display for you so you can stay on the sticks. They don’t need any FPV experience, just a quick briefing. There’s no need to film. Time it from plugging in the pack and the FC booting to the final counter reading, disarmed time included, not just the armed timer [src_81; src_85; src_185].

  3. Once you’ve landed, disarmed and the props have stopped, the helper notes USED MAH and the time, as part of your normal shutdown. Read it as late as you reasonably can without keeping the quad powered longer. It’s the FC statistic, not a goggle-battery counter or the last flight’s value [src_81; src_271]. If it doesn’t show or gets missed, shut down normally and let that pair go; don’t rearm, touch throttle or pitch, or use crash flip to bring the display back. It also helps to note roughly how long it was from that reading to unplugging the pack, because that uncounted tail and the startup timing limit how close the comparison can get. Then shut down the usual way (Chapter 12’s Ordinary finish). Any pack danger sign puts the pack-danger rule above first.

  4. Pair the flight with the pack’s next normal, attended recharge, once it has cooled and passes Chapter 4’s checks. Read the charge total before leaving the result screen:

    Selected charger Read and finish
    Original B6neo Note the lower-left mAh total once the charge has actually finished. Reaching target voltage or a Fully Charged error isn’t a new completed charge. Stop and disconnect the Chapter 4 way [src_293].
    HOTA D6 Pro, CH1 Note Capacity Charged at the blue endpoint, with its unit. Turn the wheel to browse; pressing it during a task opens the adjustment controls. Multiply Ah by 1000 for mAh. Then end the task and check for Standby and zero current before you disconnect; blue alone doesn’t mean it’s safe to unplug [src_294].

    Use the charged total, not a capacity preset, input-energy reading, percentage or the other channel’s figure. If the charge errors out, stops early or shows no total, let that pair go rather than restarting or turning off charger protections to get a number. Take the second baseline from another session you’d planned anyway. (A very short session may be too small to read.)

Calculate once; save only a justified candidate

  1. For each pair you have the FC total Qf and the charger total Qc, both in mAh; the baseline scale S; the unchanged offset O in mA; and the rough powered time T in seconds. A missing, zero or negative charger total can’t be used. Work out the signed difference against the charger:

    r = 100 × (Qf − Qc) / Qc

    That’s the difference from the charger, not the sensor’s true error. If the pairs already agree within what you can read, disagree for no reason you can see, or you’re unsure about a reading, leave the scale alone.

    For an unchanged nonzero offset, estimate its share as Qo = O × T / 3600 mAh. With the ADC relation current in A = ADC input in mV × 10 / ibata_scale + ibata_offset / 1000 [src_85], pool both baseline pairs:

    Snew = round(S × (sum Qf − sum Qo) / (sum Qc − sum Qo))

    If your offset is zero, this shortens to round(S × sum Qf / sum Qc). The formula holds the offset fixed; it can’t estimate the offset or remove rounding, fuzzy start and end timing, balancing, pack losses or endpoint differences. If the result is mostly noise, or anything looks odd (zero or negative totals, a stale-looking value, a scale that isn’t a sensible positive number), leave the scale alone. If it rounds to the same scale, there’s nothing to write [src_69; src_81; src_85].

  2. If you do have a new scale, finish all flying and charging first and go back to the props-off USB only state. Save another fresh snapshot and check that the current source, offset and scale are still the ones you used for the baselines. Your fallback value is the S you actually used for both baseline pairs, which may not be the value the board came with. Type set ibata_scale = followed by the new whole number and press Enter; check the reply, run get ibata_scale, check that nothing else changed, then issue the separate plain save. Reconnect and check the saved value and the beacon exclusion. If you get an error or aren’t sure it saved, the save routine’s error steps cover it. Leave mAh out of the App’s Measured Amperage calibration field, and leave the offset, voltage scale, cell count, capacity and warning settings alone rather than nudging them to make the numbers agree [src_68; src_69; src_75; src_86].

Compare independently and leave a known state

  1. If you saved a new scale, collect two more pairs, C and D, the same way; A and B can’t check a scale that was fitted to them. Let B = min(abs(rA), abs(rB)), the better of the two baseline differences, and work out B − abs(rC) and B − abs(rD).
Outcome Decision
Both improvements are positive, clearly bigger than your display, timing and endpoint limits, and conditions stayed comparable Keep the new scale as a charger-relative estimate for this kind of flying. That’s the book’s own rule of thumb, not a statistical test.
Either follow-up doesn’t improve, is missing, or is too unclear to judge Put the baseline scale S back with the same separate-save-and-check routine. Don’t keep refitting, and don’t fly deeper into packs to rescue the result.
Any new fault or unexpected behavior Stop the study and follow the normal fault and repair path. Better numbers never outweigh a fault.
  1. To finish, put back any study-only settings you changed (the current source, the statistic or battery_continue), one at a time with a save and a check; pasting an old full dump back would also overwrite your current voltage, count and warning setup. Keep use_cbat_alerts OFF, osd_cap_alarm at 0 and the current, mAh and remaining-percentage readouts out of what you rely on in flight. If you keep notes/configuration-notes.txt, it’s worth adding the settings, the pairs, the sums and how it ended (no change, kept, restored, unclear, or a fault); next time you wonder why the scale is what it is, the answer’s there. One candidate per study keeps it honest; if you want to dig further, start a fresh study rather than retrying this one.

Synthetic worksheet (invented numbers, not settings or measurements)

These made-up numbers show why a nonzero offset matters. They aren’t settings to copy.

Baseline pair T, seconds FC Qf, mAh Charger Qc, mAh Qo at unchanged 300 mA, mAh
A 360 570 630 30
B 420 665 735 35
Total 780 1,235 1,365 65

With S = 180, round(180 × (1235 − 65) / (1365 − 65)) = 162. Both baseline differences are about −9.52%. Made-up follow-up pairs of 650/660 and 720/710 mAh give about −1.52% and +1.41%, so this would be a keep, as long as conditions stayed comparable and the readings were clear. If one follow-up had come in 10% off, that’s worse than the 9.52% baseline: restore, even if the average looks better.

Comparing instantaneous current is a different sum. With an unchanged offset b = O/1000 A and a trustworthy independent current reading, Snew = round(S × (Ireported − b) / (Ireference − b)). Made-up S = 180, b = 0.3 A, reported 2.3 A and reference 2.1 A give 200, not the charger worksheet’s answer. The book doesn’t cover a safe way to take that reference reading. And matching charge totals don’t tell you about peak-current accuracy or usable pack capacity [src_85; src_86].

References

Each key is the source’s identifier in the book’s Chapter 12 source pack.