screwyourscrew wrote: ↑
Sat Jan 18, 2020 12:12 pm
Edit: all this is referring to the ES200G
To everyone who wants (like me) to reuse the battery for another project.
I'm sure you've also encountered the issue that the battery cuts power after a couple of seconds.
Turns out that the ESC also communicates with the battery an thus "unlocks it".
After hooking up the logic analyser I figured the following out:
Every 5 sec (not 500ms in this case) the controller sends a "request status/unlock" signal to the battery on the BLUE (Tx) wire with 9600 Baud serail: 0x3A, 0x13, 0x01, 0x16, 0x79
Then the battery replies with an extensive status report on the GREEN (Rx) wire . I havent figured out what the individual bytes contain, but I don't think its really of relevance.
Below there is a dump of a couple of responses I collected (one line is one response, ignore the last comma). You'll find that only a few bits change over time, I assume those correspond to battery voltage/current outflow. The last byte changes heavily, so I assume this is again a CRC checksum.
So far I have no idea, what the YELLOW wire does, any input here is apppreciated, it seems to be constanly at LOW, measuremnts with a Multimeter show it at 0.8V, with irregular fluctiations to 0.5V. Maybe I need to hook it up to an oszilloscope, but I have none available at the moment.
Also I have to say that I did the measurements with a original controller where I already had the motor wire cut off, so there was no motor (with hall sensor) connected. This also meant that the display in the handlebar showed an error (7E) all the time. I don't know how this affects the "request status/unlock" signal the ESC sends.
Nonetheless when I programmed an Arduino to send the 0x3A, 0x13, 0x01, 0x16, 0x79 every 5 sec I was able to draw a lot of current for an unlimited time without the battry cutting anything off. (I connected another motor with my own Brushless Controller (VESC))