Questions tagged [stepper]

Software for managing microcontroller input and output for controlling stepper motor hardware; To be used together with the platform tag.

Steppers are very precise motors that give a very precise control on their rotation. The full rotation is divided into steps and the driver circuit of the motor allows to execute commands that precisely move the motor by a given number of steps, in a given direction and at given speed.

Use this tag exclusively for software-related questions such as:

  • stepper control code
  • libraries controlling steppers
  • producing/processing I/O related to steppers

Use this tag in combination with the hardware environment, such as or .

More information:

297 questions
0
votes
1 answer

Interference between two UIStepper controls

I have a program with two stepper controls. I click the first control and increase to 10. When I click the second control, the value of the first control changes to 11, before the second control changes. If I would set the second stepper to 5 and…
Terry Ohr
  • 1
  • 1
0
votes
0 answers

How to calculate period for current pulse (Driver for stepper motor)

I am writing a driver for stepper motor. I did a spreadsheet in Excel for acceleration and deceleration using ramp. I calculated speed for every steps. I have one question. How can i calculate period for one pulse (with other speed). I need it to…
0
votes
1 answer

Stepper Motor won't stop rotating

I'm trying to get my 28BYJ-48 Stepper Motor to rotate one quarter of a revolution and then stop, but I'm having trouble implementing that in code. What I find is no matter how small I make the numbers in my code or even alter it in ways that make me…
gdagis
  • 113
  • 1
  • 4
  • 15
0
votes
0 answers

Why stepper motor power supply fluctuates

I am driving stepper motor using Raspberry Pi 3. I am using stepper motor driver Pololu A4988. A driver has potentiometer which we can adjust to provide specified current to the motor. My stepper motor current rating is 1 Amp and I am using 12 V 3 A…
0
votes
2 answers

use different fragments for steps

Im using android-material-stepper library for step implementation but here i can use one fragment and it is showing 3 steps. i need different fragments for different steps, how to use like that? i have different views like Fragment 1 is having…
rakcode
  • 2,256
  • 4
  • 19
  • 44
0
votes
1 answer

Draw a circle using 2 stepper motors (Arduino)

I want to draw a circle using 2 stepper motors(42H48) and 2 drivers (TB6560). The hardware are like this: (y-axis motor) | | --—--- |-------- (x-axis motor) | | Now, i only can control these motors to draw like…
Vfire
  • 41
  • 4
0
votes
1 answer

Shows Error on adding Vertical Stepper Library

I want to implement Vertical Stepper Library in android. But something goes wrong, it shows an error: Caused by java.lang.IllegalArgumentException: Cannot add a null child view to a ViewGroup @Override protected void onCreate(Bundle…
Rohit Gurjar
  • 437
  • 4
  • 12
0
votes
2 answers

Creating a stepper control with a limiter

I created a simple stepper control that has a limiter. It seems to work well in general. But if I try to make the limiter ranges from numeric_limits::min() to numeric_limits::max(), it doesn't work properly when the value becomes…
Zack Lee
  • 2,784
  • 6
  • 35
  • 77
-1
votes
0 answers

why the validations error aren't being printed on the page?

i am creating a form, instead of using manual validations, i read using the validations provided by react-hook-form and yup are more efficient and can save a lot of time , so on the website i follow the instruction, i was getting the error…
-1
votes
1 answer

Arduino stepper, accelstepper library, doesn't rotate as expected

Hardware: Arduino Uno Rev3 A4988 Stepper driver Nema 8 Stepper Motor What I am attempting to do is send a packet from a Python GUI to an Arduino. The serial communications work as expected. However, the number of rotations that I'm expecting to…
Michael
  • 174
  • 2
  • 13
-1
votes
1 answer

How to fix my code which receives data from serial1 and prese a value and sends it to serial0 while running a stepper motor

I have the following part of a big code which sends a hex code to a torque sensor thought serial1 and receives a response then it converts the hex value to decimal, converts the decimal to float, then sends it to serial0 (pc). This should happen…
-1
votes
2 answers

Arduino Accel stepper library always stepping at 1 step/s

I want to move two steppers using a joystick. I'm using the Accel Stepper library, and I am using my own code to poll the joystick (which works well btw). The problem is that even if I'm setting the motors to run at the maximum speed (200 steps/s),…
SetKat
  • 1
  • 3
-1
votes
1 answer

Arduino Step Motor LED remains on

So I am using a Step Motor 28BYJ-48 and while turning the LEDS will light up. Now the problem that I'm having is, that the LED labeled D won't turn off. My ESP is going into deepsleep to save battery and to improve that, it would be really nice if…
Buschmxnn
  • 43
  • 6
-1
votes
1 answer

Changing style of mui stepper icon

I would like to change the color of the icon from to this : I know that it's not .Mui-active nor .Mui-completed , I tested .Mui-disabled but it doesn't work here is the link to the sandbox…
Abdelkader
  • 43
  • 8
-1
votes
1 answer

How do I get a stepper motor to return to starting position?

I am using an Arduino 2560, NEMA23 Stepper motor with a TB6600 driver. The driver is set to 1/32 step division. The motor by default is 200 steps per revolution. I want to input step size, number of steps and settling time. Once the loop completes…
1 2 3
19
20