Closed MeierTobias closed 8 months ago
Decharge curve of the "antennentrail-1" device over summer period 2022.
Mapping from value to charging level: Ideas https://stackoverflow.com/questions/13399821/data-structures-that-can-map-a-range-of-keys-to-a-value https://greensock.com/docs/v3/GSAP/UtilityMethods/mapRange()
I would say that the currently implemented 5th order polynomial interpolation to get the battery level from the battery voltage seems to work fine for our purposes. If we want to improve the accuracy, we can evaluate the correlation between the voltage, the awake time (approximated with the count and send frequency) and the temperature to find better fitting coefficients.