So, if I'm going to use Mega as controller, what can I use as shield for 8 motors, I know that I can use drivers with solder-able breadboard, but is not only convenience, I need to make it compact without extra parts to place inside the assembly box
I'm using DC Jack for adapter to stepper, back pin connected to the center pin plus, front pin is ground according to adapter -C+, the third leg is not used, I do not even know its purpose, maybe I did something wrong way
aive:
Control works well with Arduino Uno, 12V power adapter and breadboard with driver. Pins for stepper 4 is
const int stepPin4 = 12; // a-stp
const int dirPin4 = 13; // a-dir
Post the program that works in that situation
Problem 1:
It is not constantly working loaded code, but stepper motor becomes extremely hot very quickly
What could be the reason of this?
It is natural for stepper motors to be hot (uncomfortable to touch) as they draw full power even when stationary. Are you sure you have set the current limit on the A4988 to match your motor?
Problem 2:
Still can't move it with CNC shield, here is my connection
Post the program that you are using for that test.
Does the shield require an enable signal for each motor?
Robin2:
You did not post the program that does not work? Or is it identical?
Treat yourself to a cheap digital multimeter it is pretty much essential. Get one that has the option of measuring up to 10 amps.
...R
Yes this is a simple program, it works, which I use to check both breadboard and CNC
Current limit decrease in manual with toothpick makes sense, with rotation about 25 degree, during 10 minutes it is practically cold but then temperature begins to increase
I'm not sure why, turning of working stepper with hand, somehow affects the work, steps begin to slow down the stroke, sometimes even to a full stop, as soon as I put it on the table, the rotation is stable, and shaft is very sensitive with contact, to stop rotation, enough touch it without pressure
Also what I found, above is one of two programs I use to check, one rotates with 360 degree full turn in one direction, another with change of direction on 360 degree. I can't stop movement by one or another way, depending on the load, even if I reset controller and load with Arduino IDE empty code, it performs the previous program, continues rotation or moving from side to side