My E-bike

In this page I explain how an electric bicycle is made and how it works using mine as an example

In the picture above I have circled the three most important parts of the bike:

  1. Handlebar
  2. Battery and controller case
  3. Motor

Let’s start with the handlebar

Here you see:

  • A. Ebike computer. It gives me several information about the bicycle like  battery voltage, external temperature and temperature of the battery, speed and distance travelled. I describe the computer in this posts: and  . An alternative with similar functionalities to what I am building is already commercially available (and has been for a few years) and it’s called Cycle Analyst.
  • B. Throttle and state of charge indicator. This is how I accelerate the bicycle giving the input to the motor to move forward. In the photo above, the state of charge indicator is off because the  motor controller is off. The state of charge is just an approximate way to determine if the battery needs to be recharged or not. This is the indicator with the controller turned on:
  • C. Watt meter. This is a meter that gives me several informations. I can see the battery voltage and the instant Amps drawn from the battery. But most importantly It displays the AmpsHours and WattHours used. This means being able to calculate or to have a rough idea of the energy/range left on the battery. At the moment I am using the Watt meter as a reference for my bicycle computer.
  • D. Li-ion battery used to power my e-bike computer.

Next is the battery and controller case:

  1. Battery. This battery is made with 120 Li-Ion “18650” laptop cells. I’ve build this battery myself using dead laptop batteries. You can find out more about the battery building and a video on these pages:  and The battery is 36v 24Ah nominal.
  2. Controller.The controller’s main task is to transfer power from the battery to the motor using the signal provided by the throttle. Controllers generally have many other features like LVC ,Regenerative Braking and Cruise Control. LVC means low voltage cutoff; if your battery drops under a certain voltage the controller stops working in order to protect your battery from being over discharged.  Regenerative braking is the possibility to recover the kinetic energy of the motor and put it back into the batteries. This function is not available for geared motors (like the one I am using on my bicycle) due to its mechanical characteristics.  The controller I am using is rated 36v 30A (but it can take up to about 60V due to the capacitors that are rated for 63v max). In my case I am using a small amount of power and the controller gets barely warm after a ride. If you plan to “stress” the controller using a lot of power it’s strongly suggested to keep it outside the battery box where it can get fresh air and cool down quickly if necessary.
  3. Key Switch. I used a key switch to turn the controller (and the whole system consequently) on. This is a feature that is implemented on most e-bike controllers. I could have used a simple lever switch but that would have made the bike available and ready for anyone who wanted to steal it.

And lastly the motor!

I am using a brushless rear hub geared motor. This means that the motor is in the wheel and uses a planetary system (good explanation and images here:, also the motor is without “brushes” and this reduces the maintenance of the motor to a bare minimum.

Hub motors are very simple to install and save a lot of room being inside the wheel and not on the bicycle frame.

In this image you see the wires coming out on the right side of the axle.

Details of the axle and motor wires

The wires go into the battery and controller case and are connected to the controller.

Some technical data:

Motor Bafang geared hub 500W brushless
Controller 36v 30A sensored with sensorless option
Battery Li-ion 10s12p – 36v 24Ah
Max speed 32 kph / 20mph
Range 50 to 70 km  – 30 to 45 miles

12 thoughts on “My E-bike

  1. le batterie al litio che ho comprato sono di 15 ha,ma c’è scritto massimo disponibile 1.8 A,mi succede che appena do un po più di accelleratore va in blocco,forse ha un limitatore,sapete dirmi se posso toglierlo?

    • Ciao Fabio,

      non so che batterie hai comprato, sei sicuro che vanno bene per la bici elettrica? Hanno un BMS? Ci vorrebbe una foto per capire o un link al prodotto. 1.8A sono pochissimi per una bici, ci vorrebbero almeno 10A continuativi e 18A di spunto.

      • le batterie al litio che ho comprato sono di 15 ha,ma c’è scritto massimo disponibile 1.8 A,mi succede che appena do un po più di accelleratore va in blocco,forse ha un limitatore,sapete dirmi se posso toglierlo?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s