In this project we will control a stepper motor with 4 coil windings. More information about the stepper motor can be found here. This example can be found by the examples provided in the simulator. The steps are shown in the video above.
Drag the stepper motor in the work space and connect the Arduino board first. Select the 4 coil windings. If you enter a value for the number of steps, press enter to send the data to the Arduino. Select the analog pin A0 for the speed slider. The stepper motor speed will be controlled by the potentiometer (slider). Sometimes the slider value is not received by the Arduino because the serial line is quite busy sending the stepper motor values back and forth.
You can restore saved setups by going under File and choose for ‘Restore settings’. Select the setup file and all the saved settings will be restored.