10th stepper driver from CONN LCD port
-
@tekstyle the A4988 is probably set such that it’s supplying way too much current for your little motor. You usually adjust the trimpot on the A4988 board, and measure the voltage between trimpot and ground to know what it’s set to. But what voltage you set it to depends on the driver board components. What board is it? Stepstick, Pololu, or random Chinese? See https://reprap.org/wiki/StepStick which has a lot of information about this. Post a good, close up photo of the A4988 board if you’re not sure.
Ian
-
@tekstyle also, looks like you wired the stepper motor wrong. Wire it 1A on the board to A+ on the motor, 1B to A-, 2A to B+, 2B to B-.
Ian
-
i got this driver off a anycubic kossel mini used. most likely chinese generic stuff. however the R5 resistor shows "30C". i read most generic stuff are 0.1 ohm but according to a SMD resistor code calculator i found online, "30C" = 20K ohm. sigh
-
i adjusted the current to .1V. still gets hot but doesn't burn to the touch anymore like it used to. my new settings below. This seems to work fine. 1910mm would turn it 1 revolution as stated based on the gear ratio. I have played with different microstepping in hope of reducing the heat and increasing the speed with no luck. I might need to look for a new gearbox with a smaller reduction. the A4988 input voltage is 12V during this test. Thank you for your help!
M584 U10 ; set drive mapping U axis as CONN LCD #10 tool changer. uses E0 endstop by default
M671 X20:400:20 Y20:141:330 s20 ; Z leadscrews are at (11,20), (411,141.7), (11,400). max correction 20mm
M350 X16 Y16 Z16 E16:16:16:16:16 I1 ; configure microstepping with interpolation
;M350 U1 I0 ; configure microstepping without interpolation
M92 X100 Y100 Z1600 U0.5 E400:400:400:400:400 ; set steps per mm
M566 X900 Y900 Z12 U9999 E120:120:120:120:120 ; set maximum instantaneous speed changes (mm/min)
M203 X6000 Y6000 Z180 U99999 E1200:1200:1200:1200:1200 ; set maximum speeds (mm/min)
M201 X500 Y500 Z20 U9999 E850:850:850:850:850 ; set accelerations (mm/s^2)
M906 X1700 Y1700 Z1700 E595:595:595:595:595 I30 ; set motor currents (mA) and motor idle factor in percent
M84 S30 ; Set idle timeout -
@tekstyle it’s the sense resistor value that’s really important and they are hidden by the heatsink. As you’re running it at such a low current, that won’t be doing anything (will barely do anything at high current either), so take it off and take another photo.
Did you need to rewire the motor wires to get it to work?
A motor that small isn’t going to have much performance, and possibly the stepper driver is having problems working at the bottom of its range. Now you know it works, perhaps try something a bit bigger.
Ian
-
@tekstyle I have the exact same breakout board running a set of TMC2130's for my Z-axis. I use a 24V supply into VIN (no need for the buck converter) and the 3.3V for logic from the Duet like you.
I've had similar problems with hot motors/drivers and irregular movement when setting it up. It mostly came back to the current settings. Originally I forgot to adjust the trim pot's and was running the drivers (and motors) way over their rated current and they got very hot very quickly. Luckily I think the TMC2130's had a thermal protection so shut down, giving some irregular, jerky motion and I shut it down before any lasting damage was done. @droftarts it may be worth adding a note reminding people about setting the trim-pots on the external drivers page? It's easily overlooked when you're used to the Duet's digipots....
In general I've found that, running them at high speeds, accel & jerk (like your config) still makes them susceptible to heating up and skipping steps. Microstepping has little effect on heat as you're still asking the motor to do the same motion at the same current, you're just feeding the motor a smoother step signal.
FYI, according to this https://reprap.org/wiki/Pololu_stepper_driver_board, A4988 stepsticks are typically fitted with a 0.05ohm sense resistor. At 0.1Vref, that would give a current of ~0.25A so you are already at the upper limit of what the motor can do. Typical advice for normal axis motors is to run them at 50-85% rated current to stop them getting too hot. Not sure how exactly you can relate that to your small motor, but you'll probably want to go lower then you currently are? As draftofarts said, you might get into issues being at the lower end of the driver's range.
You could change the gearbox, but you'll just be trading speed for torque if you use the same motor/driver/setup (not sure which is your limiter at the moment though?)
-
i don't think torque matters too much. the final gear is going to be turning a larger gear which will help multiply the torque that will be attached to a twist lock shaft and it only needs to do 1/2 turns CW and CCW. I'll play with the voltage and see if I can lower it some more without affecting the motion of the motor.
i am most likely going to keep it on full step. my understanding is that when it is not moving, only 1 of the phases will be energized at a time vs. half step. hopefully, this will reduce some of the heat.
-
Most stepper drivers run both phases at full current all the time when in full step mode. Whereas in microstepping modes, when one phase has full current the other has no current.
-
So I am building lifting dual extruder over Chinese coreXY machine.
And I decided to use this small stepper hacked to bipolar https://www.instructables.com/id/Driving-a-12V-28BYJ-48-Stepper-With-the-A4988-Step/
So I did read all the info in this forum and duet3d manuals .
First test with ramps board and 4988 as per manual and no luck at all
Then used E1 stepper conection and after some trial and error came up with this config , works relatively cool ( about 30 deg C) and quiet; Drives
M569 P0 S0 ; physical drive 0 goes forwards
M569 P1 S0 ; physical drive 1 goes forwards
M569 P2 S0 ; physical drive 2 goes backwards
M569 P3 S0 ; physical drive 3 goes forwards
M569 P4 S0 ;
M584 X0 Y1 Z2 U4 E3 ; set drive mapping
M350 U64 I0 ;
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X159.8 Y159.8 Z1600.00 U13100 E395.00 ; set steps per mm
M566 X400.00 Y400.00 Z12.00 U9999.00 E150.00 ; set maximum instantaneous speed changes (mm/min)
M203 X12000.00 Y12000.00 Z100.00 U360.00 E4200.00 ; set maximum speeds (mm/min)
M201 X1000.00 Y1000.00 Z100.00 U400.00 E1000.00 ; set accelerations (mm/s^2)
M906 X900 Y900 Z900 E1100 U90 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout -
*So I am going to run my second extrude trough a4988 on ramps board or go for duex5 in the future as I also plan a retracting nozzle cleaning brush with priming bucket