Learning library · electric
E-Bike Systems Lab
Four blocks, three phases, one pack. Learn what is inside the bikes sold on every marketplace, why it is built that way, and how to measure a fault instead of guessing at one.
Read this first: learn here, work at your own risk
These modules are here to help you understand how e-bikes and e-scooters work. They are not instructions to modify, repair, rewire or upgrade your bike or scooter, and nothing here is a recommendation to change anything on a machine you own.
If you choose to work on your bike or scooter anyway, you do so entirely at your own risk. You are responsible for every precaution you take, for your own safety and the safety of anyone nearby, and for any injury or any damage to your bike, scooter, battery, charger or property. I am not liable for any of it. Nothing on these pages is professional advice, and nothing here replaces the manufacturer's own manual for your machine.
A battery pack can release a lethal amount of energy in an instant, and a single mistake can start a fire that a household extinguisher will not stop. Read your manufacturer's manual before anything else. If you are unsure at any point, stop and take the machine to a qualified technician.
Safety before anything else
- · Treat every pack as live. A 48 V pack holds a lethal amount of energy and cannot be switched off by the key.
- · Never open a sealed pack to "check the cells" unless you can weld, insulate and rebuild it to the same standard it left the factory with.
- · Disconnect the pack before touching phase or hall wiring. A controller with a charged capacitor can still bite.
- · Measure with one hand where you can, on a fused meter, and never bridge the discharge terminals with a tool or a ring.
Battery stores the energy, the controller switches it, the motor turns it into torque.
Connector Atlas
Every power, charge and signal plug drawn, with current ratings and the order to assemble it.
The series
in the order it should be readController Types Compared: Square, Sine, FOC and Sensorless
IntermediateSix-step versus sine wave, hall-equipped versus sensorless, and which of them the common imported bikes ship with.
Hobbyist plan or above
Controller Area Network: How the Parts Talk to Each Other
IntermediateOne pair of wires, every device listening: what a CAN frame is, the protocols you meet on a bike, and how to prove the bus is alive.
Hobbyist plan or above
Throttles, PAS Sensors and Displays: The Rider Interface
IntermediateThe three inputs the bike actually reads: hall throttles, cadence and torque sensors, brake cutoffs, and what the display is really telling you.
Hobbyist plan or above
Motors: Hub, Mid-Drive and Gear Reduction
IntermediateDirect-drive and geared hubs against a mid-drive, what the reduction does to torque, and where the heat and the failures end up.
Hobbyist plan or above
Brakes and Regen: Stopping Force, Heat and What the Motor Gives Back
IntermediateThe arithmetic of a stop, why regen is a drag and not a brake, where it cuts out, and the pad, rotor and fluid numbers that keep the mechanical side honest.
Hobbyist plan or above
Battery Layouts: Single, Dual, Rack and In-Frame Packs
IntermediateHow the common marketplace bikes carry their energy, what dual-battery switching really does, and where each layout fails.
Hobbyist plan or above
Battery Chemistries: NMC, NCA, LFP and What They Mean for Your Bike
IntermediateThe four lithium-ion chemistries used on bikes and scooters, what each one is good at, and the arithmetic that decides your charger voltage.
Hobbyist plan or above
Inside the Pack: Cells, Construction and Why Packs Are Built This Way
Advanced18650 against 21700, spot-welded nickel strip, series and parallel arithmetic, and the engineering reasons behind the shape of a pack.
Hobbyist plan or above
BMS, Charging and Current Limits
AdvancedWhat the protection board is watching, why chargers are not interchangeable, and how a weak cell group shows up as a cutout.
Hobbyist plan or above
Pack Technologies: Cell Formats, Smart BMS, Swappable Packs and What Comes Next
Advanced18650 against 21700, welded against bonded, dumb against smart BMS, and why a pack that talks to the bike will not run on a controller that does not.
Hobbyist plan or above
Zero to 120 Volts: DC Systems and the AC Side of the Bike
AdvancedThe whole voltage ladder, the touch-current arithmetic that changes at every step, and the charger, inverter and DC-DC converter around the pack.
Hobbyist plan or above
Chargers and Charging Safety: Voltage, Current and the Green Light
AdvancedWhat a charger actually does to a pack, why the green light is not the end of the job, and the arithmetic that decides whether a charge is safe.
Hobbyist plan or above
Wiring, Fuses and Water: Building a Harness That Survives
AdvancedGauge, fuse and connector ratings worked out in numbers, plus the crimp, grease and drip loop habits that keep a harness alive through rain and salt.
Hobbyist plan or above
Lights, Horns and 12 V Accessories: The Second Electrical System
IntermediateThe 12 V rail behind the lights, horn and USB: converter arithmetic, fuse and gauge numbers, and why the accessory circuit is where most electrical faults start.
Hobbyist plan or above
Suspension and Tires: Springs, Damping and the Contact Patch
IntermediateSag, spring rate, damping and the contact patch arithmetic: how to set up suspension and tires on a bike that weighs 20 kg more than a bicycle.
Hobbyist plan or above
Range Arithmetic: Watt-Hours, Hills, Wind and Assist Levels
IntermediateWorked range arithmetic: pack watt-hours, the cube of speed, hill climbing, headwind and cold, and how to measure your own Wh per kilometre.
Hobbyist plan or above
Diagnosing Cutouts, No-Power and Range Loss on Imported E-Bikes
ProfessionalA measurement order that finds the fault instead of replacing parts: bus voltage under load, hall output, phase resistance, sense wires.
Hobbyist plan or above
There is no single e-bike wiring standard. Two bikes sold under different names can share one controller, and two bikes that look identical can differ in phase order, hall order and brake logic. Every module here teaches you to identify what you have before you change it, and to trust the label and the manufacturer's sheet over any general rule.