Releases: AlexKlimaj/LiPow-Firmware
Version 1.2
This version has minor updates to the overvoltage charging algorithm.
Version 1.1
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
This release is the firmware that is being shipped with the first units of LiPow to the public.
Initial 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.