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.
119 questions
0
votes
0
answers
39
views
NEMA 17 with A4988 Runs Smoothly During Code Upload but Moves Erratically Afterward
Problem Description:
I'm controlling two NEMA 17 stepper motors with A4988 drivers and an Arduino Uno. I'm experiencing a peculiar issue where one motor runs perfectly smooth during code upload but ...
1
vote
2
answers
152
views
Controlling a stepper using PIR and Hall effect sensor
I'm trying to make a box that revolves around a pivot point using a NEMA17 stepper motor. The idea is straightforward: US1881 Hall effect sensor will change state based on magnets on the base of the ...
0
votes
1
answer
153
views
How to control a stepper motor using an absolute position sensor which has an error band?
I am using Feather M4 express development board with DC Motor + Stepper FeatherWing and Ethernet FeatherWing stacked on it. The idea is to read the target position from the UDP from 0 t0 360 degrees ...
1
vote
0
answers
100
views
Driving stepper to follow sequential positions
I was exploring the stepper motor library AccelStepper and using it because of it's easy interface to control multiple stepper motors simultaneously. Recently I got a problem. I needed a stepper motor ...
0
votes
1
answer
98
views
Give zero volt to specific servo motors in a certain time
I have a robot that uses 4 mechanical arms. Each mechanical arm has 4 "READYTOSKY 30kg" servo motors on them.
At some point, I need to use the absolute maximum force of only two mechanical ...
0
votes
0
answers
142
views
Using an A4988 stepper motor driver for a low current (15mA) stepper motor
I have a BKA30DR5 stepper motor that operates at 15mA. I want to drive it using an A4988 stepper motor module. I've previously driven stepper motors that use much higher currents (around 1A) ...
0
votes
2
answers
1k
views
Unable to control motor with ESP32 using logic level shifter
I am using an ESP32 a TB6600 micro stepper, and a Nema 23 stepper motor, I am trying to control the motor with the esp32 but the TB6600 requires a 5v signal, I tried to fix this by using a logic level ...
2
votes
0
answers
335
views
Controlling Stepper motor using RC receiver
I am using Arduino UNO with a DM556 Micro step driver to control the Stepper motor.
PUL+ --> pin 3
DIR+ --> pin 5
RC receiver --> pin 2
Using CH2 of receiver
With out the RC receiver (R9SX) ...
1
vote
2
answers
1k
views
Stepper motor micros (millis) non-blocking delay simple example?
I am trying to get a simple non-blocking replacement for:
digitalWrite(stepPinX, HIGH);
delayMicroseconds(500);
digitalWrite(stepPinX, LOW);
delayMicroseconds(500);
This is what I tried, and the ...
-1
votes
1
answer
495
views
How many stepper motors can you run on one Arduino Uno? Ideas on how to run 9?
I am in middle school and new to Arduino. I just learned to set up and code a stepper motor on my Arduino Uno from watching YouTube videos. I want to set up 9 stepper motors to all run at the same ...
0
votes
1
answer
145
views
Blink LED without delay with stepper motor
Based on a previous question I modified the script to use blink without delay.
Unfortunately, it does not work, any idea why?
I am using SparkFun RedBoard Plus, Qwiic LED Stick - APA102C, Adafruit ...
0
votes
1
answer
606
views
ESP8266 web server not responding when running a http request function
I am trying to build something that can control a stepper motor based on weather information from openweathermap. I've set up a ESP8266 webserver to manually control motor movement with buttons and I ...
0
votes
1
answer
642
views
Using a 5 pin button with Arduino Correctly
I am trying to build a simple motor test sketch, currently, to test a NEMA 23 stepper motor and the DM542T stepper driver.
Here is the code, and I am having trouble figuring out how to properly wire ...
0
votes
1
answer
934
views
arduino 28BYJ-48 stepper only whining, not rotating
Edit, this question has been answered in the comments by chrisl, and also after retesting the code with delay() which showed I forgot to update my lastupdate variable(eerst), I have answered it in the ...
2
votes
0
answers
148
views
AccelStepper library - motor ticks when turning
When I'm using the AccelStepper library to control this closed loop stepper motor, the motor ticks when turning, maybe ~5 ticks/sec. Depending on the speed of the motor the ticks become more (at ...
1
vote
2
answers
806
views
Digispark Rev.3 Kickstarter ATTiny85 using all 6 pins
i have some trouble to use i2c and the other pins at the same time.
im tring to control the attiny over i2c with a arduino and the attiny should control a 28byj-48 stepmotor.
i started to setup the ...
1
vote
2
answers
471
views
Regulate Water Pumps flow by DC Stepper Motor Driver
I'm an Arduino beginner. I've got 2 x 12V DC water pumps
https://www.ebay.co.uk/itm/224461221015
plus 12V, 2A AC/DC adapter to feed them.
I would like to regulate the speed (flow) of the pumps ...
1
vote
0
answers
704
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 ...
2
votes
1
answer
903
views
How to calculate required amperage of multiple motors?
I a very simple question about calculating the amperage I need to run 5 stepper motors from my Arduino Uno.
If I have 5 28BYJ-48 stepper motors(which are 5V and are said to require about 240mA each) ...
1
vote
1
answer
292
views
Why does my stepper motor run when I open the Serial port?
For some reason my motor moves a certain amount every time I open the serial port without giving it any other instructions. It will move further by the same amount if I close and reopen the serial ...
1
vote
0
answers
369
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
0
answers
199
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 ...
0
votes
1
answer
198
views
What motor to move a small telescope?
i just bought a hobby telescope, it works well for being nothing much than a toy, the very problem is that the gesrs that should keep it stable are all plastic and very hard to tighten while keeping ...
1
vote
1
answer
157
views
Ok to Connect 2.9V Stepper to 3.3V pin?
So I have a stepper motor that's rated for 2.9V and 0.8A and I connected it to a L9110 Driver and I wanted to drive it with my arduino. But I don't know how to drive it safely without damaging the ...
1
vote
1
answer
505
views
Using same GPIO pins to control multiple stepper drives
I have an Arduino Mega 2560 and I want to control four 23-frame steppers same speed/direction for a conveyor application. I want these to be synchronized exactly as possible for smooth operation.
Can ...