Go Down

Topic: How can I rotate a stepper motor axis by hand and record the output? (Read 115 times) previous topic - next topic

atash3712

Dear All,

Here is my question.

everyone can apply rotation direction (clockwise or counterclockwise), a number of rotations, speed, and even the acceleration using libraries.

someone determines all input parameters and the Arduino board figure out how to manage it and rotates the stepper motor. is it possible to does reverse here? I mean someone rotates the axis of a stepper motor and the board records and report some output values which are speed, acceleration,  number of steps and etc. :o ?!!


Railroader

You can't rotate a powered stepper motor without using excessive force, and as faar as I know there's is no equipment availbale to detect that.
Use rotary encoders to send steps and direction to the controller.
Use Your knowledge. If that's not enough, look for education.
Having knowledge, think outside the box to gain more of it. Only trains run like the train, on the rails. The rest run between the rails.

groundFungus

You will save everyone's time if you read and follow the forum guidelines.  https://forum.arduino.cc/index.php/topic,148850.0.html

Robin2

I mean someone rotates the axis of a stepper motor and the board records and report some output values which are speed, acceleration,  number of steps and etc. :o ?!!
That seems a strange requirement.

If you explain the project you are hoping to create it will be easier to give useful advice. There may be another way.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

Grumpy_Mike

I made a project some years ago that used a stepping motor in this way. It controlled a bat in a game of pong. When the bat and ball made contact I energised one of the coils which gave it an increase resistance to movement. This is sometimes called haptic feedback. It felt great.

Connect an LED directly across a coil in the motor and it will flash as you turn the motor. Connect this to your Arduino and you can count these pulses.

Paul__B

Connect an LED directly across a coil in the motor and it will flash as you turn the motor. Connect this to your Arduino and you can count these pulses.
Caveat: You need a series resistor (10k) and diodes between the input pin and ground and Vcc to protect the Arduino input.  :smiley-eek:

Go Up