calibration: add development device

This commit is contained in:
Thomas Kolb 2022-09-24 16:28:35 +02:00
parent 2275edb475
commit 5528259517
1 changed files with 14 additions and 0 deletions

View File

@ -6,10 +6,24 @@
* than the actual voltage, you have to scale by 1.02 and therefore specify
* 1020 in this list. */
/* Values for the device at the B26 tower */
#if 0
#define CAL_FACTOR_U_BAT 994
#define CAL_FACTOR_U_SOLAR 997
#define CAL_FACTOR_U_SW 996
#define CAL_FACTOR_I_SOLAR 1015
#define CAL_FACTOR_I_LOAD 1000
#endif
/* Values for the development device */
#if 1
#define CAL_FACTOR_U_BAT 1012
#define CAL_FACTOR_U_SOLAR 1015
#define CAL_FACTOR_U_SW 1006
#define CAL_FACTOR_I_SOLAR 3980
#define CAL_FACTOR_I_LOAD 1000
#endif
#endif // CALIBRATION_H