Duet 3 cnc, how to start? Make stepper motor turn?
I was hearing about the duet 2 for cnc, with the Ooznest Workbee and it got me excited.
Now I've gone ahead and bought myself a 1500x1500 Lead CNC and a Duet 3, because I thought it was the newest and most advanced controller I could get for my cnc without having to have a PC nearby. Also It would allow easy upgrades for future addition of multiple axes as well as e.g. a webcam hookup to keep a remote eye on the process.
Anyhow I now have it all ready but I don't even know how to test a single stepper motor. I do not have anything else than power, wifi connection and a single stepper motor attached to my now 24 volt duet 3.. How in gods name do I just even turn the single stepper motor ?? It's a Nema 23 and I have no clue at all on how to even turn it. Can someone show me how to turn it because I just am completely lost.
I would love the input because it seems like a total waste of money now, I just don't get it yet.
If you're connected to the web interface can you use the homing buttons? Have you setup the homing files? I assume you've never used a Duet before? Are you familiar with gcode at all?
You've jumped into the deep end, better get ready to swim!
I've used G-code for a giant Delta printer. I thought now that I have familiarised myself a bit with that better stick with it. Also I really liked not having to have the computer hooked up to the dusty cnc machine environment the whole time.... But yes indeed, never used a Duet before. Just looked at the RRF configuration tool and I miss my double axis for ...
Yes I need to get ready to swim.
@Phaedrux And to add to your reply, "set up the homing files?"
That's going to be my new google mission I'm afraid.
this guide is specific for an ender printer and maestro board, but the differences to cnc and duet3 are small.
If its already wired, skip to part 2, but reading part 1 might still be handy background info.
(the biggest one might be the configuration changes between RRF2 and RRF3, but the concept of homing files etc will be the same)
@bearer Thanks :), that's a lot to go through. Why did I go for the Duet again... for convenience and oh yeah to have a challenge. I think I found it
Was this a bad choice?
(Keeping fingers crossed that whilst I struggle someone whom has done it for a cnc with a duet 3 will just pop in with some great pictures and config files ready for me to make my own.)
and I miss my double axis for ...
don't think config tool support that, its meant for a starting point.
the basic config is the same regardless of z or x/y axis
so if you used drivers 1 and 2 for a dual y, specify
Why did I go for the Duet again..
at least you can edit a simple g-code file in a web interface rather than recompiling the firwmare for every little change. but there is a learning curve to everything.
Tsolsi last edited by Tsolsi
@bearer Thank you, I'll hopefully get to that somewhere this week I'd be delighted if I could get my single stepper motor that is sitting on my desk hooked up to my duet 3 to move... it is my goal for today I reckon, only 10 hours left...
Is that even possible? Say I have my duet 3 with rasberry pi 3b+ , stepper motor nema 23 hooked up to driver port 1... Can I get that to move without hooking anything else up
This post is deleted!
think you're approaching the problem in the wrong order of milestones.
set up networking, verify your endstops, set up your homing and work area then move the motors, by default the firmware prevent you from moving outside the work area, which requires the machine to be homed.
you can override with
M564 S0 H0
M564 S0 H0
I DID IT!!! oh well at least a little bit :D, that override made me able to click the Y+50 and it made the stepper motor feel a little vibrating.. it didn't rotate anything but there was a vibration! So something is working.. and something isn't probably as well. It shouldn't just vibrate but actually rotate hmm..
bearer last edited by bearer
it didn't rotate anything but there was a vibration!
low motor current or wrong wiring; again, if you read through the guide it'll take you through the "correct" order of operations
@bearer Thank you, I will now read all of it. I thought I already did once but I guess it just didn't hit home at the time. I'm going to give it another go. Your replies are very much appreciated.
I've looked over the wiring quite long before hooking it up and I was sure I had it all right. I found the pairs and matched the colors with others on the internet but apparently it doesn't do the trick just yet. Now let's see...
@bearer OHYEAH!!! Not enough current! That was the one, this is all the confidence I needed to continue on this journey, thank you! M906 X2400 Y2400 Z2400 I100 did the trick BOOYA , this makes a man so happy, mission accomplished!
I'm glad you got it working. However, I suggest you reduce the idle current below 100% if possible, so that the motors run cooler when the machine is idle.
What is the specification of your Nema 23 stepper motors?
NEMA 23 (High Torque)
Shaft Size: 1/4"
Step Angle: 1.8
Holding Turque: 2.45N.m
Rated voltage: 3.6V
Rated current: 3A
Since I'm a very much noob at the moment, what would be the advantage of having an idle current at all? The 100% I took from an Ooznest Workbee cnc example, standard is 30%?
webdes03 last edited by
@Tsolsi A gross oversimplification, but idle current is needed to prevent the motor from moving due to outside forces when not commanded to move. If you tell your machine to move to 100,100, it should move and hold 100,100 and you shouldn't be able to move it by hand once it's there.
That's why it's referred to as Idle Hold. The motors aren't doing hard work, so they don't need a lot of current, but they still need enough to hold position. Reducing the current lets them cool down.
M906 I sets the percentage of full current, and M84 S sets the amount of time to wait before considering the motors idle. Usually 30 seconds or so of inactivity.
A lot can be learned by looking up each gcode in the wiki to see what it does and how it works.