Skip to content

How to configure steppers (Stern SPIKE)

Related Config File Sections:

Node board on Spike support up to four steppers. Steppers connect to light outputs on the board and a homing switch (which may be on another board). We guess that they are hardware-wise similar to the StepStick (but that does not matter if you are using an existing machine).

To configure a stepper in Spike you can use the following example:

    number: 11-4
    number: 10-0
    homing_mode: switch
    homing_switch: s_stepper_home
      speed: 20
      light_number: 10-10
      100: test_1
      200: test_2
      500: test_3

This will configure Stepper 0 on node 10. You can choose a number from 0 to 3. Which ones does not matter but you can only use every number once.

Then you need to look up the motor reference number in your manual. This is an example from Game of Thrones LE:


We are interested in 10-LP-10. This is used as light_number above. 10-LP-11 is not used and we guess that Spike automatically uses the next output as well.

The home switch is called Dragon Home in GoT and has the number 11-SW-4 according to the manual. We configure is as s_stepper_home in this example.

You can change speed and homing_speed to configure how fast the stepper will move. See Stepper Motors for more details about steppers.

What if it did not work?

Have a look at our SPIKE troubleshooting guide.

Something missing or wrong? You can fix it!

This website is edited by people like you! Is something wrong or missing? Is something out of date, or can you explain it better?

Please help us! You can fix it yourself and be an official "open source" contributor!

It's easy! See our Beginner's guide to editing the docs.

Page navigation via the keyboard: < >

You can navigate this site via the keyboard. There are two modes:

General navigation, when search is not focused:

  • F , S , / : open search dialog
  • P , , : go to previous page
  • N , . : go to next page

While using the search function:

  • Down , Up : select next / previous result
  • Esc , Tab : close search
  • Enter : go to highlighted page in the results