Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
1answer
33 views

Arduino based fully controlled aquaculture

I am doing a project on aquaculture,so I am using temperature sensor, water level sensor, dissolved oxygen sensor, pH sensor and also 4 motor's and water heater is it possible for a single Arduino to ...
0
votes
0answers
35 views

Controlling multiple stepper motors non-simultaneously

I want to control multiple stepper motors one after another and at different speeds/directions. I am using the ULN2003 driver and the stepper has 5 coils. My current code for controlling one motor is:...
0
votes
1answer
28 views

How can I pulse a stepper motor whilst also wanting to handle other tasks?

A Polulo A4988 driver board listens for a LOW -> HIGH pulse on a digital pin to step a stepper motor. A simple way to pulse this with a delay of say 100μs, is to use the delayMicroseconds function:...
-1
votes
0answers
30 views

Stepper Motor doesn't rotate counterclockwise

I am connecting my stepper motor to drive to Arduino and need it to rotate it counterclockwise and clockwise. I tried changing speed and steps to make it go anti-clockwise but it still doesn't work. ...
1
vote
0answers
32 views

Stepper Motor button control with A4988 Driver

So I'm quite new to programming and have inevitably worked myself into a corner. What I am trying to accomplish is to allow for a stepper motor, (powered by an A4988 driver) to move with the push of a ...
0
votes
0answers
41 views

Stepper Motor Not Running Code

I'm working with an Arduino Mega and I'm trying to run a stepper motor and servo from the same code. There are two buttons: one operates the stepper and the other operates the servo. I'm trying to ...
0
votes
1answer
242 views

Controlling stepper motor direction with push buttons

I'm trying to control the direction of three 28byj-48 stepper motors using the ULN2003 drivers. I am using 6 push buttons, 2 for each motor. what I want is for each motor to be stationary by default ...
0
votes
1answer
47 views

How do I make a stepper motor compass cross 360° to 0°?

I am building a wet compass for a flight simulator. I currently have a stepper motor functioning well with the simulator but at the point of crossing 360° to 0° the stepper does a full reverse 360° to ...
0
votes
1answer
84 views

Changing PWM on Arduino Mega, pins 9 & 10 to 20 to 25 KHz

I'm trying to run a Nema 17 motor with a l298N motor Driver for a school project. The issue is that I am running the motor with PWM to avoid overheating of the driver, however the resulting noise at ...
0
votes
2answers
1k views

Ramping a stepper motor

I at the moment trying smoothly move a stepper motor. The problem with the stepper motor, is that it makes a high pitch noise while it moves, or sometime a crackling noise from the motor. So i tried ...