Questions tagged [stepper-motor]

A stepper motor or step motor or stepping motor is a brushless DC electric motor that divides a full rotation into a number of equal steps. The motor's position can then be commanded to move and hold at one of these steps without any position sensor for feedback (an open-loop controller), as long as the motor is carefully sized to the application in respect to torque and speed.

36 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
29 views

Wirelessly (but fast) transfer STEP and DIR output from Arduino to stepper driver

Very short version: Looking for a way to wirelessly get STEP and DIR signals (only those two signals) from an Arduino to a DRV8825 stepper driver about a meter away: Arduino -> STEP and DIR IO pins ...
2
votes
0answers
39 views

Help needed with driving multiple stepper motors on arduino UNO

I am brand new to Arduino but have good experience with Raspberry Pi's and Microchips. My problem is that I am having trouble driving many stepper motors at once. I am using the AccelStepper library(...
2
votes
0answers
50 views

How to let Stepper motor spin constantly?

When i run the code on the Arduino the Stepper only does a small turn every cycle. How can i make that constantly turning? #include <Servo.h> Servo myservo; // create servo object to control ...
2
votes
0answers
54 views

Arduino Uno - Stepper motor not working with button

I am completely new to Arduino, and all sorts of hardware and software. I have a stepper motor, which I want to rotate by a number of rotations when I press a button, and then go backwards by a number ...
2
votes
0answers
2k views

Stepper Motor button control with A4988 Driver

So I'm quite new to programming and have inevitably worked myself into a corner. What I am trying to accomplish is to allow for a stepper motor, (powered by an A4988 driver) to move with the push of a ...
1
vote
0answers
22 views

NEMA 17 Stepper motor + Arduino Mega + driver doesn't move using GRBL and UGS

3x NEMA 17 Stepper Motors: https://www.amazon.com/gp/product/B00PNEQKC0/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1 3x DM542T Stepper Driver: https://www.omc-stepperonline.com/download/DM542T....
1
vote
0answers
43 views

CD rom stepper getting warm

I'm trying to run a SPS-15RF stepper motor from an old cd rom drive. I'm using a CNC shield and a4988 driver with a 6v power supply. The motion is smooth and fine. I know it has 18 pulse/revolution ...
1
vote
0answers
20 views

Moving and Stopping Stepping motor without using delay

I'm using a stepper motor with an external limit switch (so when power is on the motor will know where to start from) with an L6470 motor drive. What I want to do here is when power is ON → turn ...
1
vote
0answers
21 views

Need help with independent speed control on multiple steppers

I am a NOOB. I admit to a huge lack of understanding of programming. I just need my machine to work. I cannot wrap my head around getting independent speed control of 2 steppers since it seems that ...
1
vote
0answers
20 views

Stepper Motor Inconsistent Jittering

I am trying to run a stepper motor using an Arduino stepper motor shield like the Adafruit V1 motor shield. In my code I am just trying to get the motor to rotate forwards and backwards. When I first ...
1
vote
0answers
24 views

Input from serial monitor to control stepper direction coding problem

I am attempting to create a simple code that will home the motor then wait for input for direction. I have the homing function working, however the loop that reads the data from the serial monitor ...
1
vote
0answers
123 views

Angle sensor to measure the stepper motor shaft rate of rotation

what Kind of Sensor that i can use to know how much angle stepper Motor shaft has rotated ? Actually,I am thinking to rotate my stepper Motor at 1 rpm and my stepper Motor shaft Diameter is 8mm and ...
1
vote
1answer
217 views

Continuous push button detection in for Stepper control

Currently, I've worked on code for controlling stepper motor with pushbuttons. So, basically, I have to press two push button to run forward and backwards. but the problem is when I press the 1st ...
1
vote
0answers
36 views

Using arduino uno and an adafruit shield to control 3 dc motors and a linear stepper motor

Hello I am currently doing a project at my university which requires me to order and program 4 motors using an arduino. I will be using an arduino uno and an adafruit motor shield. 2 of the dc motors ...
1
vote
0answers
178 views

Motor keeps spinning crazily after UNO board reset

I'm using a NEMA 17 stepper motor with A4988 motor driver and Arduino Uno board. I have used full microstepping (1/16th, so one revolution = 3200 steps). I'm coming across this strange problem. ...
1
vote
0answers
104 views

How to control 30 stepper motors using Arduino?

To prototype my project, I'm going to use an Arduino. I need to control 30 step motors. 4 of these step motors should always be ready to work, no matter other motors are working or not. But the other ...
1
vote
0answers
96 views

Slow serial communication with arduino and response on the application?

Currently, I'm doing a project as I want to use my Arduino Mega 2560 as an interface to my computer with a photo interrupter and stepper motor. So I need to send some commands and data to the Arduino ...
1
vote
0answers
215 views

