Skip to content
Kit & Crank
Kit & Crank

Install

Programming a Bafang mid-drive

A fourteen-dollar cable turns a Bafang from a fixed appliance into something you can set up properly. Three settings do most of the work.

A laptop on a wooden workbench

Quick picks

Ranked on the published rubric. Tap any row for the full write-up; the price button goes straight to Amazon.

#ProductBest forScorePrice
1
Bafang UART programming cable (BBS01B/02B/HD)
Bafang UART programming cable (BBS01B/02B/HD)The 5-pin UART cable that turns a Bafang mid-drive from a fixed appliance into something you can set assist levels and current limits on.
Tuning a UART Bafang7.9
2
Bafang CAN-protocol USB programming cable
Bafang CAN-protocol USB programming cableThe CAN-bus counterpart. If your BBS02B arrived with a CAN display, this is the only cable that will talk to it.
Newer CAN-bus Bafang kits7.2
3
Bafang BBS02B 750W mid-drive kit (CAN, EKD01 display)
Bafang BBS02B 750W mid-drive kit (CAN, EKD01 display)The kit the whole hobby is built around: 750W nominal through your own gears, a 44T chainring, and a bottom bracket fit most steel and aluminum frames already have.
The default mid-drive8.6

#ad Links to Amazon earn us a commission. Scores are our editorial rubric, not product review ratings.

A Bafang mid-drive ships with factory settings chosen to be inoffensive, not to suit your bike. Reprogramming it is the single biggest improvement you can make to how the kit rides, and it costs about fourteen dollars.

First: which cable do you need?

Bafang mid-drives come in two communication protocols and they need different cables. There is no universal one.

UART or CAN
UARTCAN bus
AgeOlder and many current kitsIncreasingly standard on new kits
Cable5-pin, around $14Protocol-specific, around $30
Settings accessExtensiveMore restricted
Community toolsMature and well documentedFewer options
How to tellDisplay model, listing specificationListing usually says CAN

If you have the choice when buying, choose UART — the programming freedom is worth more than the electrical robustness of CAN on a conversion. If you already own a CAN kit, buy the CAN cable; the UART one will not talk to it.

The three settings worth changing first

1. Current limit at assist level 1

Factory settings often give level 1 a high percentage of full current, which is why the bike lurches when you start pedaling. Dropping level 1 to around 10 to 15% transforms low-speed control in traffic and on shared paths. This is the single most worthwhile change.

2. Start-up degree / pulse count

How many magnet pulses the controller needs before it believes you are pedaling. Lowering it reduces the delay between pushing the pedal and getting assist. Go too low and the motor engages when you roll the bike backwards.

3. Speed limit

Set it to the class you intend to comply with. 20mph keeps a 750W kit inside the Class 1 or Class 2 definition in most states; leaving it unrestricted puts it in Class 3 territory or beyond — classes explained.

Note the limit works from the display’s wheel-size setting, so set that correctly first or the cap will be wrong by the same percentage your speedometer is.

Settings to leave alone

  • Maximum current above the factory figure. The factory limit exists to keep the controller and motor inside their thermal envelope. Raising it is how people cook a BBS02B.
  • Low-voltage cutoff below the pack’s spec. Lowering it to get a few more miles over-discharges cells and shortens pack life.
  • Keep-current percentages at 100%. That is effectively running the motor flat out at every assist level.

The process

  1. Battery off. Unplug the display cable from the motor and plug the programming cable in its place.
  2. Connect the USB end to a laptop and install the driver if prompted.
  3. Turn the battery on. The motor needs power to communicate.
  4. Open the configuration tool, read the current settings, and save them to a file.
  5. Change one thing. Write it. Disconnect, refit the display, ride.
  6. Repeat. One change at a time — that is how you learn what each does.

A note on legality

Programming can reduce a kit’s output and speed, which is a genuinely useful way to make a bike comply with a local class definition. It cannot change the motor’s nominal rating, which is what the federal definition turns on — so a 1000W motor set to behave like a 750W motor is still a 1000W motor in law. Speed and wattage limits.

The picks in full

#1 · Tuning a UART Bafang

Bafang UART programming cable (BBS01B/02B/HD)

The 5-pin UART cable that turns a Bafang mid-drive from a fixed appliance into something you can set assist levels and current limits on.

