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
4
votes
1 answer

Check if input field is changed

I am making a stepper form using React. And the form structure is almost done.. There are two steps, -> Basic Details -> Employment Details Here a form context has been used to fill out the input field default value and also if any changes made…
Undefined
  • 851
  • 5
  • 20
  • 48
4
votes
1 answer

How to implement a stepper decision flow in JavaScript?

I'm not actually sure of the best name for what I'm trying to describe. Decision flow, decision matrix, flow chart... What is the best way to implement a flow that is basically a "Choose Your Own Adventure" stepper, or a flowchart turned into a…
Tania Rascia
  • 1,563
  • 17
  • 35
4
votes
1 answer

how to run a 5v stepper motor on jetson nano

I tried running a 5v stepper motor using RPI code on jetson nano and it gives me ValueError: The channel sent is invalid on a JETSON_NANO Board I have installed jetson gpio and still giving me same error but the code works fine on raspberry…
4
votes
1 answer

In Flutter' Stepper, how to put the title of the Step below the counter?

If use the Stepper in horizontal mode, I get the following result. However, I want the title of the Step to appear below the counter. How can I achieve that in Flutter?
GianMS
  • 923
  • 2
  • 13
  • 25
4
votes
1 answer

Flutter: Customizing Stepper

Is there a way to change the color of the "line" between the steps? And also remove the padding to connect the "line" to the steps?
Ny Regency
  • 1,620
  • 8
  • 25
  • 43
4
votes
3 answers

How to change the numbers in steps of material-ui Stepper?

These steps takes the numbers which are length of the steps array i.e state = { steps: [0, 1, 2, 3] }; Later this state may change to this.setState({ steps: [1,2,3,4] }); Or this.setState({ steps: [2,3,4,5] …
Coder
  • 540
  • 1
  • 11
  • 34
4
votes
1 answer

Animate while setBackgroundColor in android

I'm working on a custom stepper. Everything is working fine. What I want to do now is animate the stepper while filling the current step. this Image shows my idea: This is my code while setting the color of the line, title, and the icon…
Abdulrahman
  • 301
  • 1
  • 3
  • 12
3
votes
0 answers

Stepper Motor not rotating properly/precisely

I would like to control a tray to move back and forth automatically between several positions automatically. Hardware: arduino nano / mega, TMC2209 and TB6600 stepper motor drivers, stepper motor 23HS84830. Power Supply: 12V/5A Problem: I wrote the…
LDS
  • 43
  • 5
3
votes
2 answers

SwiftUI TextField + Stepper

I'm trying to implement a TextField with a number input together with Stepper to control quantity. After entering a number in the TextField the Stepper loses the ability to change the number. I'm pretty sure there is a trick with Binding value, but…
3
votes
1 answer

Scrollable Angular Material stepper?

I am trying to use the angular material stepper to fill the form at every step. However, the data I have is quite large to fill and the header text for the stepper is shrinking. Something like this! Is there any way I can make the header…
abhigyan nayak
  • 1,394
  • 6
  • 25
  • 35
3
votes
1 answer

Angular Material Stepper prevent Step forward if some condition is true

I am wondering how I can skip a step change in Angular Material Stepper. Every "solution" I see, are not working. I tried also to set the steps regarding on some conditions to editable=false. But this means, that the step cannot edit if it is…
Buzz
  • 315
  • 6
  • 18
3
votes
1 answer

How to programmatically set selected index in Nebular nb-stepper?

I am experimenting with the nb-stepper component, and would like to set the selectedIndex in my angular component. When specifying two-way binding on [(selectedIndex)] after refreshing my activities, the nb-step is not updated to show the selected…
Todd Worden
  • 193
  • 1
  • 3
  • 9
3
votes
3 answers

Flutter Stepper - Show all content

I need a Stepper just to show the current status of something (in steps). Therefore I would like to display the content for all states at once. I removed the default Continue and Cancel buttons, but it only shows the content of the first Step. This…
harunB10
  • 4,823
  • 15
  • 63
  • 107
3
votes
2 answers

Flutter Stepper horizontal type not working

I have a problem with changing the Stepper type from vertical to horizontal. This is my code: body: new ListView.builder( itemCount: data == null ? 0 : 5, itemBuilder: (BuildContext context, int index) { return new Card( …
harunB10
  • 4,823
  • 15
  • 63
  • 107
3
votes
1 answer

how to prevent default behavior on click event in MatHorizontalStepper

I’m working in an Angular application. I have a MatHorizontalStepper and I’m wondering how to prevent the default behaviour of the next and back buttons. I thought I could just use event.preventDefault() in the click handlers but that doesn’t seem…
Gibran Shah
  • 871
  • 3
  • 15
  • 34
1
2
3
19 20