Ebike Speed Controller System Stm32

Download Project Document/Synopsis

Nevon Air Water Pollution Sensing Smart Watch


Ebikes are the transport medium of our future. We are moving towards the electric vehicles era leaving behind the fuel based mechanisms. Well in case of ebikes there are 3 major components required.

  • Ebike Motor
  • Ebike Battery
  • Ebike Controller

We here propose to develop and test a working ebike controller. The ebike controller will be performing the following operations:

  • Getting throttle inputs
  • Controlling motor speed as per throttle
  • Getting Speed Value’s and displaying on display
  • Starting and shutting down bike as per start switch

The system makes use of an STM32 controller along with a throttle input, speed sensor for tyre speed, switch, motor driver, ebike motor, battery and OLED display to develop the system. We will hereby focus on throttling and speed display part of ebikes while developing this controller.

The STM controller constantly monitors the throttle values. The throttle consists of a throttle position sensor (TPS). Non contact type TPS work on the principle of Hall effect or inductive sensors, or magnetoresistive technologies, wherein by and large the magnet or inductive circle is the unique part which is mounted on the butterfly valve choke spindle/shaft gear and the sensor and sign handling circuit board is mounted inside the ETC gear box cover and is stationary. At the point when the magnet/inductive circle mounted on the spindle which is rotated from the lower mechanical stop to WOT, there is an adjustment of the magnetic field for the sensor. The adjustment of the magnetic field is detected by the sensor and the voltage created is given as the input to the ECU.

The Throttle signal is processed by the controller and it then operates the motor through motor driver. The motor voltage is varied as per throttle values in order to control its power and speed. Also the controller constantly monitor speed sensor values. The peed sensor works on hall effect principle to constantly transmit the wheel RPM. This RPM value is displayed on the LCD display by the controller. The motor speed and sensor monitoring is turned off when the main switch s turned off. The complete process restarts as soon as the switch is turned on. Thus we successfully develop and test our own Ebike controller using STM32.

nevonproject electronics kits
nevonproject electronics kits
  • Components
  • Stm32 Controller
  • Battery
  • Throttle
  • Speed Sensor
  • OLED Display
  • Ebike Motor
  • Motor Driver
  • Buzzer
  • LED’s
  • PCB Board
  • Resistors
  • Capacitors
  • Transistors
  • Cables and Connectors
  • Buoy Body Frame

Block Diagram

Nevon Ebike Speed Controller System Stm32