1. Final Project

This page has the documentation of the final project.


Full bike assembled


Electric bicycle Conversion Kit

The project ecompases the design and production of the conversion kit for bicycle which will be used as a mode of transport to reduce traffic jame and preserving the climate, as it will reduce the carbon footprint from fuel-powered cars.

E-Bike conversion kit controller

Motor Controller PCB for Final Project Masterpiece


What does It Do? Who has Done What Beforehand? What did You Design? What Sources did You Use? Materials and Components used
Component Type Source Est. Cost ($)
Power Transistor 2SC5200 Communica (Pty) Ltd South Africa 0.85
Voltage Regulator IC LM7805 Communica (Pty) Ltd South Africa 0.38
Temperature Sensors 24V Nyerekatech 3.46
Microcontroller Seeed XIAO RP2040 Nyerekatech 7.62
Capacitors Bulk X 10 Communica (Pty) Ltd South Africa 2.5
Resistors/Diodes Assorted pack Communica (Pty) Ltd South Africa 0.66
PCB Custom fab (1-layer, FR4 copper) From inventory
Heat Sink Aluminum Scrap
Battery 3.7V X 18 Li-ion Takealot South Africa 41.04
Display 16x2 I2C / OLE Nyerekatech 6.23
Motor 24V, 20A, 300rpm Amazon.com 38.99
Throttle 5V output signal Amazon.com 14.99
Parts and Systems Made Processes Used
UnitProcess Used
2D/3D DesignEnclosure and mount in SolidWorks
Additive Fabrication3D printing for enclosures
Subtractive FabricationCNC milling for metal sheet mount
Electronics DesignKiCad schematic + PCB layout
ProductionPCB milling
Embedded ProgrammingC++ with Arduino IDE (Xiao RP2040)
InterfacingThrottle, sensors, OLE
System IntegrationFull wiring and mechanical assembly
Questions to Be Answered What worked? What didn't? How Was It Evaluated?
Evaluation Metric Criteria
Functional Testing Smooth throttle control, no overheating
Safety Current limits enforced
Design Integration Clean, compact layout; 3D-printed case
Embedded Logic Sensor response, overvoltage/overtemp logic
Aesthetics and Packaging Finished housing and mounted connectors
Documentation Full BOM, schematics, code, photos, videos
Construction & Design

Motor holder: Cut from plasma cutting machine.

Throttle: The throttle has the ON switch which controls the power to the circuit board, provied signal to control the speed of the motor and displays the battery voltage.

Display Mounting: Made from PLA and pespex for visibility, 3D-printed with M3 screws, ensuring stability and visibility across riding conditions.

Power & Control

Power: USB-powered for prototyping (5V), with integration to a 24V-to-5V DC-DC converter (voltage regulator) for the full kit, ensuring sufficient runtime for extended rides.

Throttle System: Hall-effect signal and Seeed XIAO RP2040 (A0-D10 pins) ensure precise throttle control with exponential mapping for smooth response.

Technology & Safety

Monitoring: OLED display enables real-time data tracking (throttle, speed, battery, temperature, faults).

Fault Detection: The RP2040-based code for fault detection programmed to notify when errors and low battery detected, indicated by a red status LED.

Electronics: All components including battery are housed in a custom 3D-printed enclosure respectively, or a custom built container to protect against vibration, dust, and minor impacts during rides.

Safety Features: Includes throttle deadband (5%) to prevent jitter, exponential mapping for smooth acceleration, and fault-triggered torque cutoff for rider safety.


Assemling > Testing challenges Gallery
  • Full bike assembled




  • Design files
    Battery holder Solidworks
    Battery holder DXF
    Battery holder slicing
    Circuit box Solidworks
    Circuit box STL
    Circuit box gcode
    Circuit box cover Solidworks
    Circuit box cover STL
    Screen cover Solidworks
    Screen cover DXF
    Screen box Solidworks
    Screen box STL
    Motor holder Solidworks
    Motor holder DXF
    PCB PCB project
    Schematic
    Battery case Solidworks
    Battery case DXF