Skip to main content

Questions tagged [stepper]

Questions about programming and controlling stepper motors.

Filter by
Sorted by
Tagged with
0 votes
1 answer
126 views

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 ...
Doug Ray's user avatar
  • 109
2 votes
1 answer
107 views

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 ...
T. Paul's user avatar
  • 29
0 votes
1 answer
72 views

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 ...
Luigi's user avatar
  • 181
1 vote
1 answer
83 views

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 ...
Luigi's user avatar
  • 181
-1 votes
1 answer
340 views

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 ...
user2305193's user avatar
1 vote
0 answers
65 views

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 ...
ghwnsrla's user avatar
0 votes
1 answer
156 views

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 ...
dreamcoder's user avatar
2 votes
2 answers
668 views

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 ...
AJ_Smoothie's user avatar
1 vote
0 answers
100 views

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 ...
winner's user avatar
  • 11
-1 votes
3 answers
588 views

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 ...
Bart's user avatar
  • 1
3 votes
1 answer
1k views

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, ...
Michael Junior's user avatar
0 votes
1 answer
98 views

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 ...
Noy's user avatar
  • 11
0 votes
1 answer
147 views

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 ...
DrBwts's user avatar
  • 161
2 votes
2 answers
501 views

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 ...
jonathan's user avatar
2 votes
0 answers
335 views

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) ...
MJay's user avatar
  • 21
1 vote
1 answer
896 views

I am working on an autonomous robot using two 4-pin stepper motors, HC-SR04 ultrasonic sensor, 2 L298N motor drivers (one for each motor), and an Arduino Uno. My problem is that when I use the stepper ...
Renier Jr.'s user avatar
1 vote
0 answers
119 views

Hardware: Arduino Uno Rev3 A4988 Driver Nema 8 Stepper Setup: I've adjusted the VRef of the driver based on the formula VRef = Imot * 8 * Rsen. With the values of Imot = .5 (max = .6), Rsen = .068. ...
Michael's user avatar
  • 111
1 vote
1 answer
94 views

TL;DR : How to prevent step-skipping with a NEMA gearbox motor at low speed. I am in the process of creating a system in which I want an object to turn on a plate and to show a letter depending on the ...
Guillaume_slize's user avatar
0 votes
2 answers
3k views

I am building a machine with a moving bed, the bed moves forward and backward. I need to incorporate a limit switch at the two ends that makes sure the motors stop at the two extremes. I have 2 ...
303jw1095's user avatar
2 votes
1 answer
3k views

I want to turn on my motor and count how many total rounds it has until my limit switch is switched on. After that, I want to count rounds counterclockwise until another limit switch is pushed. For ...
Korte Alma's user avatar
1 vote
1 answer
105 views

I am trying to use the stepper library and the stepper object is documented like this This function creates a new instance of the Stepper class that represents a particular stepper motor attached to ...
Confused individual's user avatar
1 vote
1 answer
224 views

(Arduino) Hello I don't know where I am going wrong here, please advise. In the end I want to step a bipolar motor, HIGH/LOW, using Timer0 with OCR0A and OCR0B interrupts to adjust the motors step ...
localmartian's user avatar
1 vote
0 answers
60 views

I'm making a project based on HC-SR04 ultrasonic sensor with a stepper motor and an SG90 servo motor. I have done some conditions for my stepper motor that is given below. Now I want to include my ...
Toufiq's user avatar
  • 11
0 votes
1 answer
934 views

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 ...
TeD van Loon's user avatar
1 vote
1 answer
327 views

In my project I have to control a stepper motor using arduino and microstep driver, can I control the motor so that it can move 90 degrees then stop for like a second and then move again and repeat ...
master mind's user avatar
1 vote
1 answer
113 views

Hello and thanks for any help in advanced. What changes do I need to make to my code to get rid of the issue of the valve opening up again at end of cycle in "Auto" function. Hardware: ...
MikeD's user avatar
  • 11
0 votes
3 answers
129 views

