FarmBot / farmbot-arduino-firmware

Arduino firmware that executes g-code like commands over a serial line to move the FarmBot and operate the tool mount
MIT License
421 stars 197 forks source link

the stepper moved too slow? #98

Closed yunfan closed 5 years ago

yunfan commented 7 years ago

hi my friend bought a farmbot genesis, and found it moved too slow, well, if we replace the builtin arduino board to another one, they will become extreming fast, but lost acurracy.

currently i tried connect to that arduino directly with my pc and send gcode and other commands via serial console. the problem is they just act too slow while using G00 and G01.

i tried to add a duplicate PORTF |= B00000001; in StepperControlAxis::setMotorStepWrite54 and it made the x axis moved faster twice, but it might not the a right solution, just need some technical expanation

AscendFB commented 7 years ago

Hey did you check if there is microstepping active (jumpers below the stepper drivers)? I'm just asking because if its active, steps are beeing divided and a lower speed is the result. When you replaced the arduino (with the ramps I guess) you used one which had no jumpers connected.

yunfan commented 7 years ago

@AscendFB thanks for the information, i'll ask them to check that. also i notice that the newest firmware's version is 5.x , but it looks this repo only have 4.x code, so what were you guys updated? when will you release the code?

yunfan commented 7 years ago

@AscendFB also confirmed that our farmbot dont have divided enable

ConnorRigby commented 5 years ago

Closing due to inactivity.