Skip to main content

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.

Filter by
Sorted by
Tagged with
-2 votes
1 answer
72 views

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 ...
Sanchit Batra's user avatar
0 votes
1 answer
95 views

I’m using a NEMA 17 stepper motor (model 42SHDC3030Z-23WB-1 / 17HS4401S) with a DRV8825 driver with small radiator and an ESP32. Even when set to 1/16 microstepping, the motor motion is very jerky. It ...
AK_Script's user avatar
1 vote
2 answers
154 views

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 ...
MDChaara's user avatar
  • 207
1 vote
1 answer
128 views

I'm trying to build my own CNC machine. Since I need to control a large number of motors at the same time, I want to control it via an Arduino master and several slaves with CNC shields. Now I'm ...
Amamaway's user avatar
0 votes
1 answer
158 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
1 vote
2 answers
192 views

I have created a library to control a stepper motor. I have a controller that accepts a pull signal, and then executes a step, so my code needs to generate a state change in order to make the ...
Wojciech Kosela's user avatar
1 vote
0 answers
101 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
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
0 votes
0 answers
143 views

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) ...
Bas's user avatar
  • 109
-1 votes
1 answer
1k views

I'm pretty new to Arduino. I am trying to build a self-balancing robot. I am using A4988 drivers, an ESP32 microcontroller, NEMA 17 motors, and a 6050 MPU. The problem is that, although the speed ...
camu's user avatar
  • 1
0 votes
2 answers
1k views

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 ...
warherolion's user avatar
2 votes
2 answers
502 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
0 votes
1 answer
678 views

I am using two 28BYJ-48 stepper motors with two motor drivers that they come with. (I don't know the name of them.) Here is my code: /* * Code to control two stepper motors simultaneously using the ...
Gabriel Adams's user avatar
1 vote
2 answers
1k views

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 ...
adamaero's user avatar
  • 198
1 vote
0 answers
253 views

I have been trying to run stepper motor via Arduino Uno and A4988 motor driver via this tutorial: https://howtomechatronics.com/tutorials/arduino/how-to-control-stepper-motor-with-a4988-driver-and-...
user89175's user avatar
-1 votes
1 answer
502 views

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

I'm using a repurposed MKS Gen L V1.0 board (arduino MEGA + RAMPS, basically) to control a pair of IR sensors and a NEMA 23 stepper with TB6600 driver. The application is simple: raise and lower the ...
Bill in Kansas City's user avatar
0 votes
1 answer
145 views

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

I connected a LED stick to a stepper motor. Is it possible to blink the LED without stopping the motor rotation? I am using SparkFun RedBoard Plus, Qwiic LED Stick - APA102C, Adafruit Stepper motor - ...
hsi100 's user avatar
0 votes
1 answer
610 views

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 ...
user2201584'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
0 votes
1 answer
644 views

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 ...
dinotom's user avatar
  • 360
1 vote
0 answers
1k views

When using the AccelStepper library to control the motor, I need the current position of the motor at any given time when in motion. However, the functions in this library blocks so currentPosition() ...
thediyer's user avatar
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
2 answers
225 views

I am very new to Arduino (and fritzing so please excuse my poor layout). I am trying to automate my patio sun shade, eventually it will incorporate a photocell but I wanted a proof of concept first ...
Balthozar's user avatar
2 votes
0 answers
149 views

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 ...
nightman's user avatar
1 vote
1 answer
549 views

I have a stepper motor and at present it is controlled by a sketch all working fine. I need now to add it to a Win32 app to control it in circuit with existing Servo Motor. The servo Motor is working ...
user3884423's user avatar
1 vote
2 answers
807 views

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 ...
Kim's user avatar
  • 11
1 vote
0 answers
522 views

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....
user77595's user avatar
1 vote
2 answers
472 views

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 ...
ondrej's user avatar
  • 23
5 votes
1 answer
196 views

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 ...
Jasper's user avatar
  • 151
1 vote
0 answers
707 views

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 ...
2012User's user avatar
  • 149
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
2 votes
1 answer
904 views

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) ...
KidWithComputer's user avatar
2 votes
0 answers
852 views

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(...
KidWithComputer'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
370 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
1 vote
0 answers
61 views

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

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 ...
NinjaOtt3r'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
0 votes
1 answer
200 views

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 ...
Strae's user avatar
  • 101
1 vote
0 answers
287 views

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 ...
Anthony's user avatar
  • 11
1 vote
1 answer
159 views

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 ...
Mohamed Technology's user avatar
1 vote
1 answer
3k views

I need to add some end stops to this stepper motor code. I'm using one axis of a joystick to control a carriage that goes back and forth on a long screw. I have hall switches for both ends, I just ...
edrummer's user avatar
1 vote
1 answer
509 views

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 ...
Robert Born's user avatar
2 votes
1 answer
602 views

So I'm pretty brand new to Arduino's in general so I do apologize if its a simple mistake. But basically I'm trying to use the <Stepper.h> library to control my NEMA 14 motor on an arduino with ...
Geo's user avatar
  • 21