Skip to content

Releases: AlexKlimaj/LiPow-Firmware

Version 1.2

18 Jul 16:07
bd25bf5
Compare
Choose a tag to compare

This version has minor updates to the overvoltage charging algorithm.

Version 1.1

06 Jul 17:44
467c6fb
Compare
Choose a tag to compare

This version adds a calibration feature to the ADC in addition to other improvements.

Once you flash this firmware from V1.0, you will need to run the calibration. It gets saved into one time programmable memory, so you will only have to do it once.

Hook up a DC power supply set to 3V-4V to the balance connection cells 1-4 and to the positive of the XT60 connector. Measure the input voltage with a multimeter, then in the LiPow command line, run "cal" followed by the voltage input in mV. It is a float and my meter is 5 digit so I've been entering something like "3849.3". It will take that input voltage and calculate the ADC scalars to compensate for the 1% resistor voltage dividers. You can check the output by running the "stats" command and checking that the voltages all are close to your input voltage. If you are happy with the calibration, you can save it to one time programmable flash with the "write_otp" command. You can run that command up to ~30 times and it will always use the latest saved calibration. You should only need to do it once though if you get a good calibration the first time. You can reflash the firmware without erasing the calibration once it is in the one time programmable memory.

Version 1.0 Shipping Release

13 Jun 17:16
Compare
Choose a tag to compare

This release is the firmware that is being shipped with the first units of LiPow to the public.

Initial Release

10 May 05:33
0196589
Compare
Choose a tag to compare
Initial Release Pre-release
Pre-release

This is the initial release for Lipow. It only works and has been tested on Rev 2.0 hardware. All features are functional. Battery cell number detection, cell voltage readings, balancing, USB PD discovery, auto selection of PD voltage for highest efficiency, auto calculation and setting of max charge voltage, and a basic command line interface for debugging.