Bafang error 21: speed sensor without a signal
- Bafang BBS01B
- Bafang BBS02B
- Bafang BBSHD
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
- Switch the display off and on.
- 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.
- Disconnect the plug, check for dirt, oxidation and bent pins, reconnect firmly.
- Trace the cable from sensor to motor for chafing or breaks.
- Error persists: replace the sensor. If the cable is damaged at the motor, the controller is next. tool needed
Video
Replace: The speed sensor with magnet.
Do not replace: The controller, as long as the cable at the motor is intact.
Matching parts
Need to replace a part that is not listed here? Ask us by email at [email protected] or on WhatsApp at +43 5412 61963222.
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.