3 votes

How to detect when a stepper motor has stalled?

You need to quantify : "I measured the current through (one of the 4 wires of) my stepper motor, and it's always within a few percent of 0.5 A". A 'few percent' may be all you need to detect a little ...
Wolly's user avatar
  • 31
3 votes

How can I increase the resolution of a PWM signal?

You won't ever get 'exactly' 2042.8878 RPM, so going with your measurement accuracy I will assume you mean 2042.8878 +/- 0.0005 RPM. This is approximately an error of 1 part in 4 million. So let's ...
Pete Kirkham's user avatar
2 votes

Can't Read current on Pololu Dual MC33926 Motor Driver Shield for Arduino

I know this thread is old but it's high on Google results and I would like to clarify for anyone who stumbles upon it in the future an answer not yet listed: this chip is not designed to read current ...
athoesen's user avatar
2 votes

CNC: Linear motion without timing belt or lead screw

If you want to build something that more or less resembles CNC machine, and use a pen as a tool and draw some pictures, then you will probably be fine (as long as you can do programming and have a lot ...
mactro's user avatar
  • 953
2 votes

CNC: Linear motion without timing belt or lead screw

CNC controllers, in most cases, control rotary motion and the model of how this rotary motion is tranformed, by the mechanism attached to the motor, to a translational motion is implemented in the ...
50k4's user avatar
  • 6,652
2 votes
Accepted

Software to control an Arduino setup with a timing belt and stepper motors

Here you go. This will control 2 steppers on an Arduino. ...
Ryan Loggerythm's user avatar
2 votes
Accepted

Stepper motor control

So you have three different questions here I will answer them separately: Q: How is Mach 3 controlling steppers? Mach 3 normally uses a step and direction interface where it is abusing the parallel ...
Mark Omo's user avatar
  • 1,919
2 votes

Encoder attached to output of gearbox of stepper motor

Here is the response from stepperonline about their closed loop stepper controller. Glad to receive your inquiry. You can't install the encoder on the output of the gearbox. This is uncorrect and ...
henradrie's user avatar
2 votes

How to make a CNC machine from scratch?

How does a controller translate a move x 20 units to moving the stepper x amount of steps and keep dimensional accuracy? If the CAD G-code says move 200 mm in the x direction, how to you translate the ...
50k4's user avatar
  • 6,652
2 votes
Accepted

Which part handles the acceleration of stepper motors?

The short answer is all components in the chain you described have some effect on the acceleration. The CAM software defines the waypoint through which the tool center point passes. (Let us ignore the ...
50k4's user avatar
  • 6,652
1 vote
Accepted

Simplest way to drive a Nema 17? Without Breadboard and all that gobbledygook

You want to google "stepper motor arduino shield". That add-on item plugs into (onto) an arduino without crazy wires. You will need wires to power the arduino, to power the motor controller (...
r-bryan's user avatar
  • 1,271
1 vote

Which part handles the acceleration of stepper motors?

On my experience working with stepper motor and CNC shield V3 with DRV8255 motor driver, acceleration and decelaration happen on software side. So I have simple trajectory planner and PD controller ...
Albert H M's user avatar
1 vote

How can I achieve a square pulse train while sending pulses one pulse at a time to a stepper motor?

Split the sleep() into two halves if you want your software to control both halves of the pulse. Your loop body would then look like ...
r-bryan's user avatar
  • 1,271
1 vote

Simulator for NEMA17 (stepper motor) and A4988 (stepper motor driver) along with Arduino

You can do that in Proteus. You can simulate a stepper motor there, but only to see the motion, it is not possible to simulate the speed, inertia, and mechanical response.
jdios's user avatar
  • 497
1 vote

How to tell if a stepper motor position is moved by external force?

I am not sure how you are driving your stepper motor. In case you developed your own way, you could connect an analog pin to the wires that drive the stepper motor. These should be able to detect an ...
some guy's user avatar
1 vote
Accepted

lb1847 stepper controller :how to connect to grbl atmega based board with step ,direction,enable , limit?

So how can I connect the step and direction and enable pins of ATMega to these pins of LB1847?! You can't. The LB1847 doesn't accept those as inputs. You'll need to write your own code to send the ...
Chuck's user avatar
  • 16k
1 vote

Controlling Stepper or DC motor with L298 or L293 and getting operation similar to Servo for 6 dof arm

You can't do position control without position feedback. You need position feedback. Your comments regarding why you're not going to use position feedback ("cumbersome and inaccurate due to vibration"...
Chuck's user avatar
  • 16k
1 vote

Stepper motor control

Well, I guess the most difficult part is implementing the functions that calculate the Linear/Circular Interpolations and translating those to stepper motion. I've been working on a similar project, ...
Embedded Music's user avatar
1 vote

What stepper motor driver to use?

The A4988 is an excellent choice to drive a stepper motor. It supports step resolution upto 1/16 of a step and can be set up so that it uses just two of your Arduino's pins. Each A4988 can drive one ...
vu2aeo's user avatar
  • 41
1 vote

What stepper motor driver to use?

That is a very good choice since DVD motor operate under 2A. I'm using the very same driver to manage my DVD drivers also NEMA23. You just need to take care about trimming the current limit very ...
Andrew Paes's user avatar
1 vote

How can I increase the resolution of a PWM signal?

The PWM signal should not be the limiting factor in achieving the accuracy you seek. For some applications, PWM signals are chopped > 100 kHz, so, given the correct DSP or microcontroller output to ...
SteveO's user avatar
  • 4,386
1 vote

Choosing correct power supply for Stepper Motors

using a correct power supply for stepper motors, or servos, is difficult. You just cannot select based on voltage and amperage alone. biggest criteria is the so-called over-voltage protection ...
vern's user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible