The paper established real-time computing algorithm of S Curve to control the process of acceleration and deceleration for step motor on the basis of a reasonable start frequency. Moreover, this paper used economic embedded ARM STM32F103RCT as the main control chip to control the step motor, which realized this designed real-time computing algorithm. Finally, the relevant testing indicated that the algorithm can realize the rapid response of start and stop for step motor, and can effectively avoid undesirable phenomenon of step losing, overshoot and oscillation.