Stepper motors can be controlled with Arduino Uno board. If we wish to change parameters of rotation on a computer, an interface is necessary. Python programming language is used for its development. An application is developed in Kivy library while serial communication is developed in pySerial library. The code is tested using a simple system with a stepper motor and a corresponding driver. With the computer, a speed of rotation and a number of steps in one turn are controlled. They are observable as frequency and a number of electric current pulses sent through windings of the motor.
|