Maslow Home Maslow Community Garden Newsletter

Building a Maslow with Stepper Motors

Has anyone built a Maslow with stepper motors instead of servo motors? I’m on the list to be notified when more Maslow kits become available for purchase, but in the mean time I think I’m going to build one from scratch utilizing stepper motors instead (I have way more experience with them). Looks like I’ll be learning a bunch more about Arduinos and G-Code in the coming months. After watching the video’s I keep thinking of more and more projects I could do if I had one of these.

see the topic “stepper motor with gearbox” on the old forum (I can’t pull it up
to get a direct link easily, sorry)

the guy paid a developer to fork the maslow firmware to be able to drive stepper
motors and built a machine using steppers with gearboxes. He initially used a
planetary gearbox, but then moved to a worm drive gearbox

1 Like

Awesome, Thank you for the fast reply, I’ll check it out.

Hello!

I’m looking the option run this CNC with stepper this firmware https://github.com/algobasket/MaslowCNC-Stepper-Motor-Firmware can’t be compiled.

Do anybody have experience to run MaslowCNC with steppers any advise?

you still need to put a gearbox on the steppers, one that cannot be backdriven
(so a worm gearbox, not a planatary gearbox)

that code is old enough that it’s probably missing a fair bit in terms of
correction factors for things like chain sag. It’s probably only useful to see
about pulling the stepper driver code from. It would be nice to have that in the
main codebase (even if it’s a compile-time options) so that it doesn’t bitrot
like it has.

David Lang

I think the use on not gear box depend of the motor, stepper can fix the position

the problem with code, I can’t compile it and check it is it work or not.

I think the use on not gear box depend of the motor, stepper can fix the position

only when powered, when you shut down the power the steppers can move.

This would require that you keep the motors powered all the time, and re-do the
chain lengths/position each time you power on.

currently the code removes power to the motors all the time when it’s not
actually moving (and for a couple seconds after the move)

the problem with code, I can’t compile it and check it is it work or not.

the guy who did the port tried using planetary gears and found that it didn’t
work, he is the one who said that it needed to be a gearbox that cannot be
backdriven.

David Lang

currently the code removes power to the motors all the time when it’s not
actually moving (and for a couple seconds after the move)

I don’t think this is a problem, on the test i remover the signals from ardu and stepper was keeping position maybe this is my driver.

I just nee the code to check the possibility, now I can’t play with it.

For anyone interested

I am not using the maslow firmware but I would like to.

I am using
easel inventables
3 nema 17 with 27:1 gearbox (amazon) 2 for corners 1 for router

My router and plate is aprox 10lbs maybe a little more. at 500mm per min no steeping issues.

3d printed motor supports for 2x4 arms

1 nano cnc v4 board (amazon)

ring mounting kit for the router.

standard gbrl 1.1 (not modified!) I set the motors to not power down ever.
Even with motors powered down if the sled is stopped in the middle of the board it will not creep.
I park my g code in the middle when done.

I do the kinematics conversion in a separate program. I am adding minimum segment length to manage straight lines over distance.

I wish there was an option to do steppers in the maslow firmware. I am not good enough with code to add the option.

but for now I can get it to work.

Dave

1 Like

That is super cool!

The maslow firmware is built pretty different from regular GRBL and some of the interrupt driven stuff might make it a little tricky to port to using stepper motors…BUT…I’m working on a new controller based on GRBL which would make it very easy to run the stock maslow firmware so hopefully in the not too distant future it will be possible :slight_smile:

1 Like

one of your big problems is going to be determining your position. grbl is based
on the idea that you can home to get your position. homing a malow-style machine
is non-trivial (you can’t know that you can safely retract or extend a chain
without knowing (at least approximately) the length of the other chain.

David Lang

I bring the sled to a know place and set the x and y position(chain length).
My test setup had limit switches on each chain tensioner. This required the home position was off the work piece. My new plan is to add homing switches that I can move out of the way during normal operation but I can move them in to position to zero then after zero set the actual chain length in the gbrl. Only requires manually extending the chain beyond the sensors then flip them into place then home. maybe this method might be done for the origin maslow setup.

1 Like

The center of my work is my homing point currently. Yes it is a visual reference and not super accurate but for now until I get the home sensor working it works for signs and random cutouts. Not true dimensional work work. But it will be. Eh gives me something to do. It is pretty good for now I do need to come up with a calibration pattern correction program for the kinematics to get things dialed in. It is a fun project and help me get through covid19 lock down.

1 Like

I look forward to firmware that can run steppers. I am hacking this together a little but seems to have promise. Always willing to test the code when ready.

Dave

2 Likes

I have added a link to my homing sw prototype.

I set the screw flag to half the travel.

I set the sled to my center of work which is 48 in by 48 in.

Adjust sensor to trip when home = center of board.

Set x and y values after homing to expected chain length at center for x and y.

Open rocker switch to disconnect sensor from limit input to not impact chain travel. Only used for homing to know position.

The sprocket with be on the counter weight side of the sprocket not the sled side. Direct off the motor would be better but I want it to be able to retro fit to an existing machine using #25 chain.

Probably not the best location for the home sensor project but it is a continuation of the grbl 1.1 and steppers to make a maslow.

I will add more after I mount on the machine.

fyi 10 tooth sprocket aprox 20mm pitch diameter. 68mm per revolution

m8-1.25 threaded rod

about ±40 mm on sensor

40/1.25 * 68mm = ±2176mm aprox chain travel I think

1 Like