Skip to content

@microfarad-de microfarad-de released this Mar 12, 2020

Moved parts of the source code to separate Git submodules.

Assets 3

@microfarad-de microfarad-de released this Oct 5, 2019

Fixed a further capitalization error that prevented the code from compiling on a case-sensitive file system.

Assets 2

@microfarad-de microfarad-de released this Sep 26, 2019

Fixed a compile-error on case-sensitive file systems, caused by wrong file name capitalization within include statements.

Assets 2

@microfarad-de microfarad-de released this Jun 26, 2019

  • If parameter validation fails, the parameter is not written to EEPROM and an error message is displayed
  • Synchronize PWM updating with ADC read cycles, this ensures that a fresh ADC reading is available prior to updating the PWM frequency
  • The system state is now printed within the output of the . (dot) command
Assets 2

@microfarad-de microfarad-de released this Jun 24, 2019

  • Increased PWM frequency to 31.250KHz
  • Improved calibration procedure: the exact reference voltage value is now passed as an argument, so there is no more need to use a precision power supply
  • Harmonized CLI command names to match the ones of pi-ups
  • Check the number of arguments passed to the CLI commands that require numerical input
  • Set the failsafe value of R_shunt to 100mΩ
Assets 2

@microfarad-de microfarad-de released this Jan 28, 2019

  • Removed duplicate initialization of tickTs = ts
  • Updated inconsistent parameter and function descriptions
Assets 2

@microfarad-de microfarad-de released this Jan 20, 2019

Test Coverage

  • Depleted Li-Ion battery with BMS cutooff
  • Almost full Li-Ion battery
  • Full charge cycle
  • Trickle charge cycle
  • End-of-charge detection
  • Sanity-check charge time and remaining capacity estimation
  • Makeshift NiCd charging support

New features

  • System trace: trace real-time charging parameters to EEPROM

Enhancements

  • Fine-tune charge time and remaining capacity estimation
  • Increase the speed of reaction to sudden current or voltage increase
  • Remove end-of-charge detection based on current increase
  • Improve voltage-based end-of-charge detection
Assets 2

@microfarad-de microfarad-de released this Jan 18, 2019

  • Reuse strings in different places to save memory
  • I_safe is now a factor of I_chrg
  • Test very low voltage use cases
  • Test I_safe
  • Test Trickle Charging
Assets 2

@microfarad-de microfarad-de released this Jan 17, 2019

Ensure that battery voltage never decreases. V_batt must always increase or stay constant during charging. A sudden decrease in V_batt could be a sign of a short circuit in one of the battery cells.

Assets 2

@microfarad-de microfarad-de released this Jan 14, 2019

Initial version of the code tested in a 4s configuration

Assets 2