hi, i have been working on this circuit for a while and i was wondering if someone could have a look at it to see if it will work https://easyeda.com/nathan.smith.04/crap
The circuit attaches onto an ardunio uno which will be programmed to control the digital potentiometer which will change the voltage going into the motor threw a buck converter, the motor is shunted to mesure the current passing threw it.
The circuit is meant for a small car that has a small power source and I needed as much power as I could get.
Controlling a motor by varying its supply voltage is not usually the best way, because the speed will vary according to the load. PWM is a more efficient method, with the duty cycle varied to maintain a desired speed if required.