Skip to main content
26 votes
Accepted

FPGA to control NEMA stepper motor

No. Just like a microcontroller, an FPGA pin will provide nowhere near enough current to drive a motor. If you're lucky you might get 20mA out of an FPGA pin, in practice most I've come across are ...
Tom Carpenter's user avatar
25 votes

Why aren't Stepper motors used in closed-loop systems and PID control?

The main point of a stepper motor is that you get discrete steps. However, the cost is larger size and lower efficiency than a continuous motor of the same torque. Stepper motors also have a low ...
Olin Lathrop's user avatar
20 votes
Accepted

Does a stepper motor's error accumulate?

A stepper motor rotates in discrete steps. You command it to rotate one step at a time. A NEMA-17 motor has 200 such steps to a revolution. If you rotate the shaft yourself you can feel the locations ...
ErikR's user avatar
  • 5,007
16 votes
Accepted

How do PCB trace width calculators work? Why is it asking me to input the width of it?

The thickness is not the same as the width. You're asked for the thickness of the copper, as measured in a cross-section of the circuit board. Once you provide that and the other info, the calculator ...
nanofarad's user avatar
  • 20.1k
15 votes
Accepted

Transform pulses per second (PPS) to RPM

Using dimensional analysis, and cancelling out units (i.e., "dimensions") just like they are numbers, gives you a clear answer: $$ \frac{1 \ step}{pulse} \ \times \frac{5000 \ pulse}{1\ sec} \times \...
Scott Seidman's user avatar
13 votes

Why aren't Stepper motors used in closed-loop systems and PID control?

This is not actually particularly rare. In industrial systems, stepper motors with encoder feedback are relatively common. And for hobbyists, there is e.g. the Mechaduino project. There are several ...
jpa's user avatar
  • 8,703
11 votes
Accepted

Max SPI data rate supported

In SPI each bit is transmitted on a clock edge, therefore the data rate (in bits) is the same as the clock frequency. Your datasheet is not providing the maximum frequency, but it is providing the ...
Eugene Sh.'s user avatar
  • 10.1k
11 votes

Can I measure torque accurately by an electrical or electronic method?

Fix a lever of a precise known length to the specimen and add calibrated masses. Measure the deflection with a dial gauge. Perpendicularity might be a concern and could be addressed with geometry... ...
Solar Mike's user avatar
  • 6,539
10 votes

Motor that allows threaded rod to pass through

There are "hollow shaft motors" similar to these. The inside of the shaft can be threaded (or a nut can be fitted inside) to make the motor itself travel along a matching threaded rod.
Eugene Sh.'s user avatar
  • 10.1k
9 votes

Why aren't Stepper motors used in closed-loop systems and PID control?

Provided you don't miss a step, a stepper motor should give you a deterministic movement. You can run it N steps forwards and N steps backwards and it will be in the same place. This is because the ...
pjc50's user avatar
  • 46.8k
9 votes

DC motor with motor driver included

I suggest using a separate board for the controller. Why? It's only two more wires. Your students will learn the difference between a motor and controller. Easier to debug and repair. Motor can ...
Bruce Abbott's user avatar
  • 56.5k
8 votes

Transform pulses per second (PPS) to RPM

With a step angle of 1.8 degrees and 360 degrees in a single revolution, that's 200 steps per revolution (i.e. 360 / 1.8). So 5000 pulses per second equates to 25 revolutions per second (i.e. 5000 / ...
Roger Rowland's user avatar
7 votes

Using back to back zener diodes to clip voltage spikes in bipolar stepper motor

The A4983 stepper driver has internal diodes which will shunt any excess power back into the supply rails (the internal mosfet body diodes), which means that if the motors are back driven and there is ...
Sam's user avatar
  • 3,759
7 votes
Accepted

Can I run a stepper motor rated 12V with a 24V or above power supply?

The 12 V rating probably refers to the voltage you can apply to a coil indefinitely. This limit is due to the heating it causes inside the motor. You should be able to apply 24 for short periods of ...
Olin Lathrop's user avatar
7 votes
Accepted

