bafang-python icon indicating copy to clipboard operation
bafang-python copied to clipboard

This is an attempt to decipher the protocol which is used by Bafang Pedelec Motors like BBS01 or BBS02 and provide a python tool/library to communicate with these devices.

Results 7 bafang-python issues
Sort by recently updated
recently updated
newest added

Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.1.2 to 5.4. Changelog Sourced from pyyaml's changelog. 5.4 (2021-01-19) yaml/pyyaml#407 -- Build modernization, remove distutils, fix metadata, build wheels, CI to GHA yaml/pyyaml#472 -- Fix for...

dependencies

@philippsandhaus I'm interested in your project, do you have contact details I can reach you on?

Could you show me an example of how to write data to the motor? I tried but without luck :(

connecting to bafang M500 ``` 1 Michal:bafang-python kolisko$ /usr/local/bin/python3 --version Python 3.7.7 0 Michal:bafang-python kolisko$ ./bafang-test.py port: /dev/cu.usbserial-1410 req: b'\x11Q\x04\xb0\x05' resp: b'\x11Q\x04\xb0\x05' Traceback (most recent call last): File "./bafang-test.py", line...

Hi, I am trying to make an Arduino that can read and write to the Bafang Ultra motor. It uses the DPC-18 display. I have found out that the baudrate...

question

## Summary - import construct's `this` helper - use variable-length buffer in `write_cmd` based on `data_length` ## Testing - `python -m py_compile protocol.py` - `pytest -q` ------ https://chatgpt.com/codex/tasks/task_e_68ad6a955ee48324ac8076bdc358e936

codex

Bumps [future](https://github.com/PythonCharmers/python-future) from 0.17.1 to 1.0.0. Release notes Sourced from future's releases. v1.0.0 The new version number of 1.0.0 indicates that the python-future project, like Python 2, is now done....

dependencies
python