I plugged a BLDC gimbal motor in to my Arduino today, and it made a very small jitter. I tried to set an analog pin for the signal pin of the motor (motor had three pins, I assumed one was power, one ...
Nick N's user avatar
  • 21
1 vote
2 answers
784 views

Hello. Currently I'm working on creating an automatic dog food dispenser. I'm using a Arduino Uno R3, an L298N stepper driver, a DS1307 RTC breakout board, a Nema 17 stepper motor, and a breadboard to ...
Carter's user avatar
  • 131
1 vote
0 answers
2k views

I am using Uno and the A4988 driver with nema17 motor and finally the Accelstepper, I want to make the motor run endlessly in a direction, but when I press a button I want it to stop and run in the ...
Galal Rashid Sallam's user avatar
1 vote
0 answers
139 views

I'm working with an Arduino UNO and a stepper motor NEMA 17. I would like to know how to avoid the stepper motor to revert its spin direction when I apply a load in the shaft. The motor works as I ...
CoronelV's user avatar
  • 111
1 vote
1 answer
39 views

I've tried this code below but it doesn't stop it just rapidly switch direction that it looks like it's trembling I think because it always reads the void startF/R thats why it's trembling . I need ...
Exes's user avatar
  • 31
2 votes
1 answer
454 views

I am attempting to use a stepper motor to rotate one of my split-flap displays. However despite the thing the motor is rotating weighing probably half a pound, it struggles to do so. It really can ...
KidWithComputer's user avatar
1 vote
1 answer
2k views

I’m working on a 4 wheeled robot driven with stepper motors. I have a Raspberry Pi that sends a random (based on input image) pulse count to the Arduino board serially and then steps that amount. I’m ...
PlasticBlaze's user avatar
0 votes
1 answer
132 views

I need some advice. I am trying to code a setup of 4 stepper motors that are connected to a keypad and 2 DC-motors that run a conveyor belt. My goal is to be able to push a key, the correspondning ...
user76578's user avatar
1 vote
1 answer
293 views

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 ...
SPatel's user avatar
  • 13
2 votes
0 answers
1k views

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 ...
Jonasoos's user avatar
1 vote
0 answers
369 views

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 ...
Claire's user avatar
  • 11
0 votes
1 answer
359 views

How easy is it to create a code using an RTC to rotate the stepper motor one way at a specific time and back the other way at a specific time? and that time being charged different months of the year. ...
Rossatron 's user avatar
1 vote
1 answer
850 views

I am driving a bipolar stepper motor with an a4988 driver using the AccelStepper library. My goal is to press a button and the motor moves CW, then another button for CCW. I have looked at another ...
Epsicro N's user avatar
1 vote
1 answer
69 views

I'm building a simple cnc machine that just writes letters. It uses 2 steppers for x and y axis. Here is how it works generate letters in c# and convert them to list of lines send to arduino mov_xy ...
some rand's user avatar
1 vote
0 answers
811 views

I'm working on a project and using a nema 23 stepper motor and driver. Need to be able to move the stepper 1/32 rotation when I press a button. I need a small delay so I have time to release the ...
clint's user avatar
  • 11
3 votes
1 answer
6k views

Iam using 28byj-48 stepper motor and I want to know how to control its speed without using any library. I got to know that we need to add delays in between steps but I don't know how much delay I need ...
Akashbabutammali's user avatar
0 votes
2 answers
301 views

If googled and search here but can't find the same issue. I'm using an Arduino Uno, L298N driver (5v jumper is off - actually just 2 holes where the jumper pins were supposed to be), scavenge stepper ...
TungstenX's user avatar
  • 101
1 vote
1 answer
170 views

**I wanted to add an updated code after I have finished it to help others in the future if they are ever looking for it. EDIT AT END OF QUESTION AFTER ANSWER AND CODE UPDATE.** I currently have an Uno ...
PlasticBlaze's user avatar
1 vote
1 answer
323 views

I'm very new to arduino and have to work on a project for school. We have connected 3 motors (Servo, Stepper (180 degrees) and a DC motor) to an Arduino Uno, Adafruit motorshield and a pcb. With the ...
VKwochi's user avatar
  • 11
2 votes
0 answers
1k views

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, ...
A. Vreeswijk's user avatar
0 votes
1 answer
410 views

I have a problem. I am following this guide about controlling a NEMA 17 stepper motor: https://www.makerguides.com/a4988-stepper-motor-driver-arduino-tutorial/ I uploaded the code to my arduino uno ...
A. Vreeswijk's user avatar
0 votes
1 answer
281 views

I want to make a CNC machine that uses 5 NEMA 17 rated for 2A and a RAMPS 1.4 to control it all. I have a power supply that can deliver 1.5A at 12V. Is it enough? I am worried that when all 5 motors ...
DragonflyRobotics's user avatar
2 votes
1 answer
721 views

I am running a Nema 23 motor with an Arduino Uno and a microstepper driver. I am making a torsional vibration demo, which uses a series of springs connected to the motor driveshaft to spin gears. ...
czar1249's user avatar
0 votes
1 answer
183 views

Using Audrino Nano and MKS SERVO42 42 Stepper Motor With Driver Board Closed Loop with the LCD. I have got the motor going by using the menu on board. Now able to run Code1 https://github.com/makertut/...
Greg's user avatar
  • 39

1
2 3 4 5