Catalog Test Data

This commit is contained in:
JTS
2021-12-01 15:52:51 -05:00
parent d9cc5ffc6e
commit e4fef04c15
16 changed files with 34529 additions and 3 deletions

View File

@@ -1,3 +1,5 @@
OEM BCM removed and replaced with LiBCM
e6405ab304d
e6405ab41834
e6405ae1207f

Binary file not shown.

View File

@@ -89,17 +89,18 @@ void SoC_updateUsingOpenCircuitVoltage(void)
/////////////////////////////////////////////////////////////////////
//JTS2doNow: Don't update SoC until the key has been off for at least ten minutes. This prevents recent current from influencing resting battery voltage
//only call this function when the key is off (or you'll get a check engine light)
void SoC_openCircuitVoltage_handler(void)
{
#define KEY_OFF_SoC_UPDATE_PERIOD_MINUTES 10 //JTS2doNow: How long to wait?
#define KEY_OFF_SoC_UPDATE_PERIOD_MILLISECONDS (KEY_OFF_SoC_UPDATE_PERIOD_MINUTES * 60000)
static uint32_t SoC_nextUpdate_milliseconds = 0;
static uint32_t SoC_latestUpdate_milliseconds = 0;
if( (millis() - SoC_nextUpdate_milliseconds ) >= KEY_OFF_SoC_UPDATE_PERIOD_MILLISECONDS)
if( (millis() - SoC_latestUpdate_milliseconds ) >= KEY_OFF_SoC_UPDATE_PERIOD_MILLISECONDS)
{
SoC_nextUpdate_milliseconds = millis();
SoC_latestUpdate_milliseconds = millis();
debugUSB_displayUptime_seconds();
@@ -120,6 +121,7 @@ void SoC_openCircuitVoltage_handler(void)
/////////////////////////////////////////////////////////////////////
//Don't call this function when current is flowing through the current sensor
//Wait at least ten minutes after keyOff for most accurate results
uint8_t SoC_estimateFromRestingCellVoltage_percent(void)
{
uint16_t restingCellVoltage = LTC68042result_loCellVoltage_get(); //JTS2doNow: need an algorithm to look at hi cell, too.

View File

@@ -0,0 +1,3 @@
Printing labels:
-Use "chain print" feed option
-Add 15 spaces between each "BAY2+" label