Activity › Forums › Questions & Troubleshooting › Hardware › Steppers on MINI
-
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!
-
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?
-
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.
regards
Marco
Log in to reply.