Bafang M400 G330.250 Configuration

Discussions related to motors other than hub motors.
This includes R/C motors, botttom bracket, roller and geared drives.
Post Reply
Cupraatjesmaker   1 µW

1 µW
Posts: 4
Joined: Feb 20 2019 10:06am

Bafang M400 G330.250 Configuration

Post by Cupraatjesmaker » Feb 20 2019 10:22am

Hello,

i have a e-bike with a Bafang M400 G330.250 motor and a C15.uart display (Branded with logo Cortina). I want to try to run the Bafang Configuration Tool and see if it is possible to remove de speed limit, and in the future maybe more settings.
I have read al lot of topics on this forum but haven't found an answer yet.
Changing the speed limit through the display settings is not possible i think. So i want to buy the needed configuration cable and connect it up to the bike and see what is possible.
Also would i like to know if it is possible to change the controlbuttons, so maybe i can use the "+" for extra pedal assist?
This cable:https://nl.aliexpress.com/item/EBike-US ... 4e732215-0
This is the engine:
https://www.bafang-e.com/en/drive-syste ... ystem.html
This is the display:
https://www.bafang-e.com/en/components/ ... 5uart.html
Image
Pictures of the bike:
https://www.mantel.com/cortina-e-octa-7v?spec[]=114
Last edited by Cupraatjesmaker on Feb 25 2019 2:32am, edited 1 time in total.

BotoXbz   10 W

10 W
Posts: 87
Joined: May 20 2018 7:00am

Re: Bafang M400 G330.250 Configuration

Post by BotoXbz » Feb 20 2019 10:56am

The cable that goes from the display to the motor, that's the UART cable.
Check if it has a HIGO connector that you can unplug, the programming cable attaches to the motor through that.

Also unrelated to your question but of interest to me:
Does your display show the remaining capacity and maybe even single cell voltages of the battery?
Is your battery connected to the motor only with two wires or are there additional wires?

Cupraatjesmaker   1 µW

1 µW
Posts: 4
Joined: Feb 20 2019 10:06am

Re: Bafang M400 G330.250 Configuration

Post by Cupraatjesmaker » Feb 20 2019 2:31pm

BotoXbz wrote:
Feb 20 2019 10:56am
Also unrelated to your question but of interest to me:
Does your display show the remaining capacity and maybe even single cell voltages of the battery?
Is your battery connected to the motor only with two wires or are there additional wires?
Battery info is available:
b01 = temperature
b04 = 45967mV
B06 = 20mA
B07 = 9230mAh
B08 = 15000mAh
B09 = battery percentage
B10 = battery percentage
B11 = battery charging cycle
B12 = 1776,0H
B13 = 106,0H
D00 = 12

D01-D12= cell info showing 3833mV

Battery is connected with 4 wires: red/black/blue/yellow.

I found the connector it was in the bicycle frame. :lol:

BotoXbz   10 W

10 W
Posts: 87
Joined: May 20 2018 7:00am

Re: Bafang M400 G330.250 Configuration

Post by BotoXbz » Feb 20 2019 3:06pm

Cupraatjesmaker wrote:
Feb 20 2019 2:31pm
BotoXbz wrote:
Feb 20 2019 10:56am
Also unrelated to your question but of interest to me:
Does your display show the remaining capacity and maybe even single cell voltages of the battery?
Is your battery connected to the motor only with two wires or are there additional wires?
Battery info is available:
b01 = temperature
b04 = 45967mV
B06 = 20mA
B07 = 9230mAh
B08 = 15000mAh
B09 = battery percentage
B10 = battery percentage
B11 = battery charging cycle
B12 = 1776,0H
B13 = 106,0H
D00 = 12

D01-D12= cell info showing 3833mV

Battery is connected with 4 wires: red/black/blue/yellow.

I found the connector it was in the bicycle frame. :lol:
Ahhhh that is so cool.
I made my own BMS firmware for an electric scooter, now I want to make it work with Bafang displays too so it works just like the original Bafang stuff.

Are the 4 wires of the battery going straight into the motor or do you see some sort of junction box / split anywhere?
My assumption is that the battery is connected to the same UART wires as the motor and display, to the "EB-BUS", and either the motor or the battery respond to the display.

Sadly I can't find any pictures of these systems on the net, only BBSxx which looks like this:
Image

As you can see only 2 wires from the battery there and no battery stats.

Edit: Actually I think it is just as I thought: https://www.bafang-e.com/en/components/ ... xxxxx.html
The battery and display are on the same UART bus.

Now I just need a bafang battery to reverse the communication ^^
Or somebody who would sniff the UART communication for me, either need two UART dongles or a cheap logic analyzer and connect that to the RX and TX pins on the bike.

Cupraatjesmaker   1 µW

1 µW
Posts: 4
Joined: Feb 20 2019 10:06am

Re: Bafang M400 G330.250 Configuration

Post by Cupraatjesmaker » Feb 22 2019 3:24am

You are hijacking my topic. :wink: maybe start your own?

Cupraatjesmaker   1 µW

1 µW
Posts: 4
Joined: Feb 20 2019 10:06am

Re: Bafang M400 G330.250 Configuration

Post by Cupraatjesmaker » Mar 21 2019 10:29am

I have read the Hackers Guide https://electricbike-blog.com/2015/06/2 ... the-bbs02/
Correct me if i am wrong but:
If i just want to remove the speedlimiter without adjusting anything else is enough to adjust the "By Displays Command" setting on the pedal assist tab to a desired speed setting?
Image

:roll:

tl1000s97   1 µW

1 µW
Posts: 3
Joined: Mar 18 2019 4:52pm

Re: Bafang M400 G330.250 Configuration

Post by tl1000s97 » Mar 21 2019 9:14pm

What you can do depends on the firmware installed. Both in the controller and in the display.
Bafang is not helpful at all I'm afraid.
I have BESST (tool) that may be used to update firmware and alter settings (UART) for the display (not the controller).
I have also been using BafangConfigTool.

The problem is that unless you have an account at Bafang *and* is the "brand"(or "assembler") of the bike/display, you will not be able to alter settings. You will have to be connected to Internet (to Bafang servers) to use BESST. And everything is logged.
Well.. you can *lower* the speed limit, but not set it higher than it was set by Bafang/"brand" they sell to.
You as the "end-user" (owner) must ask the "brand" (seller) about altering settings (if they are able to/wants to).
Absolute rubbish IMNHO.

BafangConfigTool works fine on a controller that have no "write-protection" (Newer controller do have "write-protection" from Bafang).

Display (aftermarked) from Luna, FasterBikes.eu.. others.. it is possible to change speed limit/wheel size.

I bought my first ("legal") kit (BBS02) last year, and to my surprise I was not able to alter settings in the controller, nor change max.speed/wheel size in the DPC-18. Not using BESST. Not using BafangConfig (Luna and Penoff).

Had to buy a "open" controller and another "open" DPC-18.

Since then I have bought other kits, but only from sources that sells non-OEM bikes/kits.

Lesson learnt.. :wink:

Post Reply