As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [stepper-motor]

A kind of motor that moves in steps.

182 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
2 answers
3k views

How to calculate and measure motor constant for stepper motor?

I am working on a project using ST4118D30004 stepper motors and powerSTEP01 drivers. The ST4118D30004 is a bipolar stepper motor with 4 wire connection. While researching how to find the optimal ...
RHawkeyed's user avatar
  • 161
4 votes
0 answers
2k views

L293D 2 Phase Bipolar Stepper Motor

I have an M35SP-11NK stepper motor that I would like to be able to drive with an L293D driver chip. The circuit below is how I've got it wired up so far. I've derived this from numerous sources on the ...
OdinX's user avatar
  • 801
3 votes
0 answers
41 views

Can I use the transfer function of a servo DC motor as a close approximation to the transfer function of a stepper motor?

I have been trying (just spent many hours on this) to find/calculate/derive the transfer function of a hybrid stepper motor. I don't need an exact transfer function (the electrical and mechanical ...
DryRun's user avatar
  • 531
2 votes
0 answers
27 views

Power protoboarding for Uno R3, 3x Mosfet Drivers, 1x A4988 w/motor and a grove relay

I need some help on this Arduino project. The breadboard wiring I did isn’t working for power delivery and we haven’t connected everything up thus far. I’m getting a drop in voltage when I turn on two ...
Michael's user avatar
  • 21
2 votes
1 answer
143 views

Stepper motor only vibrates, not turning. Seeking advice or help

I recently purchased a SF2421-10B41 stepper motor and a Stepper 5 click board (TMC2208 driver IC built in) for my project, using Raspberry Pi 3B for programming, below is my sketch and the datasheet I ...
Yumo's user avatar
  • 21
2 votes
1 answer
354 views

Trouble getting A4988 to work with NEMA 17 motor - can't get the current sufficiently low with trimmer, also moves erratically

I'm trying to setup an A4988 with a NEMA 17 motor. I've consulted numerous tutorials, and I'm pretty sure I've connected everything correctly. The motor is a Joy-IT NEMA 17-04 with a rated voltage of ...
OZ1SEJ's user avatar
  • 155
2 votes
0 answers
172 views

Nema17 - Frequency - Temperature issue

Hi i am trying to use MCPWM to move a nema 17 motor with esp32. I am using a TB6560 stepper motor driver and it setup is limmiting current to 1.5A and i am using 1/8 Microsteps. Motors is classic one ...
kyrpav's user avatar
  • 139
2 votes
0 answers
84 views

DC Motor driving large offset mass, smooth acceleration/deceleration?

