Questions tagged [stepper]
Questions about programming and controlling stepper motors.
202 questions
0
votes
1
answer
127
views
Stepper motor not moving
this is my second Arduino project and I am trying to figure out why my stepper motor is not moving. I was able to get a basic 28byj-48 stepper motor to work using stepper.h and some sample code.
Now I ...
2
votes
1
answer
107
views
Stepper control using Pot over bluetooth (HC-05)
I have intermediate-level Arduino experience but it's been a few years... and, I would like to be more confident in a plan before ordering all the parts. So, basically, this is theoretical. The design ...
0
votes
1
answer
77
views
AccelStepper Library: enableOutputs() causing a shake
I'm using Accelstepper library, when I enable the stepper via enableOutputs() the motor shakes for an instant.
Both motors do a small movement when enabled, if I increase the nr of microsteps the ...
1
vote
1
answer
84
views
Accelstepper: missing syncro in simple test program
I have the following test code, which I'm running on an Arduino Yùn. Only PulCyan and DirCyan are connected to Arduino, all the remaining pins are not connected (except ground).
If I run this program ...
-1
votes
1
answer
347
views
Stepper motor turns unexpectedly slowly
I want to control a stepper motor using my esp32 and an USB connection. I seem to have some issue understanding why the stepper motor runs very slowly - I suspect it's because power to the motor is ...
1
vote
0
answers
65
views
Stepper Motor Direction Not Changing with Toggle Switch - Need Help
I’m trying to control the direction of a stepper motor using a toggle switch with my Arduino. While the LED indicates that the switch is working correctly (i.e., it changes state as expected), the ...
0
votes
1
answer
158
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 ...
2
votes
2
answers
668
views
How do I find the whole number (n) that when multiplied by (m) will be closest to (x)? [closed]
I've designed an apparatus that uses stepper motors, and they are linked together so that when armature A turns, it consequently moves armature B by a ratio of 1/4. In order to keep armature B in the ...
1
vote
0
answers
101
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 ...
-1
votes
3
answers
598
views
Running code inside void loop() vs inside a separate function with an infinite loop in it
I'm writing a program for running a stepper motor at a high RPM using accelStepper on a NodeMCU esp8266. Super New to the accelStepper but reading, experimenting and learning as I go
When the code to ...
3
votes
1
answer
1k
views
How to change the direction of a stepper motor using the AccelStepper library?
I'm using a Nema 17 stepper motor (200 steps) and a DRV8825 motor driver. This is the configuration I am using:
I am using a 9 V power supply. The dirPin is connected to pin 3 on the Arduino board, ...
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
1
answer
147
views
Confusing stepper reaction to increase in delayMicroseconds()
I have been following this tutorial using the same hardware, TB6600 driver, 42HS48-1704A (yes I think its supposed to be 42hs40 but thats not what it says the sticker) stepper but am controlling via a ...
2
votes
2
answers
502
views
TMC2208 Stepper Motor does not change its RPM linearly
This is my first project working with stepper motors, so I may have a bit of a shaky understanding of the electronic side of the project. I'm trying to create a simple device with 4 buttons connected ...
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) ...