Merge pull request #1436 from freddanastrom/improvement/BYD-Atto3-default-soc-method

BYD Atto 3: Default SOC method changed to measured
This commit is contained in:
Daniel Öster 2025-08-19 09:38:30 +03:00 committed by GitHub
commit 10a60abd1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 8 deletions

View file

@ -4,12 +4,6 @@
#include "../datalayer/datalayer_extended.h"
#include "../devboard/utils/events.h"
/* Notes
SOC% by default is now ESTIMATED.
If you have a crash-locked pack, See the Wiki for more info on how to attempt an unlock
After battery has been unlocked, you can remove the "USE_ESTIMATED_SOC" from the BYD-ATTO-3-BATTERY.h file
*/
#define POLL_FOR_BATTERY_VOLTAGE 0x0008
#define POLL_FOR_BATTERY_CURRENT 0x0009
#define POLL_FOR_LOWEST_TEMP_CELL 0x002f

View file

@ -7,8 +7,12 @@
#include "BYD-ATTO-3-HTML.h"
#include "CanBattery.h"
#define USE_ESTIMATED_SOC // If enabled, SOC is estimated from pack voltage. Useful for locked packs. \
// Comment out this only if you know your BMS is unlocked and able to send SOC%
/* Notes
SOC% by default is now MEASURED by BMS.
If you have a crash-locked pack, See the Wiki for more info on how to attempt an unlock.
Remove the comment from "USE_ESTIMATED_SOC" below if you still decide to use a locked battery and want to use estimated SOC.
*/
//#define USE_ESTIMATED_SOC
//Uncomment and configure this line, if you want to filter out a broken temperature sensor (1-10)
//Make sure you understand risks associated with disabling. Values can be read via "More Battery info"