Bafang BBS01/BBS02/BBSHD has no power or cuts out
On a BBS kit the controller sits inside the motor housing, so 'the motor is dead' can mean the controller, the built-in hall sensors, the speed sensor or just a connector. This flow separates them using the display codes, the programming cable and a few connector checks.
What you need
- Multimeter
- Bafang USB programming cable (green 5-pin, about 15-25 EUR/USD) and a laptop with the Bafang config tool, optional but decisive
- Small flat screwdriver, Allen keys for the controller cover (BBS02/HD: 3 screws on the side cover)
- Dielectric grease
- Zip ties
LED patterns and what they mean
| Communication error between display and controller: display cable, 1-to-4 harness, or dead controller | |
| Speed sensor: magnet gap, sensor cable, or sensor | |
| Torque signal (BBS uses cadence; 25 on a BBS usually means a wrong display setting or a controller fault) | |
| Brake sensor active | |
| Throttle not at rest / throttle fault | |
| Hall sensor inside motor | |
| Phase wire or winding | |
| Controller over-temperature / controller temperature sensor | |
| Current sensor: usually a blown controller | |
| Battery-to-motor cable, XT60/Anderson connector, or controller input stage |
Step by step
Measure at the battery output: 36V system 40-42V, 48V 52-54.6V, 52V 56-58.8V. Then inspect the main connector into the motor (XT60, XT90 or Anderson). Look for browning, melted plastic or loose pins. Measure voltage at the motor side of that connector.
If OK: Full voltage arrives at the motor's power connector. Continue.
If not: No voltage at the battery: battery/BMS issue. Voltage at the battery but not at the motor: cable or connector, replace it. A scorched XT60 is a classic BBSHD fault on 30A+ setups.
Follow the thick cable from the motor to the splitter. Unplug and inspect the display plug (5-pin green or the newer round one), both brake plugs, and the throttle plug. Check pins are not pushed back and the arrows on the connectors line up. Reseat every plug firmly.
If OK: Display powers up after reseating, or was already working. Continue.
If not: Display comes on only when you hold the connector: bent or corroded pin. Replace the harness (cheap) before blaming the controller. Display stays dead with correct pin alignment: continue to step 3.
Unplug the display from the 1-to-4 harness. Plug the Bafang USB programming cable into the display port, battery on, open the Bafang config tool, select the COM port and click Connect/Read.
If OK: The tool reads the controller (firmware version, settings appear). The controller's logic side is alive and it can talk over UART. A display that stays dark is now the display or its cable. Note the settings and continue to step 4.
If not: No connection on a known-good cable and driver: the controller does not answer. Either it has no power (recheck step 1 at the controller input inside the housing) or its logic is dead. Continue to step 6.
With the display on, unplug both brake sensors from the harness and try the throttle or pedal. Then unplug the throttle and try pedalling only. Check the display for codes 03, 04 and 05.
If OK: No change with sensors unplugged, no 03/04/05 code. Continue.
If not: Motor runs once a brake sensor is unplugged: stuck brake sensor. Code 04 at power-on that clears when the throttle is unplugged: throttle stuck above rest voltage, replace it. Riding with brake sensors unplugged is a stopgap only.
Check the spoke magnet sits 5-10 mm from the sensor face and passes in line with it. Check the sensor cable where it enters the motor for chafe against the crank. Spin the wheel: does speed show?
If OK: Speed reads. Note: a BBS will still give assist briefly without speed, then throw 21 and stop. If 21 was your only code, you are done after fixing the magnet.
If not: No speed: reposition the magnet, replace the sensor (cheap). See the speed-sensor flow.
Battery off. Remove the side cover (BBS02/HD: three screws; BBS01: the cover under the cranks). Look at the controller board: bulged or leaking capacitors, burnt MOSFETs, brown discolouration, melted phase wires where they solder to the board, and water marks. Smell it. Check the 5V regulator area for scorching. Measure between the phase pads and the battery negative for a dead short.
If OK: Board clean, no smell, no shorts. Continue to step 7.
If not: Burnt components, blown MOSFET or a phase-to-ground short: the controller is dead. It is a bolt-in replacement (BBS02 about 60-120, BBSHD 100-160 EUR/USD). Check what killed it: water, a stalled climb at full throttle, or a shorted hall wire.
With the controller unplugged from the motor's internal connectors: measure phase-to-phase resistance (three equal, very low readings) and phase-to-case (must be open). Power the halls with 5V and check each of the three signals toggles as you turn the motor's primary gear by hand.
If OK: Halls toggle, phases equal and isolated: the motor side is fine. If the controller also looked fine in step 6, the fault is a controller that fails under load or a harness fault; swap the controller.
If not: Bad hall or open phase: motor stator side. Hall boards for BBS are available; a rewind is rarely worth it, a new stator or complete motor is the practical route.
If the bike works but stops on hills or at full throttle: watch the display voltage at the moment of cut-out. Check the battery's BMS rating against the controller current (BBSHD 30A needs a BMS rated well above 30A continuous). Check the display's low-voltage cut-off setting in the programming tool.
If OK: Voltage stays up and there is no cut-out under load: done.
If not: Voltage crashes then the display reboots: battery sag or BMS trip, not the motor. Voltage fine but assist drops after 10-20 seconds of hard climbing: controller thermal cut (error 10) or a shift-sensor/brake wire chafing intermittently.
What you now know for sure
- Battery, main cable or XT connector: No voltage reaches the motor or the connector is burnt. → Replace connector/cable; check BMS rating.
- Harness, display cable or display: Programming cable reads the controller but the display stays dark or shows error 30. → Replace 1-to-4 harness or display.
- Brake, throttle or speed sensor: Codes 03/04/05/21, or the motor runs once a sensor is unplugged. → Replace the sensor; adjust the magnet.
- Controller (inside the motor): Programming tool cannot connect, burnt components, or a phase short to ground on the board. → Replace the controller; find the cause first.
- Motor stator: halls or windings: Hall signal missing or phase open/shorted with the controller disconnected. → Hall board or new motor.
Manuals and video
Videos found on YouTube and checked automatically; they are other people's work, not ours.
- Bafang BBS Mid-Drive Motors: Most Common Problems & How to Fix Them Cyberbikes
- How to Program a Bafang Controller - BBS01 / BBS02 / BBSHD Settings Made Easy Cyberbikes
Frequently asked
What does Bafang error 30 mean on a BBS02?
Communication error between the display and the controller. Nine times out of ten it is the display connector, a bent pin in the 1-to-4 harness, or water in the display plug. If the programming cable also cannot connect, the controller itself has failed.
Can I bypass the brake sensors on a BBS kit?
Physically yes, you just unplug them and the motor runs. It is only acceptable as a short test. A stuck throttle or PAS with no brake cut-off is dangerous, so fit new sensors.
Is the BBS controller replaceable without a new motor?
Yes. On BBS02 and BBSHD the controller is a separate module on the side of the housing; on BBS01 it sits under the crank-side cover. It is a plug-in swap, but match the voltage (36V/48V/52V) and current rating to your original.