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 ?!!
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.
atash3712:
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.
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.
Grumpy_Mike:
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.