Part

Speed sensor

The speed sensor reads a magnet on the wheel so the controller knows your speed. Most problems are the magnet or gap; a replacement must be made for your system.

The Pedalwise team started this page from official manuals, support pages and repair videos. Fixed this yourself, or spotted something wrong? Help improve it.

Battery and electrical safety. Lithium-ion batteries can catch fire if they're damaged or charged wrong. Never open a battery pack, and stop using any battery that's swollen, hot, wet or smells burnt. Every edit to this page is checked by a second person before it goes live.

A speed sensor works with a magnet on the wheel to measure how fast you are going. Bafang's dealer manual for its SR SD021 sensor explains that the sensor mounts on the frame, the magnet mounts on a spoke, and the controller works out riding speed from the pulses it receives (Bafang SR SD021 dealer manual).

A speed sensor is swapped at its plug for the part made for your system, or by a pro. Never cut and splice its cable, and remove the battery before you unplug it.

What it's used for

If the display shows no speed, or assist behaves oddly, check the magnet and the gap first with Align speed sensor magnet. Replace the sensor when its body or cable is damaged, or a shop confirms it has failed. See also No pedal assist and E-bike error codes.

What to look for

  • The right sensor for your system. Bafang sensors are sold by motor family. California Ebike lists a speed sensor for the Bafang Ultra M620 and G510 and a separate kit for the BBS02 or BBSHD (California Ebike cables and sensors).
  • The correct gap. For the SR SD021, Bafang specifies 10 to 20 mm between the sensor and the magnet (Bafang manual). Other sensors can differ, so check your own manual.
  • Cable length. Speed sensor extension cables are sold for some Bafang kits (California Ebike). Use one made for the system rather than splicing.
  • Keep magnets away. Bafang's handling notes say to keep the sensor away from strong magnets and magnetic materials and not to knock it during fitting (Bafang manual).

Typical price

  • California Ebike lists the Bafang speed sensor for Ultra M620 G510 at $34.95 (read Nov 9, 2026) (California Ebike).
  • California Ebike lists the Bafang speed sensor extension cable for BBS02 or BBSHD from $9.95 (read Nov 9, 2026) (California Ebike).

Where to buy

  1. Your bike maker's parts store or support team.
  2. For Bafang systems, a Bafang service center such as California Ebike.
  3. Independent specialists in Where to buy e-bike repair parts.
  4. A local shop, through find a shop.

Guides that use it

Sources

Stuck after these checks? Find a shop near you.

Need a pro?

If these steps didn't fix it, find a shop near you in our partner network. For battery or wiring trouble, look for shops marked Battery and electrical.

Talk

Questions, things that worked for you, or something that looks wrong on this page.

Sign in to join the conversation.

CC BY-NC-SA 4.0Text by Pedalwise and contributors, shared under CC BY-NC-SA 4.0. Linked videos and manuals keep their own terms. How to reuse it