Ralph wrote: ↑Wed Mar 30, 2022 6:21 am
A stepper motor cannot be used as an input, because it gives no feedback. A stepper with feedback, always relies on something like an encoder or a potentiometer, but those would be the regular inputs we have.
100% - a stepper is a pure output device.
If someone really wanted to create a two way positional system then It is virtually identical to the issue of the 'trim wheel' with both manual and auto (motorised) positioning which has been discussed several times.
Joe,
Is it not possible to read that EMF pulse? If we can read it then we can use it. What pins on the motor will that EMF pulse come from? Or can it be read from the ULN2003 driver card?
Keith
Unfortunately not in any reliable way without additional reasonably complex limiting circuitry as it is dependent on rotational speed and many many other issues such as 'holding torque' . Any EMF will be from the pole that is being passed and and the design of the stepper as in bipolar or unipolar wired. If you have a standard - say dual pole 4 wire stepper - non geared - stepper you can 'feel the force' shorting a single pole together. You will feel that the stepper is much harder to turn. This is actually a method that is used - certainly by me - to identify unknown pole windings by selecting any of the 4 wires and then shorting 2 together. which ever two causes the turning resistance - the force needed - to turn the stepper is one pole - ie the two wires for a single pole. the other two wires are automatically the other pole. You 'can' also use an led in this case but it is easy to blow the crap out of the led.
Issue 2 is that there is no way to obtain positional data without a feedback potentiometer or Absolute Encoder with the potentiometer being the preferred option.
edit - just a note on ULN type drivers. They are 100% output only as they consist of a Darlington wired pair of bipolar transistors with the final transistor being open collector output. (each channel is the same).
Joe