Reply 60 of 112, by kool kitty89
Carried over from: "Bought these (retro) hardware today"
yawetaG wrote on 2019-09-11, 11:11:wrote:I just found that there are ML2032 coin cell batteries, that are physcally identical to CR2032, but are rechargable. Quick search to aliexpress lead to offers at around 3$ a piece. 😉
EDIT: And LIR2032, which is 3.6V rechargable in the physical shape of CR2032!
And if there's no circuitry present in the mother board to charge those batteries correctly, you've just obtained yourself a nice way to have a surprise fire via overcharging...
I was looking for suitable battery replacement options myself, and aside from 1:1 NiMH (or even NiCd) batteries or rigging up non-rechargeable lithium cells to the external battery connectors (or disconnecting the resistor from the charging circuit, or adding a diode), ML2032 cells look like a reasonable, safe, long-term replacement for rechargeable CMOS batteries.
It's the LIR ones that are problematic with those simple NiMH/NiCd charging circuits and they can be even more dangerous by appearing safe or harmless at first, but being problematic (or explosion/fire prone) under specific conditions. (overheating during short-circuit or allowed to drain excessively between charges) The ~4~4.5 ish max voltage on those motherboards tends to be OK with fully charged LIR cells (higher than the 4.2V recommended, but not crazy), but discharged cells might have dropped low enough for the charging circuits to overload, depending on the particular circuit. (LIR/LiPO cells are supposed to have stepped voltage for proper, safe charging, but the NiCD type circuits are constant-current ones that might or might not exceed safe limits ... it's possible that a constant current circuit with that 4~4.5V cap works out OK and has a voltage curve suitable for the load of the LIR cell, but that'd need specific testing to be sure).
ML2032 cells don't have those problems, though they have a nominal voltage of 3.0V (similar to CR2032 cells), that's sufficient for most/all SRAM data retention and RTC circuits. They also take a charge similar to or slightly greater than the traditional NiCD or NiMH 3-cell barrel batteries (65 vs 60 mAh) and tolerate high charge voltages, and should work fine with a typical constant current trickle charging circuit using a resistor (as on old motherboards and a few game consoles and arcade boards).
See this article for a quick reference to different Lithium cell types.
http://www.cr2032.co/chemistry-article.html
LIR type batteries also might seem cheaper than ML batteries in ebay lots, but there's a lot of shady/crappy/recycled LIR batteries out there on ebay (and some rebranded/rerated and supposedly refurbished ones), and the not-so-cheap priced listings are around the same as the ML ones anyway, if not more expensive. (and if packaged poorly and allowed to short-circuit in shipping, ML cells won't tend to fail catastrophically like LIR ones will, plus will more likely still be useable if heavily discharged)
Plus ML2032s tend to be in the same price range (or cheaper than) actual 3-cell NiMH barrel battery replacements. (and being a single cell, don't have the same range of failure modes that those 3-cell batteries do, including cell reversal or internal shorts when one of the 3 cells goes bad, leading to overcharging/swelling/leaking, among other things: some specific to NiMH and some to NiCd)
OTOH, it's way easy get plain non-rechargeable CR2032s cheap and new in decent sized lots, battery holders can be had really cheap, and usually isn't that hard to adapt one of those boards to use them. (soldering on a coil cell holder and loading a CR2032 into it without disabling the charging circuit could be problematic, though, but I've seen some people do that too: and given the 4-4.5 max charging voltage, it might not be that much of a problem, just not ideal or recommended) Tracking down the right resistor to disconnect might be troublesome in some cases.
It's also probably worth looking into what electrolyte these different cells use (ie which is a worst-case if it does leak), though I've seen boards damaged by both NiCd and NiMH leaks, and both seem capable of wicking through solder joints and into PCB traces. (some might use some ammonium salt, given how sensitive copper is to ammonia/ammonium ions or amines, and the dark blue corrosion crust of copper-ammonium complexes ... alkaline battery leakage doesn't usually cause the same sort of copper corrosion, but it's horrible on aluminum, though something like acetic acid might do that too, and explain the faint vinegar-like odor on some corrosion; ammonium acetate would also do that)
And despite the above article's mention of tolerating (or withstanding) 'high charge voltages' actual documentation for ML type battery charging circuits tend to caution against going over 3.3V and avoiding trickle charging circuits, noting potential damage above 4.0 volts and especially at 5V or higher. (though the failure mode seems to be lost capacity and potential electrolyte leakage, so again not explosion/fire as with LIR cells)
https://industrial.panasonic.com/cdbs/www-dat … AAF4000COL8.pdf
https://www.sii.co.jp/en/me/battery/support/c … rging-circuit1/
Though from what I recall, a simple resistor-regulated charging circuit is used on those old motherboards and game/arcade boards, similar to the one in that second link above. (but that still assumes a charging voltage of 3.3 or lower)
I also found this thread, which does have anecdotes of using LIR2032 cells, but not enough info to really say how safe that is.
A very special question about old 486 CMOS batteries
LIR2032s might actually be within the size/capacity range to be relatively difficult to catastrophically overheat under normal ambient conditions, even if they're the same basic type of Lithium-ion cell that can explode/burn when abused, but I'd probably avoid that without some torture testing to prove it. (ie testing worst cases like over-discharged cells in the <1V range getting charged by the simple resistor current-limited circuit)
LIR2032s seem to be available in the 40 capacity range, which is rather small, so the actual energy content is relatively low and surface area + thermal conductivity relatively high, so charging load/resistance might stay relatively low even in adverse charging conditions (and even short-circuits might be less catastrophic, potentially less so than a new CR2032 getting shorted given those are around 220 mAh)
Testing tolerances of LIR2032s might be easier to test than ML2032 failures from long-term over-voltage that could lead to leaking and corrosion similar to the original batteries. (they tend to use an organic electrolyte of some sort, so I assume either an organic acid or amine of some sort, neither of which are good around lead/tin solder and copper, or it's using an organic solvent, which is a different matter altogether)
Except if the closed-circuit power-on voltage is around 4V or lower, in which case I'd probably not worry too much about it. (something easy enough to just check with a multimeter, though re-checking after a PSU swap might be wise)
And come to think of it, acetic acid (and probably ammonium acetate) would be up there for being able to eat through high lead content solders more easily than a lot of other electrolytes. (which seems to be the main way electrolyte/corrosion seems to be able to wick into the PCB itself without other scratches/cracks)
Though potassium or sodium hydroxide (typical alkaline electrolytes) could also dissolve lead/lead oxide as plumbate salts, and those salts themselves are good oxidizers, so that'd lead to further corrosion. And looking further, both NiMH and NiCd cells typically use Potassium Hydroxide electrolyte (as do non-rechargeable alkaline batteries), so that's almost definitely the case for all the corrosion I've seen from battery leaks on old boards.
Using cylindrical Lithium Iron Phosphate batteries might also work, but I'm not sure if they fare any better charging-tolerance wise. (though a single AA type holder could be used in this case for a 3.2V cell, but also 2 in series could be used and just consistently undercharged at 4~5V)
And a side-note about non-lithium batteries: NiCd (especially new production ones) tolerate full discharge well and are stable in storage at/near full discharge, but can develop problems from repeated cycles of partial discharge and charge (namely lost capacity, but in those 3-cell configurations, repeated drop to around 50% nominal cell voltage ~1.6V could increase the risk for a shorted or reversed cell in the circuit, and lead to venting/leaking of the remaining 1 or 2 cells when they're charged) but usually perform fine in full/near-full discharge scenarios if they're not allowed to short circuit or suffer similarly high drain (enough to overheat and/or reverse polarity internally and generate hydrogen and/or steam sufficient to start venting).
NiMH cells OTOH do fine if partially discharged and charged or just constantly topped up and don't like to be fully discharged (more like lead-acid cells).
So in theory, NiCd cells should do better in long-term storage, discharging very slowly to a low positive voltage, but plenty of real-world scenarios obviously contradict that. (potentially getting too damp/humid in storage and/or too hot, or were already ruptured during powered use before being stored, or old/cheap cell casings just degraded/corroded internally over time and ruptured on their own that way) Plus a lot of them were probably exposed to poorly regulated 5V charging circuits at some point in time (or relying on the PSU's voltage regulation alone) which would jump-start degradation.
3x NiMH cells would pretty well tolerate 5V line voltage and can often charge to an open circuit voltage of 4.2~4.5V, plus scenarios with 1 dead/shorted cell would still be at 2.8~3V, which wouldn't be nearly as far off as 2 NiCd cells (closer to 2.2~2.4V), and in better-designed circuits actually capping the voltage to 3.6~4.0V, a 2-good-cell NiMH battery with non-leaking dead cell would probably hold up fine. (so similar cases where ML and possibly LIR batteries would also be safe)