-
-
Notifications
You must be signed in to change notification settings - Fork 72
Feature: add daren 485v2 / SNS01 BMS support #168
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
Feature: add daren 485v2 / SNS01 BMS support #168
Conversation
22f39b8 to
df33f63
Compare
|
@mr-manuel Hi, I need some feedback on the naming... do you have any preferences... ie. is this a Daren485 V2 or is it a completely different BMS now and should we call it a SNS01_485? Cheers! |
71060b3 to
27dcb6e
Compare
|
Hi, what is written on the outside of the battery? PAPOOL? If the seller/manufacturer do not answer you it's a little bit hard to choose the right name. Else you can use the specific battery name, if you are not sure, that other batteries from the same manufacturer uses the same BMS. |
Their is no brand on the outside but it came from Papool who in the past always used the Daren485 JC03 boards. This is still basically the same protocol with just very slight changes and different baud rate. No details from manufacture on the BMS type yet. They have stopped replying... as usual. |
ed9d520 to
43f0c2f
Compare
|
Without opening it's then hard to guess which BMS exactly is used then. Just use a name you think most people will be able to understand what battery is compatible with. Maybe |
3b7c2d4 to
85867b1
Compare
470a39d to
985ae0e
Compare
1a28d4f to
c7e9e94
Compare
45f82a2 to
97724f8
Compare
|
I would really like to test this feature because I do plan to use both battery type (Daren and SNS01/KS48100/CER) in my system. |
|
@JoshuaDodds any updates on this? |
|
While working on a different implementation (BLE using ESPHome), we've came to the conclusion that "KS48100" seems to be the most common used name. |
|
Could you make a list with all the different names and brands you find for this BMS? So I add them to the documentation. |
|
Yes, of course. The list might be much longer because it seems to be the current "low cost"/OEM-BMS for chinese battery packs: 51.2V 16S:
12.8V 4S:
I would suggest to include the photo @JoshuaDodds took in his first comment because it's quite a good way to identify the BMS type. |
8a7ac61 to
f700964
Compare
newer Papool battery using the DR-1363 protocol
f700964 to
eb27876
Compare
|
The BMS was now added as Still open tasks:
|
So apparently PAPOOL switched either the supplier who they are sourcing complete battery modules from or the BMS manufacturer they are putting in their batteries. The first batteries they shipped were Daren based but the newer batteries they are shipping now indicate:
INFO:SerialBattery:get_serial: CER2408-04
INFO:SerialBattery:set hardware_version: SNS01 16S100A Ho20-T1 02.02.01
Other notable differences are 2 RS485 ports and a third 485/CAN port. RJ45 Wiring pinout is slightly different to the older Daren BMS as well but they are cross compatible (share pins 1 and 7 commonality). The OSD has changed as well:
I'm not sure if we should call these new bms SNS01, Ho20, or something else but for now this WIP PR proposes to add a new module which is fully working and based on the Daren485 module because this new BMS is largely similar just with some data moved around and placed slightly differently than the Daren boards.
I have not opened up this new battery yet so I really don't have a clue if the board is the same manufacturer as the Daren boards so I am not exactly sure how to call it. I basically figured out how to get communication working with it by sniffing commands sent from the new DrStartApp to the newer module and then sort of reverse engineered it from there to realize that there were only very minor differences between the Daren protocol and this one. Hence my decision to name it Daren485v2.
Mainly the differences are what seems to me to be a possible abandonment of the CID1 relevance (other than something needs to fill that byte) and a new SOI byte. There are some other subtle differences that might escape me but generally i think the protocol is mostly compatible other than the most important thing:
They switched from 19200 to 9600 baud ???
So... the need for a new module for these boards seems necessary to me. And here it is...
I will mark this PR as a draft PR for now so that the maintainers can suggest nomenclature changes if desired and give feedback.. but this module has been running stable now for about 12 hours now... seems quite happy and stable.
Just diff the daren_485.py file against this sns01_485.py one if you want to understand how this battery slightly differs from the older ones. 👍
PS. I will add the other MD file updates after we decide what to call this battery etc...