A bit a learning experience I have started working on a controller two years ago. Target is a mostly road legal bike for Europe, i.e. with speed limit, power limit and pedal sensor.
Main features are:
48V / 1000W
based on Atmega 328 microcontroller ("Arduino")
block or sinus + eventually...