Position Control with StepperUNO
We will describe the usage of the Position Control V2.0 sketch for StepperUNO.
Push Buttons
The StepperUNO has 4 push buttons we will refer to as:
- SELECT
- LEFT
- RIGHT
- UP
- DOWN
- RST
Operation Modes
The SELECT button toggles between each of the 4 modes.
- DISABLED. (DIS) Motors are free running. No action can be done.
- MANUAL. (MANU) Motors are holding position. They can be moved using LEFT and RIGHT.
- STORING. (STO) Current position can be stored when pressing the RST button.
- CALLING. (CALL) Current position can be executed by the motor when pressing the RST button.
Position Memory
There are 32 positions that can be saved into memory. P0 to P31.
Buttons UP and DOWN allow to select the memory to work with.
When STORING mode is used pressing the RST button will store the current position into memory. When CALLING mode is used pressing the RST button will move the motor to the position in memory.
Current Position
The current position is shown on the top right of the lcd display. This position is also saved into memory and is persistent over reboots.
Position reset
To reset the current position to 0 press the RST button for more than 3 seconds.