I've got a large mass (0.5-2kg) on the end of a 0.5m rod. I'm trying to swing it smoothly as an inverted pendulum using some brushed DC motors with planetary gearboxes and quadrature encoders (GoBILDA ...
Crazymoomin's user avatar
2 votes
0 answers
45 views

add 2 buttons to this sketch

Can anyone tell me how to add 2 button switches to this sketch (one forward and one reverse) for a second motor?` This code works great and I would like to just add the some button switches to pins 4 ...
edrummer's user avatar
2 votes
0 answers
138 views

Running multiple 4-wire bipolar stepper motors without drivers etc

I need to use about 120 motors for an arts project. My budget is limited, as are my skills. I need linear motion. I have found well-priced stepper units driving lead screw and nuts at sensible prices. ...
Tony's user avatar
  • 21
2 votes
0 answers
241 views

Control a stepper motor with a 3-phase controller

Is it possible to run a stepper motor with a closed loop 3-phase controller? What i have seen is, that some people short A- with B-, so that it is tranformed into a 2 coil 3 phase system. So i tried ...
HansPeterLoft's user avatar
2 votes
0 answers
1k views

When is it appropriate to connect two steppers in series?

I'm considering building a machine that would have 4 axes, two of which would require two steppers each to allow for the desired mechanical layout. These pairs would have to run synchronously. That's ...
Christoph's user avatar
  • 623
2 votes
0 answers
293 views

Is there an metric equivalent to the NEMA step motor frame sizes?

I just took the axis motors of my EMCO F1P CNC mill and measured them to figure out which frame size they have. The square flange is exactly 60 x 60 mm, and the ...
Mr. Developerdude's user avatar
2 votes
2 answers
338 views

Controlling a stepper motor with a motordriver and Arduino

I'm trying to controll a Nema 34 stepper with a motrordriver(EM-314) and Arduino Uno. I have gotten the motor to rotate(slowly) by setting pin 5 on the Arduino to high. Pin 5 is connected to Preset 4 ...
naSSa's user avatar
  • 21
2 votes
0 answers
255 views

Should I connect stepper motor case to mains earth or power supply V-

I have a stepper motor driver, the sockets have the expected V+,V-, etc. However there is a bolt with a grounding symbol on the outside, I think this connects to mains earth? The third pin on a plug? ...
Noz's user avatar
  • 21
2 votes
0 answers
490 views

Strange stepper motor behavior- moves too far

I have 3 CD drive stepper motors on a 9V 2A power supply, and they are being driven with EasyDrivers. I am using an Arduino with grbl to control the drivers. The current for the motors is at the ...
Blue Ice's user avatar
  • 507
1 vote
0 answers
56 views

Stepper motor doesn't spin - it just vibrates

I’m using a NEMA17 stepper motor (17HS4401) and TMC2225 driver (upgraded from TMC2208) for my artwork. It had a problem after about 3 weeks since the exhibition started. The motor vibrated loudly and ...
SnowLee's user avatar
  • 11
1 vote
1 answer
14 views

Hurst PAS, PBS Geared DC Step Motor

I am currently trying to determine whether a Hurst PAS, PBS Geared DC stepper motor is functioning correctly. While researching on the Hurst website, I came across a page that provides information ...
Angelo Gomes's user avatar
1 vote
1 answer
35 views

NEMA 23 RPM with a tb6600 driver

I want to run a NEMA 23 with a tb6600 driver. The motor needs 2.8 amps, 24 volts. The tb6600 can output 4 amps. The voltage output of the tb6600 isn't specified on the link above but I google it and ...
Ramin Moradi's user avatar
1 vote
0 answers
133 views

MotionKing 17H2A Stepper Motor with BigEasy Driver not working. Making noise, but not turning!

I'm trying to make the MotionKing 17H2A stepper motor to work with my BigEasy driver and Arduino Feather 32u4 LoRa. It's just making some noise, and not turning around. This is the diagram for the ...
eivindml's user avatar
1 vote
1 answer
53 views

How to simultaneously control 8 motor drives with a single digital output pin...or also control just 1 drive with same pin?

I am working on a stepper motor project where I need to: a) use one digital output pin from a microcontroller (Arduino Nano) to control to the step input to 8 different stepper motor drives (Moons' ...
Ramblin Wreck's user avatar
1 vote
0 answers
46 views

TMC5160 stepper driver - one phase seems to be offset and clipped

I am using the TMC5160 stepper driver with a stepper motor. I am configuring it in SPI mode from an STM32F4. I used the sample commands from the datasheet on page 116 (section 23 getting started) with ...
lazerlini's user avatar
1 vote
1 answer
156 views

DM542 driving Nema17 controlled by a Teensy 4.1, random stepper stalls

I am trying to drive 4 Nema17 stepper motors using 4 DM542 drivers, controlling them using a teensy4.1. The step and direction signal is level shifted to 5V, the DM542 are powered using a separate 48V ...
AndGL's user avatar
  • 136
1 vote
0 answers
144 views

How to obtain torque constant for stepper motor?

I want to measure the torque constant of a stepper motor but seems I am doing it wrong. I have an MST342C02 stepper motor (200 step/rev and 4 phases) with SMD42C2 Driver. I have a converter that gives ...
Amirmkr's user avatar
  • 11
1 vote
0 answers
113 views

Help with Wemos D1 project!

I am trying to make my first arduino simple project based on the directions of this video for a gift to my fiancee [youtube]https://www.youtube.com/watch?v=duiAbLsXZSE&t=309s&ab_channel=Breaks%...
Orchestral Dreams's user avatar
1 vote
0 answers
71 views

Stepper Motor Driver Current Regulation: Lead Acid Batteries

I'm controlling two NEMA 34 6A stepper motors through HSS86 stepper motor drivers. The drivers take AC and DC, between 20 and 80v. I'm using them to control a golf cart via remote control, and I ...
asultan's user avatar
  • 33
1 vote
0 answers
96 views

Stepper Motor Driver CLK-IN vs Parallel-IN

I have a few questions about stepper motor drivers. I'm currently trying to build a PCB with a stepper motor driver IC to gain a better understanding of them. Here is the link to the IC I'm using: ...
Rohan D's user avatar
  • 33
1 vote
0 answers
88 views

Correct motor type to use to open a small "hatch"

Using an atmel microprocessor (attiny2313) to make a "simon says" game for my dog (yep, for a treat). I have all the game play programmed and starting to look at the hardware required to ...
LarryBud's user avatar
  • 455
1 vote
0 answers
150 views

Stepper motor has own encoder, can I connect encoder pins to microcontroller and see feedback?

I am using closed loop stepper motor with motor driver. Here is my driver CS-D808. I am using this with microcontroller. I want to stop this motor always certain location after 5 to 10 turns. I wrote ...
Tryingtogetsome's user avatar
1 vote
0 answers
280 views

TMC2130 Stepper Motor on Raspberry Pi. SPI issue?

For the last few days I've been struggling to get a NEMA17 (1.5 rated current) stepper motor to function with TMC2120 driver (vref = 1.0) and I'm all out of options now to try, so I'm here looking for ...
john's user avatar
  • 111
1 vote
0 answers
91 views

How to let the robot car turn between 90 to 360 degrees?

The robot car has 3 motors, the first motor is a stepper motor which controls the 2 wheels in front of the car to tell which direction it is moving. The second and third motor is a dc motor which each ...
Zheng Xian's user avatar
1 vote
0 answers
201 views

Building a stepper in Logisim - Cannot find the error

I try to build a stepper based on a book. I have been looking for the error for hours now, but still could not find it. Maybe you can help me with this issue? This is my stepper: This is a working ...
MetaLogicianWannabe's user avatar
1 vote
1 answer
94 views

What kind of FPC is this, and what should I couple it with?

I'm working with these planetary geared micro stepper motors which come without a datasheet or any information from the sellers. I'm having a trouble figuring out how I should mate the FPC cable, can ...
Orbitronics's user avatar
1 vote
0 answers
66 views

Help to construct a State space model of a unipolar stepper motor with shorted phases

I hope to get some help on an interesting task - I cannot seem to get my model to work which is my I ask for help here. I am trying to construct a model of the unipolar stepper (seen below in the ...
superbrusen's user avatar
1 vote
0 answers
91 views

Solution for EMI on signals in a connector?

I have PWM signal and PSU signals coming from switch mode PSU to our machine. The motor drive boards that run the stepper motors in the machine are located in the PSU. At the moment the outputs to ...
user12844815's user avatar
1 vote
0 answers
57 views

Closed-loop position control with a stepper motor

Disclaimer: I understand this might not be the optimal setup for this application, but this is what I currently have available. My controller is connected to: a stepper motor with a lead screw for ...
Yiftah's user avatar
  • 151
1 vote
0 answers
1k views

Powering Arduino and stepper motor from a single 12 V power supply

I am trying to control mechanism involving a nema 17 stepper motor. I use an A4988 stepper driver and an Arduino Nano both powered by the same 12 V/3A power supply. So far I have fried or crippled 4 ...
johs42's user avatar
  • 11
1 vote
0 answers
64 views

Missing steps while rotating stepper motor with gear 20:1 and driver tmc5160

as per the title I'm using Nema23 stepper motor and 20:1 gear and tmc5126 stepper driver. 1) I'm providing 3amp of current to motor and 4096 of microstepping. 2) Motor was working on same ...
Saurabh Sakhare's user avatar
1 vote
0 answers
188 views

How to calculate run capacitor value for inductive motor?

Hi. At the attached circuit diagram you can see the connection of inductive motor (2 coils) with a capacitor and 12VAC source. I would like to know how should I calculate the right value of the C1 ...
xchcui's user avatar
  • 293
1 vote
0 answers
153 views

Driving a stepper motor (0K57STH56-2804A) with transistors

I want to drive a stepper motor for a homemade CNC machine but I'm not so experienced so any help would be great. I'm working off of this site: https://www.digikey.com/eewiki/display/Motley/How+to+...
SteveTheBee's user avatar
1 vote
0 answers
431 views

Why stepper motor is slow with A4988 driver?

I'm using NEMA17 17HS13-0404S1 stepper motors with Arduino CNC Shield & A4988 drivers but I think they're much slower than they should be. Hard to explain how slow they are but compared to Ender 3 ...
she hates me's user avatar
1 vote
0 answers
80 views

Choosing a stepper for antenna tracking system

I am building a prototype for an antenna tracking system. The following animation will make it slightly easier to understand what I have in mind: https://youtu.be/DZ0LRf6_Zew The two antennas are: ...
Alessio Sangalli's user avatar
1 vote
0 answers
2k views

Nema17/A4988 + LED display pump, 5v circuit not complete?

I'm trying to build a pump from Instructables, with no experience at all. I appear to be pretty close but the 5V line from the Arduino does not power the driver or LCD screen via my perfboard, it ...
user2406501's user avatar
1 vote
2 answers
297 views

How to implement stepper motor acceleration and deceleration?

I am using a PIC microcontroller and software uses for programming is microC. One more thing I use is a controller unit (DH542-D) for controlling a bipolar stepper motor. I read several articles and ...
jems's user avatar
  • 19
1 vote
0 answers
198 views

24V, 3 Phase BDCM Controller Schematic

This may seem like a dumb question, but does anyone have a schematic for a BDCM controller. All I seem to be able to find are partial schematics or schematics that include a micro controller. My ...
Thomas L Durbin's user avatar
1 vote
0 answers
420 views

STM32F407 - how do I run one motor at a time? Why do they ignore delays..?

I'm a newbie. I'm using an STM32F407 discovery board, and I want to control 6 stepper motors using PWM, especially OPM(One Pulse Mode). Till now I've made 3 stepper motors work using Timer 8 (CH1, ...
mappy's user avatar
  • 111
1 vote
1 answer
97 views

Possibility of series connected LIPO batteries for running stepper motor

I have project where I am using a motor driver DM860A2 to run NEMA 34 85 kg-cm stepper motor. Currently I have used a transformer to supply 48V AC during testing. I have with me four 2200 mah 11.1V ...
SIDHARTH SIVA's user avatar
1 vote
1 answer
666 views

STM32 C - Stepper motor start after 1 minute

I wrote a stepper motor driver with the use of DMA and TIM1. I accelerated the signal using the so-called Ramps. I calculated the times and loaded them into the DMA table and pass them to the TIM ...
Member Cicada's user avatar
1 vote
0 answers
143 views

Choice of the right stepper motor

I need to make a precise angular rotator for my directional antenna. The goal is to rotate the antenna at a precise angle. Arduino stepper motor library has functionalities to run a stepper motor for ...
Mohammad Mosiur's user avatar
1 vote
0 answers
74 views

Stepper motor torque requirements

I have a robot that has a load of 60kg and it has to move using 4 stepper motors. I saw from previous searches that the torque required by the motors to move is Force times the wheel radius. COF = 0....
Lester Narciso's user avatar