@Hopup ...
I am NOT trying to discourage you from retro-fitting a bike to make it an ebike ... I am simply suggesting this process, like the ATMEGA boards, is "mature" ... thousands and thousands of hours have been dedicated to engineering and testing various solutions to achieve the finely...