gnea / grbl

An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino
https://github.com/gnea/grbl/wiki
Other
4.07k stars 1.61k forks source link

[Feature] Microsteps config #695

Open johnboiles opened 5 years ago

johnboiles commented 5 years ago

On my branch I have a change to support configuring stepper driver microstep settings from the microcontroller itself. I needed this to support my Ultimachine RAMBo 1.4 board.

Is this something we'd want to include in the main grbl repo? I'm happy to make a PR to merge it upstream if so. Please advise!

bogdano830 commented 5 years ago

I have problem with DRV 8825 driver and NEMA 17 motor. By default microstep is 32. I have lead screw whit thread pitch 1 mm, and i need configure my axis step to 6400 stem per mm. And my board go down with COM port to USB micro scheme heating and not connect to PC, after i try axis movement Laser. I need configure my board to step 6400 per mm or disable microstep. Is a bug, that my board go down with 6400 steps/mm?