Mercurial > public > hwos_code
diff src/ostc3.inc @ 37:0e1723f2761e
use four additional data points for the battery monitor
author | mh@mh-THINK.fritz.box |
---|---|
date | Thu, 15 Aug 2013 12:39:05 +0200 |
parents | eca4a201d8cf |
children | e4e91fe8b09d |
line wrap: on
line diff
--- a/src/ostc3.inc Sun Aug 04 18:13:18 2013 +0200 +++ b/src/ostc3.inc Thu Aug 15 12:39:05 2013 +0200 @@ -142,13 +142,19 @@ #DEFINE velocity_warning_level_1 .7 ; [m/min] ; Battery thresholds -#DEFINE lithium_36v_empty .2800 ; [mV] Saft 3,6V LS14500 AA - threshold for battery percent display +#DEFINE lithium_36v_empty .2400 ; [mV] Saft 3,6V LS14500 AA - threshold for battery percent display #DEFINE lithium_36v_low .2000 ; [mV] (Must be bigger then aa_15v_high!) #DEFINE aa_15v_high .1550 ; [mV] Energizer 1,5V E2 AA #DEFINE aa_15v_low .1100 ; [mV] According to Energizer Datasheet EBC-4201R, Page 2 #DEFINE color_code_battery_low .15 ; [%] #DEFINE battery_show_level .30 ; [%] +; 3,6V battery sensing data points at 55mA load +#DEFINE lithium_36v_75 .3200 ; [mV] +#DEFINE lithium_36v_50 .3100 ; [mV] +#DEFINE lithium_36v_25 .2900 ; [mV] +#DEFINE lithium_36v_10 .2600 ; [mV] + #DEFINE current_sleepmode .62 #DEFINE current_backlight_multi .115 ; *CCPR1L+current_backlight_offset #DEFINE current_backlight_offset .216