4 votes

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

When there is miscommunications between the microcontroller and a chip, assuming the electronics are not damaged, there could be a couple of things that can go wrong. Of course, further diagnosis is ...
user avatar
  • 3,210
4 votes

How to detect when a stepper motor has stalled?

I found that the FFT of the current waveform of the stepper often shows the natural frequency harmonics of the motor+driver system AND that during a stall extra frequency harmonics appear!!! all you ...
user avatar
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 ...
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 ...
user avatar
2 votes

Current-limiting stepper motors for RepRap

I'm using a NEMA23 on my Y axis on my greatly frankensteined MendelMax. The bed was elongated to 350mm along with other upgrades, so I needed the bigger motor. It's running nice and cool at 26 volts ...
user avatar
  • 161
2 votes

Why does microstepping give less torque?

The reason for this is that when attempting to hold a position between positions, you are not only fighting the torque from your load but that generated by the magnets in your stepper more info here
user avatar
  • 1,909
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 ...
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 ...
user avatar
  • 6,437
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. ...
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 ...
user avatar
  • 1,909
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 ...
user avatar
  • 6,437
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 ...
user avatar
  • 6,437
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 ...
user avatar
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 (...
user avatar
  • 1,136
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 ...
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 ...
user avatar
  • 1,136
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.
user avatar
  • 477
1 vote

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 ...
user avatar
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 ...
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 ...
user avatar
  • 14.7k
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"...
user avatar
  • 14.7k
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, ...
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 ...
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 ...
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 ...
user avatar
  • 4,326
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 ...
user avatar
  • 11

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