How to use Pololu Tic in MPF

Related Config File Sections
hardware:
pololu_tic:
tic_stepper_settings:
switches:
steppers:

The Pololu Tic is a stepper controller which can controll one stepper via USB. Multiple versions with different power rating exist but they all work the same from the perspective of MPF.

TODO: Add a picture of a Pololu Tic

Installation

To use the Pololu Tic you need to install ticcmd from Pololu. Follow their Installation instructions for ticcmd.

Connecting your stepper

Connect your stepper according to the Pololu manual.

Configuring your stepper

Afterwards, you can use steppers from MPF. This is an example:

#config_version=5
hardware:
  stepper_controllers: pololu_tic

switches:
  s_home:
    number: 1

steppers:
  stepper1:
    number: 1
    homing_mode: switch
    homing_switch: s_home
    named_positions:
      10: test_00
      20: test_01
      50: test_10
    platform_settings:
      max_acceleration: 20000
This example is tested to be valid MPF config. However, it is not integration tested.
#config_version=5
hardware:
  stepper_controllers: pololu_tic

switches:
  s_home:
    number: 1

steppers:
  stepper1:
    number: 1
    homing_mode: switch
    homing_switch: s_home
    named_positions:
      10: test_00
      20: test_01
      50: test_10
    platform_settings:
      max_acceleration: 20000

You can set certain pololu-specific settings in platform_settings. See tic_stepper_settings: for details.

What if it did not work?

Have a look at our hardware troubleshooting guide.