Skip to content

Comments

Added self calibration routine on boot#23

Merged
napowderly merged 1 commit intomainfrom
napowderly/cell-self-cal
Feb 25, 2025
Merged

Added self calibration routine on boot#23
napowderly merged 1 commit intomainfrom
napowderly/cell-self-cal

Conversation

@napowderly
Copy link
Contributor

Each cell will now self calibrate using the onboard ADC:

  • Measures output voltage at 32 setpoints across range
  • Stores values in calibration array
  • calculateSetpoint function finds bracketing calibration values for a requested voltage and linearly interpolates between them.
  • Calibration happens on boot, values are not currently persisted.

@napowderly napowderly merged commit 895718e into main Feb 25, 2025
2 checks passed
@napowderly napowderly deleted the napowderly/cell-self-cal branch February 25, 2025 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant