Re:Open Source Thinkpad T420 Battery Design
by iam4722202468 on Saturday August 29, 2020 @11:02PM
(#24321032)
I've read a few things about using charging circuits and battery fuel gauges but it's a bit beyond what I know how to do right now. I might look in to it more in the future, or maybe someone else who knows more than me can add a fuel gauge to the schematic :)
Re:Open Source Thinkpad T420 Battery Design
by etaioinshrdlu on Sunday August 30, 2020 @01:50AM
(#24321634)
I've used this which was very easy to get to work and there is C code out there to use with it. https://www.sparkfun.com/products/10617
Re:Open Source Thinkpad T420 Battery Design
by iam4722202468 on Sunday August 30, 2020 @02:29AM
(#24321771)
Hmm, it seems like all the fuel gauges I can find are designed to be incorporated in to a bms, instead of being added to the input/output of an already existing bms. Do you know if there's a fuel gauge that can work with 12v so I can just add it to the circuit I'm using?
Re:Open Source Thinkpad T420 Battery Design
by cl3misch on Sunday August 30, 2020 @02:30AM
(#24321776)
Could you measure a calibration discharge curve with a (digital) bench power supply draining constant current (or constant power) and use it as a LUT?
Re:Open Source Thinkpad T420 Battery Design
by iam4722202468 on Sunday August 30, 2020 @02:38AM
(#24321791)
That would probably work. That's how I was originally planning on doing it, but I got annoyed with the voltage logging not working properly when I set it up so I gave up and just went with the linear voltage -> capacity reading. A potential problem with this is that every battery pack would be different, and people who make this project on their own would need to generate a table for their pack.
There are dedicated ICs which will give the remaining charge accurately, which may possibly be even cheaper than this ad-hoc solution.