Hi Brian,
Once again thank you for your suggestions, i got the resistors and i will try it later. Although some questions raise to my mind.
- From the videos i saw the led is never blinking, and i already had that question in my mind, why do they blink on my drives.
- I probed all the other pins and pin 12 is the only one that turns the drive on so i assumed it's a "feature".
- The stepper motor apparently doesn't get inhibited by the sensor alone, because in the 'good' drive the sensor also exists and doesn't affect the motion or the direction pin, i believe the internal logic of some drives is different.
- I also understand that manually probing the pin may cause some failure on the stepping mechanics of the drive, but, that would happen in both direction, in my case, when i probe without the direction pin 18 and the drive moves steady in one direction, when i set pin 18 to high state the motor simply doesn't move. It wants to move, i can feel the feedback in the motor but won't turn.
- Also, when i connect those pins to my parallel port interface, the results are identical, slower of course because of the timing, but it also moves properly in one direction, but when pin 18 state is set the motor doesn't move unless i cover the optical sensor.
From my little understanding of electronics, i believe the problem is on the interactions with the pins and the logic of the controller, i just don't know how to do certain things.
For example i believe that if i could set the optical sensor to 'blocked' at the same time i set the pin 18 that would solve me the problem.
So basically i would need to block the sensor and set pin 18 to move inwards and unblock the sensor and unset pin 18 to move outwards.
Either way i will test your suggestion and give you feedback, but i think the result will be the same.
Once again, thanks for your time!