Stepper Motor to work like a DC
03 Apr 2024 16:04 #297511
by BonoCNC
Stepper Motor to work like a DC was created by BonoCNC
Hello folks,Is it possible to use a stepper motor operating as a dummy DC motor?
If yes, how can I do it without a step gen?Thanks!
If yes, how can I do it without a step gen?Thanks!
Please Log in or Create an account to join the conversation.
03 Apr 2024 17:09 #297515
by PCW
Replied by PCW on topic Stepper Motor to work like a DC
Not sure what you mean. A step motor always needs a step motor driver,
and those typically use step/dir commands (though other driver interfaces
are available)
You can treat a stepmotor/drive as a simple velocity controlled device (
say for a spindle) in LinuxCNC if that's what you mean.
and those typically use step/dir commands (though other driver interfaces
are available)
You can treat a stepmotor/drive as a simple velocity controlled device (
say for a spindle) in LinuxCNC if that's what you mean.
Please Log in or Create an account to join the conversation.
03 Apr 2024 17:35 #297516
by BonoCNC
Replied by BonoCNC on topic Stepper Motor to work like a DC
Yes, I want to put a stepper motor, with a stepper driver acting like a dummie motor.
The purpose is to rotate every 60degrees and stop when it triggers a sensor.
I can generate steps with an arduino. But there are any other options?
The purpose is to rotate every 60degrees and stop when it triggers a sensor.
I can generate steps with an arduino. But there are any other options?
Please Log in or Create an account to join the conversation.
03 Apr 2024 17:47 #297518
by PCW
Replied by PCW on topic Stepper Motor to work like a DC
This can be done with LinuxCNC in hal
Basically you set the stepgen to velocity mode
and then set the velocity to the desired cruise velocity
when you want motion and back to 0 when you want
to stop. The stepgen will obey the preset acceleration
bounds so you don't stall on start and stops
Basically you set the stepgen to velocity mode
and then set the velocity to the desired cruise velocity
when you want motion and back to 0 when you want
to stop. The stepgen will obey the preset acceleration
bounds so you don't stall on start and stops
Please Log in or Create an account to join the conversation.
03 Apr 2024 19:23 #297525
by BonoCNC
Replied by BonoCNC on topic Stepper Motor to work like a DC
It can be done like a 4th Axis? Or can be done turning on the motor when we turn on the machine?
Do you have an example?
Do you have an example?
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19194
- Thank you received: 6434
03 Apr 2024 19:46 #297533
by tommylight
Replied by tommylight on topic Stepper Motor to work like a DC
Yes it cn be like A axis, or it can be exactly A axis as that makes it possible to control from gcode.
And yes, it will also work to stop from a sensor, although having full positional control makes using a switch redundant.
And yes, it will also work to stop from a sensor, although having full positional control makes using a switch redundant.
Please Log in or Create an account to join the conversation.
03 Apr 2024 20:05 #297535
by BonoCNC
Replied by BonoCNC on topic Stepper Motor to work like a DC
It makes sense. The idea is to make a cleaner that work with a Geneva wheel principle. So I was thinking to "cut" dir signal (stepper driver) with an output reelay. And the stepper works continuously, only stop and go when that sensor triggers.
I saw that this principle is also used in some ATC mechanisms, but it uses a comp (I don't know what it is), and it is not necessary in this case.
Am I wrong?
I saw that this principle is also used in some ATC mechanisms, but it uses a comp (I don't know what it is), and it is not necessary in this case.
Am I wrong?
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19194
- Thank you received: 6434
03 Apr 2024 20:12 - 03 Apr 2024 20:14 #297537
by tommylight
Replied by tommylight on topic Stepper Motor to work like a DC
Is this for an existing machine with LinuxCNC control or just the axis alone?
For the latter, a simple pulse generator will do just fine, even an old transformer can make 50 or 60Hz pulses on it's own that can be used to run a stepper.
Small transformers are cheap and can be found on old radios/casette players/power adapters, etc. Use 2 resistors to bring the AC voltage to under 5V and wire it through the sensor to step pins on the drive.
Might be slow though...
Edit
Add a diode to prevent reverse polarity on input.
For the latter, a simple pulse generator will do just fine, even an old transformer can make 50 or 60Hz pulses on it's own that can be used to run a stepper.
Small transformers are cheap and can be found on old radios/casette players/power adapters, etc. Use 2 resistors to bring the AC voltage to under 5V and wire it through the sensor to step pins on the drive.
Might be slow though...
Edit
Add a diode to prevent reverse polarity on input.
Last edit: 03 Apr 2024 20:14 by tommylight.
Please Log in or Create an account to join the conversation.
03 Apr 2024 20:58 #297540
by BonoCNC
Replied by BonoCNC on topic Stepper Motor to work like a DC
To implement in a small Linux machine I built. I am doing some tests in my free time. I am a rockie, but very interested in learning more!
Thanks. I will try and keep you updated!
Thanks. I will try and keep you updated!
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19194
- Thank you received: 6434
03 Apr 2024 21:50 #297541
by tommylight
Forget what i said above about transformers n stuff!
Replied by tommylight on topic Stepper Motor to work like a DC
In that case, go with LinuxCNC for sure, it is magnificent once you get into it, and you can control stuff as you want, whatever that may be.To implement in a small Linux machine I built. I am doing some tests in my free time. I am a rockie, but very interested in learning more!
Forget what i said above about transformers n stuff!
Please Log in or Create an account to join the conversation.
Time to create page: 0.078 seconds