Hacky Racers – Build a Motor

A powerful ‘brushless’* motor can be built very cheaply from a car alternator. The method is widely covered on the web, so we’ll just put a quick overview here.

Building a motor like this would only be done for the fun of it, really. There are now so many affordable brushless motor options available in the E-bike / E-scooter spares market that it’s questionable whether the effort of doing this is worth it.

Beware that it is easily possible to overspeed an alternator-based motor causing it to fail in a catastrophic way. It could even disintegrate violently. Design your controller to prevent this.

*Although the motor is 3-phase, has no commutator, and is driven by a standard brushless controller, there are in fact brushes in this motor. Unlike a true brushless motor it has field windings instead of a permanent magnet. It therefore requires brushes and slip-rings to carry the field current.

Howto Part 1 – Build the Motor

Obtain a reasonably modern 12V alternator. Ours is from a scrap Vauxhaul and cost £13 including delivery from ebay. The unit has no visible branding or specification, other than ‘Bosch’ on the regulator. The seller claimed it to have a 100A rating. Which might even be true.

The alternator itself is the cheap part of this experiment. Because you’ll also need:

  • A brushless motor driver capable of providing a significant current. A typical 1500W 48V “Chinese” E-bike/E-scooter brushless motor driver is ideal.
  • Something to control the motor driver. An E-scooter hall-effect thumb-trigger is perfect.
  • A 12S (48V nominal) LiPo pack or somthing capable of providing an equal amount of punch. About 10Ah is a minimum for a 10-minute race. Fit a fuse and an em-stop switch BEFORE experimenting.
  • A second, variable smoothed DC power supply capable of around 3V-6V and up to 3A. We use a bench power-supply which has both current and voltage control. Or you can use resistors (see below).

Begin by removing the rear cover and the regulator from the alternator. These parts are usually designed to be removed so they simply require unscrewing from the chassis. Chances are that the brushes are part of the regulator and – since you’ll need the brushes – you’ll have to keep the regulator to modify and refit later. Or use a 3D-printed brush-holder (see end of page).

Then disconnect the rectifier pack. On ours, this was external to the chassis. It was held in place by screws but also by having crimped and welded connections to the main copper coils inside the alternator. The crimps can easily be released by a small screwdriver, and the welds can be cracked using a pair of pliers.

Once the wires are disconnected, remove and discard the rectifier pack. (The rectifiers can be used to make fly-back protection diodes across the fuse and em-stop switch, if desired.)

If the brush pack is part of the regulator, then crack off the top of the regulator, use a drill/saw/ingenuity to break the connection from the +ve brush to the regulator circuitry, and use solder/self-tapper/ingenuity to connect a suitable conductor to the +ve brush. Optionally refit the top on the regulator. Refit the brush/regulator assembly to the alternator. Alternatively use a 3D-printed brush-holder.

Finally, wire up as shown here. Explanatory notes below. These show a model aircraft ESC being used, but this is far from ideal as it has limited low-end torque. Use an E-bike driver, for preference.

For DELTA connection:For STAR (‘Y’) connection:


  • There are three main coils embedded in the alternator chassis. With luck, each of their ends (six wires in total) will already be brought out at the rear of the chassis ready for connection. In our case the wires were neatly arranged ( start1 / end1 / start2 / end2 / start3 / end3 ). You may not be so lucky 🙂 and might therefore need to do some work with a multimeter to figure out which wire is which. You may even need to try a few different configurations before it works. In the worst case, you may need to split open the chassis to gain access to the individual coil ends.
  • For ‘delta’ wiring, connect each motor phase from the ESC/driver onto the ‘start’ of one coil and the ‘end’ of the adjacent coil. Use large diameter wire to connect – currents will be high.
  • For ‘star’ wiring, connect all the ‘ends’ of all three coils together. This creates the neutral point. The neutral point doesn’t require any input. Insulate it. Then connect each motor phase from the ESC/driver onto the ‘start’ of one of the coils.
  • If using the RedBrick ESC, then connect the ESC to a powerful DC PSU at about 20V. If using an E-scooter motor-driver then connect to a 12S LiPo supply.
  • Connect the +ve brush to the (+) terminal of a small, controllable PSU which can provide up to about 3A DC. Connect the (-) of that PSU to the chassis of the alternator and so to the -ve brush. Alternatively, see the resistor-pack wiring, below.
  • Clamp the alternator safely into place before powering up. Be prepared to turn off the power if – at any time – the motor is out of control.
  • Apply a voltage to the field brushes to attain a current of about 1A DC (if using the ESC) or about 3A (if using the E-scooter driver). Typically this will require a supply voltage of about 3V-6V.
  • Then power up the ESC/driver. Go through whatever set-up procedure it requires. Any signal ‘beeps’ made by an ESC will be audible from the alternator, just as they would be from any other brushless motor.
  • Gently apply throttle to the motor to start it.



