Control stepper motor pump with Arduino Uno, Current/Voltage signal, Square wave

This pump dispenses doses of a liquid by use of a diaphragm, i.e. in strokes. The analog signal tells the controller the amount to dispense, and the Start signal ejects just that dose.