-
Notifications
You must be signed in to change notification settings - Fork 20
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
Help needed for communication with external BMS #4
Comments
Hello Andreas, |
Not sure if you still need my answer (the Github notification system is a bit crazy). The problem with charging is this: “...precisely is -1750mA”. The charging current must be lower than 1700mA, that’s the protection limit value and your charger is tripping it. Try lowering the current to something like 1650mA. |
@TheAndi any chance you still have that hackey code? I also just picked up some of these batteries for a separate project, and I'd love to have a look. Thanks! |
@rickyelopez I'll have a look soon and report back to you. |
Updated info: unlike the Xiaomi M365 battery that can be charged standalone, Ninebot ES battery requires an active communication to enable charging. No special requirements, just send any valid packet periodically (i.e. read status register). |
What is the payload to send over UART to get the unit to report the register values? |
cmd=01, arg=reg_index, payload = { size } Line 27 in 7e454d7
|
Downgrade the battery to BMS122 firmware. It doesn't have the communication check there. |
Has anybody tried reverse engineering the firmware or circuit? I gave the firmware a shot with this but didn't have much luck |
The circuit is pretty similar to this M365 schematic). |
Nice, thanks for that! I'd like to have the firmware that's running on it so I can modify it for use with other projects. The boards seem really solid, but the scooter firmware is no use to me without knowing how it works. |
Hey guys,
first of all thanks for the great work!
I got myself a external Ninebot (ES2) battery for my own DIY scooter.
So far this works kind off, but with some drawbacks.
My problem is, that I can't charge it through the charging port. When I apply the charging voltage to the battery, the blue flashing (heartbeat) LED flashes red and current only flows in short pulses (so no charging).
As you are quite experienced with this hardware, do you know what is required to make it charge with the charging port? Does it need the rest of the scooter and how does it sense its presence?
Nevertheless, I can charge the battery trough the P+/- connection (normally going to the scooter). But this might not be the intended way, so I'd be glad to get the other port working.
Then I also tried to communicate with the BMS using a FDTI breakout (I checked everything with the scope, so I'm very sure the electrical side is fine).
But this also doesn't work...
I tried several of your "readbms"-scrips but they get no response.
When I send commands to the BMS the blue LED starts flashing very fast but nothing else happens.
The only response I always get is a 0x00 in sync with the heartbeat (this stops when the LED flashes fast).
I would be very thankful for any advice!
Andreas
The text was updated successfully, but these errors were encountered: