-
Notifications
You must be signed in to change notification settings - Fork 37
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
Setting SoC #19
Comments
thanks, i have found the 21 command for months and implement it, but dont know about the time, not sure that the bms need a time. take a look at my PR, i think thats all correct for setting SOC |
I'm gonna try and pull that PR in soon |
Hi, I also want to set the SOC of the DALY BMS with the esp32, But I don’t know how. |
Changing the SOC is fairly simple:
All the registers before 10 are for a date/time format, not really interesting and if you keep them 0 the daly works fine. |
It is also possible to set SoC with the 0x21 command (RTC is also writted at the same time):
A5 40 21 08 - the usual header
160C0D151D27 - 6 bytes for the date/time. YY-MM-DD HH:MM:SS. This example 12/13/2022 9:29:39
01 2C - SoC: 300/10 = 30%)
C3 - checksum as usual
The text was updated successfully, but these errors were encountered: