Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What do "Battery Voltage" and "FOC Voltage" in advanced tab of the parameter configurator really mean? #27

Open
wuwbobo2021 opened this issue Apr 4, 2023 · 0 comments

Comments

@wuwbobo2021
Copy link

It seems like the macro CAL_BAT_V in generated config.h corresponding to the parameter "Battery Voltage" is only used for battery capacity level calculation for Bafang display module, it is likely a factor to get battery voltage in 0.1 mV from ADC value (probably not mV, as described in https://github.com/EBiCS/EBiCS_Firmware/wiki/The-Lishui-Parameter-Configuator#basic-settings);

Macro CAL_V ("FOC Voltage") is used as a factor to get battery voltage in mV for EBiCS display option, I wonder how it is involved in FOC calculation. The default value 15LL<<8 makes battery voltage measuring incredibly sensitive; besides, the displayed voltage is stucked at 78 V in my installed EBiCS App, while it's not so in raw data received through Bluetooth.

Please tell me if I'm wrong. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant