Bafang error 21: speed sensor without a signal

  • Bafang BBS01B
  • Bafang BBS02B
  • Bafang BBSHD
In short

The controller receives no wheel pulses. Without speed there is no assist; the display often shows 0 km/h. Nine times out of ten the magnet or the plug is not seated right.

Possible causes

Cause How likely Why
Spoke magnet twisted, too far away (more than a few millimetres) or lost. high most common case in every forum and in the Pedelecforum thread
Sensor plug loose, pins bent or oxidised, often at the 1T4 cable. high electricbike thread: bent pins after reconnecting
Sensor or cable damaged (caught in the spokes). medium standard case for replacement
Controller input faulty or parameters off (error only from higher assist levels). low one case was fixed by reprogramming

What you check

  1. Switch the display off and on.
  2. Align the magnet with the sensor: gap of a few millimetres. The sensor LED must blink as the magnet passes or stay lit after the first pass. Then it is fine.
  3. Disconnect the plug, check for dirt, oxidation and bent pins, reconnect firmly.
  4. Trace the cable from sensor to motor for chafing or breaks.
  5. Error persists: replace the sensor. If the cable is damaged at the motor, the controller is next. tool needed

Video

Speed sensor, no signal
Once everything is checked

Replace: The speed sensor with magnet.

Do not replace: The controller, as long as the cable at the motor is intact.

Matching parts

This product has multiple variants. The options may be chosen on the product page

Bafang BBS main wiring harness EB-BUS

40,33 € incl. VAT, plus shipping
☆☆☆☆☆
Verfügbar

Need to replace a part that is not listed here? Ask us by email at [email protected] or on WhatsApp at +43 5412 61963222.

Start the diagnosis for your motor:

Stuck?

Write to us through the contact form. Tell us which motor, which code and what you have already checked. A photo of the connector helps us most.

As of 29.09.2026

These checks are self-help. If you are unsure, stop and write to us. Statutory warranty for parts bought from us is handled by us. Content created with AI assistance and reviewed by FasterBikes.