Arduino Stepper motor control programming problem

I want to control the speed and position of stepper motor by a 4*4 keypad and monochrome graphic lcd interfaced with arduino. some open sources gave me good hint points to start controlling the ...
1
vote
1answer
746 views

Driving a stepper motor using ESP8266

I have a stepper motor, and a Uln2003a stepper driver, which is connected to an ESP8266. The ESP8266 is powered via USB, and the stepper motor is powered via the driver, which is then powered by an ...
1
vote
0answers
73 views

Trouble running two NEMA 17's with a joystick

So I'm trying to make a motorized dobsonian telescope using two NEMA 17 motors with Easy Driver boards. I want to control the x and y axis with a joystick. I found a code that ran one with a joystick ...
1
vote
0answers
20 views

Can't find exact Part type of Stepper Motor Driver

I have searched everywhere and can't seem to find the exact model/part number for this Stepper Motor Driver.
1
vote
0answers
283 views

Stepper wait for X seconds in a loop with millis (not delay)

In the code below I would like the stepper to bounce back and forward between two limit switches and while it is doing this it should turn and than wait for e.g. 1 second. I thought I could achieve ...
1
vote
0answers
874 views

map() function with stepper motor

I am controlling a stepper motor with a potentiometer and I am trying to map the potentiometer values (0-1023) to the stepper motor steps (200). I only want this stepper motor to turn 1 (one) rotation ...
1
vote
1answer
104 views

Is this a feasible circuit?

The last couple months I’ve been working on this project, I’m nearing its end and I’m getting really excited! However, this is still pretty new to me and so I was hoping my electrical diagram/...
0
votes
0answers
33 views

issue with DVD drive stepper motor for 3d printer

Short version: 1: Is it possible to run just the stepper motors (pulled out of a DVD Drive) using either a 5v 2a mobile charger or a 9v battery plugged into the Ramps 1.6 power input? 2: what could be ...
0
votes
0answers
109 views

Problems with AccelStepper/Multistepper library

I am trying to drive two stepper motors with the AccelStepper/MultiStepper library. I think I did get it to work before, but it's not working now. I have included my code below the error messages. Is ...
0
votes
1answer
52 views

How to put together an HKT30 optical rotary encoder?

I'm working on a project involving stepper motors. It is important for this project to track the position of these motors, so I decided to buy an optical rotary encoder, specifically an HKT30(HKT3005-...
0
votes
0answers
45 views

Motor Overheat due to code?

working on a project to make a rover-like vehicle move, and was running into a problem where our stepper DC motors are overheating. I suspect that it's because of the multiple "if" branches ...
0
votes
0answers
106 views

Control a stepper motor wireless with a radio module?

I'm new in this arduino stuff and i was wondering if it's possible to control a stepper motor wirelessly with an encoder using 2 arduinos and a transceiver module?
0
votes
0answers
99 views

Set acceleration for stepper motor with no ending

I have a problem. I am using a stepper motor with 2 buttons. In my code I am trying to rotate the stepper motor clockwise while holding button1 and counter-clockwise while holding button2. To do that, ...
0
votes
1answer
37 views

Running stepper motor for specified no. of turns with Arduino?

I hope you are doing well. I want to run a pretty big stepper motor for a specified number of turns, take, for instance, 25. Easy! But not for a beginner with Arduino and I'm not an electrician! Here ...
0
votes
0answers
54 views

FlexyStepper: wrong behavior when changing target during movement

I'm using the FlexyStepper library. Unfortunately there's no way to open an issue on GitHub so I'm going to ask my question here. I think there's a bug in the calculations. In my application (it's not ...
0
votes
0answers
59 views

I am using an accelerometer as an input and a stepper motor as an output and it will have these weird delays after about 30 sec

I have a stepper motor (kysan 1124090) turning CW and CCW based on the y direction of my accelerometer(MU6090). I am using an Arduino uno. It works great but after about 30 seconds there will be these ...
0
votes
1answer
174 views

FlexyStepper: set current position leads to reach the old target

I'm using the FlexyStepper library.Unfortunately there's no way to write an issue to the author so I'm going to ask my question here. The documentation says about the setCurrentPosition*() functions: ...
-1
votes
1answer
267 views

Motor does not rotate smoothly ( Even in High speed )

I am bhanuka and i am new to Stepper motors and to this library. I am trying to control 4 NEMA 17 motors ( Different speeds in same time ) using 4 (four) DM320t stepper driver. Actually i want to ...
-1
votes
2answers
44 views

Any advice you can give me on my step motor code?

I'm very new to Arduino, currently undertaking a uni project in which my team wish to create a sort of slot machine-esque device that uses a step motor to rotate a drum (like one of the cylinders in a ...