Getting starte: My first project: Cruise control for ebike

The throttle is a 0V-5V signal, which I can input either with a twist grip or a thumb throttle.