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: 3
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   1 W

1 W
Posts: 58
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: 3
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   1 W

1 W
Posts: 58
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: 3
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?

Post Reply