From 4b24d865bff34158b200bbbbc13bd8ae21d2d90c Mon Sep 17 00:00:00 2001 From: Doug Weibel Date: Sun, 15 Jan 2012 16:35:46 -0700 Subject: [PATCH] Stashing some battery monitoring ratio values in the comments for future use. --- ArduPlane/config.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ArduPlane/config.h b/ArduPlane/config.h index 3112585a14..87bf4d639c 100644 --- a/ArduPlane/config.h +++ b/ArduPlane/config.h @@ -228,12 +228,17 @@ # define LOW_VOLTAGE 9.6 #endif #ifndef VOLT_DIV_RATIO -# define VOLT_DIV_RATIO 3.56 +# define VOLT_DIV_RATIO 3.56 // This is the proper value for an on-board APM1 voltage divider with a 3.9kOhm resistor +//# define VOLT_DIV_RATIO 15.70 // This is the proper value for the AttoPilot 50V/90A sensor +//# define VOLT_DIV_RATIO 4.127 // This is the proper value for the AttoPilot 13.6V/45A sensor + #endif #ifndef CURR_AMP_PER_VOLT -# define CURR_AMP_PER_VOLT 27.32 +# define CURR_AMP_PER_VOLT 27.32 // This is the proper value for the AttoPilot 50V/90A sensor +//# define CURR_AMP_PER_VOLT 13.66 // This is the proper value for the AttoPilot 13.6V/45A sensor #endif + #ifndef CURR_AMPS_OFFSET # define CURR_AMPS_OFFSET 0.0 #endif