Hello everybody. I am in need of some assistance with editing the firmware to

@Ariel_Yahni_UniKpty ok. So that says for a 5/16 lead screw you need to be at 2267.72 steps per mm. But when i set that it just makes the motors wine. So something else is set wrong. Should i turn mm per min up higher then 300? Or what?

R u building a cnc? Or this is for the Z axis on a printer? Nevertheless do as Marko said. Lower the spm to something you can get motors moving. Issue a X movement of 100mm but make sure you mark the beginning of physically so you can measure the distance once it move. That number you need to apply the following formula http://www.aquickcnc.com/wiki/Stepper_Motor_Calculations

This is for a z axis. I just tried changing the 300 to 3000 and then to 30 for the mm per min speed. That didn’t help. Same wine. The smoothieboard is set fixed at 1/16 step right? Motors are 1.8 degree steps. I must be missing something here. I am pretty sure i had 2267.72 steps per mm setting on a printrboard that worked just fine.

Yes 1/16, and your number seems to be correct

Well i am calling it a night. Need more sleep. This is still not working at that high setting. Will have to go digging if someone doesn’t share some settings. I wish there was more information out there about the settings people are using. Would love to know how people get these awesome prints using a bowden style extruder.

@Ariel_Yahni_UniKpty you have been very helpful. Thanks.

It sounds like your default feed speed for homing and probably max feed speed for the z axis are set to high. I had the same sort of issues when attempting to tuning the z axis of a printer for faster movement. Set the feed speed for homing/max speed to a much lower value and keep going lower until you get smooth movement that you expect.

@Alex_Hayden Also try to lower your acceleration! If the board tries to accelerate the stepper to hard, this will end in stall as well!

Ok i have tried a few different settings on the default feed rate and the max feed rate and the acceleration. Current values are 0.01 0.02 0.1 respectively. This does let the motors move. But they start moving very slowly and will gradually increase till they stall. I have the motors out of the printer for testing purposes. And i am not triggering the endstops untill they stall. There has to be an easier way to get the best setting. I am no math wiz but surely math can be used to find the best setting.

200 steps per revolution x 16 micro steps = 3200 microsteps per revolution.

According to the step calculator for a 1/16 micro step controller 2267.72 steps = 1mm of travel on a 5/16 threaded rod. Which has a pitch of 1.41111 mm per revolution. Which would be = 3200 micro steps.

Look for these two settings and lower them down to 1mm/s gamma_fast_homing_rate_mm_s and gamma_slow_homing_rate_mm_s - or what ever axis you are working on.
See if that helps, if this helps you can increase the rate to a higher speed that you feel comfortable with but doesn’t cause stalling. Make sure to set the slow rate much slower than fast to get an accurate home position reading.

@Bouni ​@Beau_H ​@Ariel_Yahni_UniKpty ​@Richard_Marko ​ Doesn’t max feed rate limit acceleration? Once you accelerate to the max feed rate it should stay at that speed until it hits the end stop, also in the case on movement for a line it will accelerate to the max feed rate and then decelerate just before the end of the line. That is correct right?

@Beau_H I think you just answered my question. So they have a different feed rate for homing basically. They call it homing rate.

@Beau_H yup. That was the right thing to change to get my motors to stop running away with the acceleration till they stalled. Now just have to dial in on the right speed. Thanks.

Boy that sure was hard to find. I think all motion control and speed setting should be grouped together along with endstops. Would make finding the issue easier.