E-Mangue Bafang UART programming cable (BBS01B/02B/HD)
$13.99 · View on Amazon

#ad Price as of the latest daily check. How this is funded

7.9/ 10 our rubric
Bafang UART programming cable (BBS01B/02B/HD) key specifications
ProtocolUART
FitsBBS01B, BBS02B, BBSHD (UART)
Connector5-pin female
InterfaceUSB

What works

  • Lets you cap speed or current to match a legal class
  • Cheap, and the only way to read the controller's real settings

Who should skip it

  • UART only — a CAN-bus motor needs the other cable
  • Wrong settings can overheat a motor; read before you write
  • Software is community-maintained, not vendor-supported

How it scored

Fit range
6
Usefulness
9
Install
9
Serviceable
7
Completeness
7
Value
9

Scores are editorial judgments against the published rubric, based on specs and the live listing. We have not bench-tested this kit.

#2 · Newer CAN-bus Bafang kits

Bafang CAN-protocol USB programming cable

The CAN-bus counterpart. If your BBS02B arrived with a CAN display, this is the only cable that will talk to it.

Varstrom Bafang CAN-protocol USB programming cable
$31.99 · View on Amazon

#ad Price as of the latest daily check. How this is funded

7.2/ 10 our rubric
Bafang CAN-protocol USB programming cable key specifications
ProtocolCAN bus
FitsBBS02B/01B/HD CAN versions
InterfaceUSB
Length100cm

What works

  • Correct protocol for current-production CAN kits
  • Longer lead than most UART cables

Who should skip it

  • Twice the price of the UART cable
  • CAN tuning software is more restrictive than the old UART tool
  • Will not work on a UART motor

How it scored

Fit range
6
Usefulness
8
Install
9
Serviceable
6
Completeness
7
Value
6

Scores are editorial judgments against the published rubric, based on specs and the live listing. We have not bench-tested this kit.

#3 · The default mid-drive

Bafang BBS02B 750W mid-drive kit (CAN, EKD01 display)

The kit the whole hobby is built around: 750W nominal through your own gears, a 44T chainring, and a bottom bracket fit most steel and aluminum frames already have.

Bafang Bafang BBS02B 750W mid-drive kit (CAN, EKD01 display)
$459.88 · View on Amazon

#ad Price as of the latest daily check. How this is funded

8.6/ 10 our rubric
Bafang BBS02B 750W mid-drive kit (CAN, EKD01 display) key specifications
MotorMid-drive, 48V 750W nominal
Bottom bracket68-73mm threaded (BSA)
Chainring44T single
ProtocolCAN bus, EKD01 display
SensorCadence (PAS) + thumb throttle

What works

  • Drives the chain, so it climbs using your cassette instead of brute wattage
  • Fits the 68-73mm threaded bottom bracket on most older hardtails and hybrids
  • Enormous spares and documentation ecosystem — nothing about it is orphaned
  • 750W nominal keeps it inside the federal Class 2/3 wattage ceiling

Who should skip it

  • Needs a crank puller and bottom-bracket tool, so it is not a 45-minute job
  • Wears chains and cassettes faster than a hub motor does
  • CAN-bus versions are harder to reprogram than the older UART ones
  • No battery in the box at this price

How it scored

Fit range
8
Power
8
Install
5
Serviceable
10
Completeness
7
Value
8

Scores are editorial judgments against the published rubric, based on specs and the live listing. We have not bench-tested this kit.

Questions people actually ask

Do I need a programming cable for a Bafang?

Not to ride it, but it is the cheapest meaningful upgrade available. Reducing the level-1 current limit alone transforms low-speed control.

What is the difference between UART and CAN Bafang kits?

Two incompatible communication protocols. UART is older, cheaper to program and far more configurable. CAN is more electrically robust and more locked down, and needs a different, dearer cable.

Can I make my Bafang faster by programming it?

You can raise the speed limit, which is a software cap. Raising the current limit above factory is how motors and controllers overheat, and it does not change the motor’s legal rating either way.

What is the best first setting to change on a BBS02B?

The current limit at assist level 1, down to roughly 10 to 15%. It removes the start-up lurch and makes the bike far more pleasant in traffic without giving up any top-end performance.

Sources