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

Feature: add daren 485v2 / SNS01 BMS support #168

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

JoshuaDodds
Copy link

@JoshuaDodds JoshuaDodds commented Jan 19, 2025

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:

image

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...

@JoshuaDodds JoshuaDodds changed the title Feature add daren 485v2 / SNS01 BMS Feature: add daren 485v2 / SNS01 BMS support Jan 19, 2025
@mr-manuel mr-manuel force-pushed the master branch 2 times, most recently from 22f39b8 to df33f63 Compare January 20, 2025 07:31
@JoshuaDodds JoshuaDodds marked this pull request as ready for review January 20, 2025 09:34
@JoshuaDodds
Copy link
Author

@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!

@mr-manuel mr-manuel force-pushed the master branch 2 times, most recently from 71060b3 to 27dcb6e Compare January 21, 2025 20:34
@mr-manuel
Copy link
Owner

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.

@JoshuaDodds
Copy link
Author

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.

@mr-manuel mr-manuel force-pushed the master branch 3 times, most recently from ed9d520 to 43f0c2f Compare January 31, 2025 19:02
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

Successfully merging this pull request may close these issues.

2 participants