Activity Forums Questions & Troubleshooting Hardware Steppers on MINI

  • Steppers on MINI

     paulsm updated 3 years, 11 months ago 2 Members · 4 Posts
  • paulsm

    June 11, 2020 at 5:43 pm

    Hello. I have 4 wire stepper (nema 17). I connected to MINI @ D4, D5, D6, D7. Or second option – 2 wires from both coils to GND and 2 wires to 2 outputs. I cannot get that motor to spin, I tried lot of ways, it just randomly vibrates, tries to spin somewhere, nothing`s clear here. Tried 4 different power supplies. I tried to use the same code I saw on controllino youtube (stepper example for one revolution). I just want it to spin. Can someone help me?

    For example

    “Stepper myStepper(stepsPerRevolution, 6, 7, 8, 9);” this leaves D2 and D4 leds active all the time and D3/D5 blinks together. Spent 2 days trying. Thanks in advance! Stay safe!

  • paulsm

    June 12, 2020 at 12:09 pm

    I just trid this simple:

    digitalWrite(pin1, HIGH);

    digitalWrite(pin2, LOW);

    UNO does give LOW, but controllino does not, is that a malfunction or that is how it works?

  • mr-controllino

    June 12, 2020 at 6:42 pm

    Hello PaulsM,

    It is working properly. The “problem” is that the CONTROLLINO MINI, MAXI, MAXI-A and also 12 outputs of the MEGA are High-Side Switches.

    Imagine a switch … that is ON and OFF. A switch does not force the output to GND. It simply disconnects.

    So you can only drive a unipolar stepper motor with it. So no 4 wire stepper will work. It only works with the 12 half bridge outputs of the MEGA.

    And if you use a stepper motor directly with CONTROLLINO … please make sure it has a high internal resistance. Because CONTROLLINO only has voltage outputs … there is no special current limitation.



  • paulsm

    June 13, 2020 at 5:54 am

    Thank You, Marco :)

Viewing 1 - 4 of 4 replies

Log in to reply.

Original Post
0 of 0 posts June 2018