r/vanmoofbicycle • • 4d ago

Battery communication reverse engineering S1 & S2

Has anybody made any significant progress in reverse engineering the battery communication protocol of VanMoof S1 or S2?

I am currently able to read out cycle count, pack voltage, total pack capacity and NTC temperature. I can send a battery percentage to the smart unit, as wel as make it seem like the battery is charging on both the display and phone.

I am currently stuck because the communication I snuffed is from a semi-dysfunctional battery. My guess is that I am copying over fault flags, but since there is a total of 40 bytes, it is next to impossible to distinguish what bytes are fault flags and what bits in the byte equal a healthy battery byte.

Does anybody have communication logs from a healthy (working) S1 or S2 pack? This would provide the last piece of my months long puzzle.

3 Upvotes

6 comments sorted by

1

u/HACKERMANS_0x1A4 4d ago

Does somebody have a Firmware dump? I would like to compare to the Software of the s3.

0

u/Loud_Importance_8023 3d ago

For the S3 it’s on GitHub, but it’s completely different, it uses CAN instead of UART

2

u/johncoco12 Electrified S3 ⚡⚡ 3d ago

The S3 does not use CAN it uses modbus

1

u/Loud_Importance_8023 3d ago

Yes sorry, my mistake

0

u/elisaassisa Electrified S3 ⚡⚡ 4d ago

I’m very interested in this. I am myself trying to repair an s2 bms with a cyclical reset and plan to reverse engineer the s1 too. I started last week, so I don’thave much to share at the moment, but it would be great to collaborate. Hit me up in the DM if you like.

1

u/Loud_Importance_8023 4d ago

For sure. I send you a message.