If you prefer, you don't need to build hardware but just use the dirty cheap 16€ chinese EBike motor controller that is firmware programmable - microcontroller STM8. It also has UART cable/interface ...
Abstract: This paper present the experimental case.comstudy, concerning the development of control mode for modern e-bike controller developed in Alba Iulia laboratory. The paper describes the stage ...