Danger: High Voltage & Safety
Never connect the battery to the controller while the motor wheel is still resting on the ground and someone is crouching near the bike. An unexpected startup can cause serious injury. Always lift the rear wheel off the ground before powering on for the first test.
Required Parts & Tools
Have these ready before starting the repair. Clicking links supports our free guides.
Replacement Parts Needed
- Rear Hub Motor Conversion Kit (48V 1000W)$180 - $320
Complete kit including the pre-laced motor wheel, KT or Sabvoton controller, throttle, LCD display, PAS disc, and wiring harness.
- 48V 13Ah Lithium Downtube Battery$200 - $320
Frame-mounted battery with a locking cradle and integrated BMS. Choose Samsung or LG cell configurations for reliability.
- E-Bike Brake Inhibitor Levers (Pair)$12 - $25
Sends a cut-off signal to the controller when either brake lever is pressed, immediately killing motor power for safe stopping.
- PAS (Pedal Assist Sensor) Disc and Magnets$10 - $20
Cadence-based sensor that detects pedalling rotation to activate motor assist smoothly without a throttle.
- Nylon Cable Ties and Adhesive Cable Mounts$6 - $12
For securing the wiring harness neatly along the frame to prevent chafing against moving components.
Tools Required
- Spoke Tension Meter$20 - $40
Used to verify uniform spoke tension when lacing the hub motor into a new rim, preventing wheel hop at high speed.
- Wheel Truing Stand$30 - $80
Essential for accurately straightening the laced wheel after tensioning the spokes.
- Spoke Nipple Wrench Set$8 - $15
Required for tensioning individual spokes during the wheel lacing and truing process.
- Metric Allen Key Set (4mm – 10mm)$8 - $12
For mounting the controller, cable guides, and tightening axle retention bolts.
- Cable Crimping Tool and Heat Shrink Kit$18 - $35
For safely terminating and waterproofing any wiring extensions or connector modifications.
- Torque Wrench (5–25 Nm range)$25 - $60
Critical for tightening axle nuts to the correct torque without stripping aluminum dropouts.
DIYStep-by-Step Instructions
- Step 1 of 8
Measure Your Frame's Dropout Width and Axle Spec
Before ordering any kit, measure the distance between the two rear dropouts with a pair of digital calipers. Most adult bicycles use either 135mm Quick Release (QR) or 135mm–142mm thru-axle spacing. Standard hub motor kits come with 135mm OLN (Over Locknut Dimension) axles with M10 threading, which is compatible with the vast majority of steel and aluminum frames. If your frame has carbon dropouts or a bolt-through thru-axle standard, you will need a specialized adapter. Record the measurement before purchasing.
Schematic FIG. 1DIYPEV Technical LabMeasuring rear dropout width on a bicycle frame with digital calipersReference Blueprint SchematicAlt description tag verifiedScale: NTS (Not To Scale) - Step 2 of 8
Remove the Existing Rear Wheel
Shift your chain onto the smallest rear sprocket and smallest chainring to give maximum chain slack. Open the quick-release skewer or unthread the axle nuts (typically 15mm). Pull the wheel backward and out of the dropouts, easing the chain off the rear cassette or freewheel sprocket. Remove the cassette or freewheel from the old wheel using a cassette lockring tool or freewheel remover, and set it aside — you will reinstall it on the hub motor wheel.
Schematic FIG. 2DIYPEV Technical LabRemoving the existing rear wheel from bicycle dropoutsReference Blueprint SchematicAlt description tag verifiedScale: NTS (Not To Scale) - Step 3 of 8
Install the Cassette or Freewheel on the Hub Motor
Thread your existing cassette or freewheel onto the hub motor's freehub body or freewheel thread. For a cassette, stack all sprockets and spacers in order, then tighten the lockring to 35–40 Nm using a cassette tool and torque wrench. For a screw-on freewheel, use a freewheel remover tool and tighten clockwise to 35 Nm. If the hub motor came with a pre-installed sprocket, skip this step unless you need to change the gear ratio.
Schematic FIG. 3DIYPEV Technical LabInstalling a bicycle cassette onto the hub motor freehub bodyReference Blueprint SchematicAlt description tag verifiedScale: NTS (Not To Scale) - Step 4 of 8
Seat the Hub Motor Axle in the Dropouts
Feed the motor's wiring harness downward through the chain stay side of the frame (non-drive side). Lower the hub motor axle into the rear dropouts, ensuring the anti-rotation washers (torque arms) sit flush against the outside face of both dropouts with their retaining tab engaged in the dropout slot. Without torque arms, the motor's reaction torque will rotate the axle and strip the aluminum dropout. Thread the axle nuts by hand first, then torque to 25–30 Nm. Re-route the chain over the smallest rear sprocket.
Schematic FIG. 4DIYPEV Technical LabSeating hub motor axle in rear dropouts with torque arms installedReference Blueprint SchematicAlt description tag verifiedScale: NTS (Not To Scale) - Step 5 of 8
Mount the Controller on the Frame
Locate a suitable mounting position for the motor controller on the frame's down tube or seat tube. Most controllers arrive with a neoprene bag and hose clamps for frame mounting. Position the controller with the wiring connectors facing downward and rearward to allow water to drip away. Route the thick three-phase motor wires (typically blue, green, yellow) down the chainstay to the motor plugs. Do not connect the battery XT60/XT90 plug at this stage.
Schematic FIG. 5DIYPEV Technical LabMounting the motor controller in a neoprene protective bag on the bicycle frameReference Blueprint SchematicAlt description tag verifiedScale: NTS (Not To Scale) - Step 6 of 8
Install the Display and Handlebar Controls
Mount the LCD display on the handlebars using the supplied clamp, positioning it where it is readable without obscuring your forward view. Install the thumb throttle (or twist throttle) on the right-hand grip side. If you are installing brake inhibitor levers, replace your existing brake levers with the inhibitor versions. Connect all handlebar component plugs into the wiring harness following the color-coded labels. Most modern KT controllers use uniquely-sized waterproof connectors that are physically keyed against incorrect insertion.
Schematic FIG. 6DIYPEV Technical LabInstalling the e-bike LCD display and thumb throttle on handlebarsReference Blueprint SchematicAlt description tag verifiedScale: NTS (Not To Scale) - Step 7 of 8
Mount the PAS Sensor and Cable the System
Slide the PAS sensor ring onto the bottom bracket axle (between the left crank arm and the bottom bracket shell). The sensor's magnetic disc must face the sensor body. Secure the sensor housing to the chainstay with the supplied zip ties, ensuring the sensor tip is within 3mm of the magnetic disc. Route the PAS cable up the frame to the controller harness connector. Now perform a full wiring audit: connect all phase plugs, hall sensor plug, PAS plug, brake plugs, display plug, and throttle plug. Leave the battery disconnected.
Schematic FIG. 7DIYPEV Technical LabInstalling the PAS cadence sensor ring on the bottom bracket axleReference Blueprint SchematicAlt description tag verifiedScale: NTS (Not To Scale) - Step 8 of 8
Power-On Test and Calibration
Lift the rear wheel off the ground using a bike stand or by leaning the bike against a wall. Connect the battery XT60 plug to the controller. Power on the display. The display should illuminate and show voltage and assist level. Test the throttle — the rear wheel should spin smoothly without jerking. Test each brake lever independently and verify that motor power cuts immediately when any brake is engaged. Test all five PAS levels by pedalling slowly and confirming progressive power increase. Take the bike for a low-speed test on a flat surface before riding at full speed.
Schematic FIG. 8DIYPEV Technical LabPerforming a rear wheel spin test with the e-bike lifted off the groundReference Blueprint SchematicAlt description tag verifiedScale: NTS (Not To Scale)
Hub Motor vs. Mid-Drive: Is a Rear Hub Conversion Right for You?
Rear hub motors are the most beginner-friendly e-bike conversion method. The motor is self-contained inside the rear wheel, wiring is minimal, and the drive train operates independently of the pedal drivetrain — meaning a broken chain or derailleur does not leave you stranded. You can still pedal the bike (albeit with added wheel weight) even with a fully depleted battery.
The principal trade-off versus a mid-drive system is efficiency on steep climbs. Because the hub motor drives the wheel directly rather than through the bicycle's gear system, it must work at a fixed gear ratio when climbing hills. This causes hub motors to overheat on sustained gradients above 8–10%, particularly at lower speeds. For mountainous terrain, a mid-drive system (such as the Bafang BBS02 or BBSHD) is a fundamentally superior choice. For flat to rolling urban and suburban commuting, a rear hub motor is exceptionally practical and cost-effective.
| Factor | Rear Hub Motor | Mid-Drive Motor |
|---|---|---|
| Installation Complexity | Low – Swap rear wheel | High – Remove bottom bracket, route harness |
| Hill Climbing | Moderate – Fixed gear ratio | Excellent – Uses all bicycle gears |
| Motor Overheat Risk | Higher on sustained climbs | Lower – motor speed optimized by gears |
| Drivetrain Wear | Very low – chain not motor-loaded | Higher – motor stress on chain and cassette |
| Weight Distribution | Rear-heavy | Central – better handling |
| Cost (Entry Level) | $150 – $320 complete kit | $350 – $600 motor + battery separate |
| Compatibility | Most bikes with 135mm dropouts | Bikes with BSA threaded bottom bracket only |
Wiring the Brake Inhibitors: A Safety-Critical Step
Brake inhibitor levers contain a small magnetic reed switch that opens when the lever is pulled, cutting the signal to the controller's brake input line and immediately terminating motor power. On a bicycle without inhibitors, the motor will continue applying power while you attempt to brake — significantly increasing stopping distance. This is particularly dangerous in emergency stops where full brake force is needed simultaneously with zero motor force.
Test Brake Inhibitors Before Every Ride
Before each ride, perform a stationary test: power on the motor, lightly spin the throttle, and then pull each brake lever individually. The motor must cut power within 50ms of lever engagement. If the motor continues to run after the brake is pulled, the inhibitor connection has failed and the bike must not be ridden until repaired.
Protecting the Motor Cable Exit Point From Water Ingress
The most vulnerable point of a hub motor installation is where the three-phase and hall sensor cables exit the axle. Road spray and rain will track along the cables by capillary action and enter the motor housing if the exit point is not sealed. Apply a generous bead of dielectric grease around the cable exit, then cover with self-amalgamating (self-fusing) silicone tape wound tightly over the cable bundle and axle surface. This creates a watertight seal that can be unwound for maintenance without leaving adhesive residue.
Routing Tip: Create a Drip Loop
Route the motor cable in a downward U-loop before it travels upward along the chainstay to the controller. This drip loop ensures that water running down the cables falls off the lowest point of the loop onto the ground, rather than flowing into either the motor axle or the controller connector.