What kind of magic is energizing the coils in this simple stepper motor driver?

The schematic seems to have an error. The center taps shouldn't just be connected to each other, they should also connect to the +12 V supply. On your linked page, this is confirmed in the text: ...
The Photon's user avatar
  • 130k
7 votes

How this motor can be mounted?

Turn to the 'drawings' tab on the data sheet you linked to. You'll see that the boss around the output shaft is threaded M5.5x0.5. Drill a 5mm diameter hole in your plate, tap it M5.5, and screw the ...
Neil_UK's user avatar
  • 168k
7 votes

Stepper motor won't turn, just vibrates

There was no need to try 24 wiring combinations. Your schematic shows that you have a two-coil motor. You identify the two coils with your multimeter and connect one coil to A1 - A2 and the other to ...
Transistor's user avatar
  • 177k
6 votes
Accepted

Continuous micro steps changes harm stepper motor or driver ?

That code looks like Arduino 'language', yes? I guess from your comment "I'm not sure how to decrease the wait time less then 1 millisecond" you are new to it. ...
gbulmer's user avatar
  • 10.1k
6 votes
Accepted

Can I apply 12V intermittently to a 5V 28BYJ stepper motor?

I made a small robot with 4 28ByJ-48 5V steppers, however I think the 5V is the minimum recommended voltage they will run on. By increasing the voltage to the motors from 8V to 11.5V - I noticed quite ...
David Wingood's user avatar
6 votes

large voltage spike over shunt resistor even at no load

My first guess is that the newly activated leg of the H-bridge is starting to conduct before the leg being deactivated is fully off. Do you have any mechanism on the source signals to prevent overlap ...
Cristobol Polychronopolis's user avatar
6 votes

Stepper motor won't turn, just vibrates

9V batteries are very weak. When I was a kid, they were sometimes called transistor batteries, since that is all they were good for, powering low-power transistor radios. Is the enable_n pin low by ...
Mattman944's user avatar
  • 16.1k
6 votes

How do I control this stepper motor?

Encoder is a sensor that you use to determine position and speed of the motor. In this case, it's a Quadrature Encoder, which outputs 2 square wave signals form the A & B channels. These two ...
Tagli's user avatar
  • 1,242
5 votes

Can I drive a stepper motor like a brushless motor?

Yes, you can run a stepper motor closed loop, and that's the way to get the maximum performance. However, that's not what steppers are designed for. They are optimized for open loop control. You ...
Olin Lathrop's user avatar
5 votes
Accepted

Power supply issues with many identical PCBs

I am surprised that this would work at all. There are open GND and (A)VCC pins that are required to be connected for the MCU to work correctly. Atmel has an appnote how to wire the power lines on ...
Turbo J's user avatar
  • 10.1k
5 votes

Amps/phase in stepper motor

The worst case total current is the sum of the currents, easily illustrated with unit cancellation: ...
jms's user avatar
  • 8,651
5 votes
Accepted

Can you use a stepper motor as input?

While turning a stepper motor does generate an AC output, it's not suitable for a general position sensor. The magnitude of signal it generates is proportional to its speed. As long as the table ...
Neil_UK's user avatar
  • 168k
5 votes
Accepted

Why does my DC power supply fluctuate and say 0A? And why won't my motor spin?

You seem to have left the STBY pin on your motor driver floating. The datasheet for the TB6612 driver IC on that board tells us that STBY has an internal 200k pulldown - making the default state of ...
brhans's user avatar
  • 14.7k
5 votes
Accepted

Drive stepper motor with a battery efficiently

Basically, use the enable function of the LN293. For each step, provide a short enable pulse and the motor will only draw current for that period. What "short" means depends on the load.
WhatRoughBeast's user avatar
5 votes
Accepted

how can I motorize hand cranked standing desk

Let's say it takes 20 turns to complete the transition, and you want it done in 10 seconds. Then required crank speed is 120 RPM. Now, if you use 1:60 gearbox then the motor you are looking for is ...
Maple's user avatar
  • 12.8k

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