Skip to content

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

300px

Operation Modes

The SELECT button toggles between each of the 4 modes.

  • DISABLED. (DIS) Motors are free running. No action can be done.

300px

  • MANUAL. (MANU) Motors are holding position. They can be moved using LEFT and RIGHT buttons. Current position can be set to zero by pressing RST for more than 2 seconds.

300px

  • STORING. (STO) Current position can be stored when pressing the RST button.

300px

  • CALLING. (CALL) Current position can be executed by the motor when pressing the RST button.

300px

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.

In STORING mode the RST button will store the current position into memory. In CALLING mode the RST button will move the motor to the position in memory.

300px 300px

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 2 seconds in MANUAL or DISABLED mode.

AUTO mode

AUTO mode is enabled when the motor is moving. To cancel the move press the SELECT button to resume to DISABLED mode.