Fill out above information andin all cases attach yourklippy.logfile (use zip to compress it, if too big). Pasting yourprinter.cfgis not needed Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there
Describe your issue:
Hello. I have this old reprap that a friend built and gave to me a long time ago. I got it working with he Mega250 board it had but it burned out, so I upgraded to SKR3 EZ, mainly to use klipper.
I set it up and everything is working (heating, thermistors, endstops, fan) except the motors. They are all STP-43D1034 NEMA 17, drivers are A4988, I measured vref and it’s .6v, that worked on the previous board.
Now I have a minimal config with just the X motor connected, I checked connections and they’re ok, it just doesn’t react. No resistance when I move the motor by hand when homing command is sent.
I tried connecting other motors and they all behave the same. What’s curious is that when I connected them all I sometimes got signs of life, they moved a bit or whined for a split second some time after command to move was given. It was random tho, I can’t point to anything I changed when messing with config that caused it.
I read through other similar topics and did not find a solution, I need your help. Thanks in advance
Did you put the motor voltage jumpers on for the drivers? One place uses the board power and the other uses the motor in power. If off the drivers get no power.
Is it possible that this board simply does not support A4988 drivers hardware-wise? At least the manual only talks about TMC and EZ-TMC drivers. Usually, these documents would also mention the “legacy” drivers.
Taking a quick look at the BTT SKR 3 EZ schematics and the A4988 Stepper Driver Module Schematics, I think the problem is that @chimken needs to activate some more IO pins using the output_pin statement and set them correctly.
The schematic for the generic A4988 Stepper Motor Driver is:
Looking at the klippy.log, @chimken has set up the EN/DIR/STEP pins correctly but Pin 5 of the A4988 stepper motor module, RESET, is not driven (it should be driven HIGH for the A4988 to work). This is MOT_MISO (MCU pin PE15) on the BTT SKR 3EZ
I believe that you should see your stepper motor drivers becoming active if you set PE15 to high using an output_pin statement in your printer.cfg set to high:
Now, once you’ve done that, you’ll have to set the MS1/MS2/MS3 pins using output_pin statements to give you the desired microstep value.
It worked! That’s it, thank you so, so much! You’re a genius @mykepredko <3
I wouldn’t have done it without you, as I don’t have much experience with electronics. But this was an important learning opportunity.
Thanks to everyone else for taking an interest in the discussion, you guys are awesome!
Going back to the A4988 Module schematic, pins come out as: MS1 Pin2 MS2 Pin3 MS3 Pin4
Now, when you look at the SKR3 EZ board, the three MS# pins are wired as:
Pin2 MOT_MOSIPE13
Pin3 MOT_SCKPE14
Pin4 Stepper Channel SPI Chip Select (#CS below)
You’re right when it comes to PE13 and PE14 but I don’t know where you got PE12 as the last of the three - Looking at the schematic it has the label LCD-D7 and setting it/not setting it will not affect the operation of any of the Stepper Motor Drivers. With what you have, you can’t control MS3 of your steppers.
What you need to do, is set the “Stepper Channel SPI Chip Select” pin for each of the steppers.
XCSPD5 YCSPD0 ZCSPE1 E0CSPC6 E1CSPD12
I presume that you’re setting 16 microsteps (which means all the pins are high) - remember to set that value in your [stepper_#] statment.
Can I ask why are you using A4988 stepper driver modules and not something more modern (ie TMC2209/TMC2240) or even EZ Modules?
I get that they’re dirt cheap and, if you’ve been doing 3D printing for a number of years, you probably have a bucket of them hanging around but they’re an absolute pain in the rectal hindquarters and a lot more work to get working right (ie setting the voltage using that miniscule pot).
Thank you for the correction, it seems I got only to 1/8 step before. I activated the pins you listed the motors sound even better, it worked.
As for why I am using those drivers - I got them with the printer, which I got for free and have been trying to get working for quite a while now. I treat it as a learning project, I want to get it working while being a piece of crap to learn and then update it. Plus it’s a matter of pride now XD
The new board is the only investment I made, but that was necessary because the old Mega burned out. Before this thread I didn’t even know that A4988 drivers are obsolete, now I plan on buying new ones for sure.