Be aware that reducing field current will reduce the motor torque but will also dramatically increase the motor’s top speed – potentially to a dangerous RPM at which it could disintegrate. So always power off the motor via the ESC/driver before turning off the field current.


  • When using the model aircraft ESC, our motor worked best at about 20V-25V with a field current about 1A-2A.
  • In delta configuration the motor ran very well. It drew about 4A when unloaded but greatly more when accelerating up to speed.
  • It worked slightly less smoothly in star configuration. In particular attempts to accelerate sharply*** resulted in stuttering and power loss. On occasions when good performance was achieved the star-wired motor ran considerably slower and drew closer to 2.5A unloaded – both of which are in agreement with motor theory.
  • Swapping any two of the three motor-controller phase wires reverses the motor.
  • Reversing the field-current doesn’t reverse the motor.
  • When using the E-scooter controller, a field current of 3A was ideal and overall performance – especially low-end torque – was so good compared to the ESC that we would strongly recommend not using an ESC: get an E-scooter controller instead.

The field current on our Hacky is now provided direct from the 12S LiPo pack: we just put three 47 Ohm 50Watt resistors – wired all in parallel – in series with the field brushes. This gives us roughly 3A through the field windings. A better solution would be to use a buck step-down supply. Not only will this generate much less heat, it will draw only 0.8A from the battery instead of 3A, which still providing the full 3A through the field coils. Better still, the buck can be adjusted to change the field current, allowing the driver to choose their ideal trade-off between torque and top speed, possibly while on the move.

Here is our alternator installed in the Hacky. Note the resistor-pack (bottom-centre) and the heat-sink for dissipating the 150W of wasted heat they generate. E-scooter controller is at bottom-right and a 12S/15Ah LiPo is in the metal container at furthest right.

Howto Part 2 – Extract the Mechanical Power

Having a powerful motor is useful… but only if the power can be extracted via a mechanical transmission. Perhaps the best form of transmission for a Hacky-Racer is chain drive: it is extremely efficient, is easy to set up with a wide range of gearing ratios, takes up minimal space, and is widely and cheaply available. Typically a Hacky-Racer would use 8mm (TF8) chain with a motor-sprocket in the order of 10-tooth, and an axle-sprocket in the order of 50-70-tooth. But reliably fastening the 10-tooth sprocket to the alternator shaft is a bit tricky. Here’s one option.

Begin with a mild steel self-colour full nut which fits the alternator shaft. Typically a modern European alternator will use a right-hand metric-fine thread, perhaps M16 (16mm x 1.5mm). Into its very end fit a short length of steel. The steel should go no more than 2mm into the end of the nut, leaving plenty of thread clear. Suitable items to use include a short length of threaded rod (in our case we jammed in a length of regular M16 studding), a nut of a smaller diameter (say M12), or a short piece of heavy-walled tubing. Even a length of rebar can be used. The piece of steel must have a diameter no more than 16mm, otherwise it will foul the chain.

Weld the piece of steel into place.

Weld the sprocket onto the end of the piece of steel, by puddling through the central hole of the sprocket. We first dropped the nut/steel combination into a hex socket which acted as a guide for aligning the sprocket. The nut rests on the bottom of the socket and the sprocket is visually aligned with the rim, ensuring that both are central and parallel.

The end result.

Thread the nut onto the shaft. The original alternator lock-nut will help with removing the sprocket, if needs be.

The result is not perfect: there’s a long overhang which may create problematic bending forces in the shaft. We could certainly have used a shorter length of steel. But this one is good enough for first trials.

3D-Printed Brush-Holder

On our third alternator project, we grew tired of trying to hack a wire into the brush-pack and instead 3D-printed our own. This also has the advantage that both brushes are isolated from the chassis – reducing the risk of a short.

We used widely-available 6.5mm x 7.5mm x 13.5mm carbon brushes fitted in many power tools. These are larger than typical alternator brushes, and so will bear on the unworn parts of the slip-rings for greater reliability.

The design of the brush-holder is, of course, individual to each make and model of alternator. Our design is unlikely to fit your alternator so, sadly, you’ll have to design your own.

All the build ideas on this page are provided free and with no warranty whatsoever, in the hope that they may be useful. There are many undocumented hazards in our builds. So if you are attempting to emulate any of our builds do take appropriate precautions to protect against injury and loss. We have not documented those precautions.