Opta Ext A0602 driving stepper motor with external driver

I have been using the Opta for some test set ups using pneumatic cylinders, intergrated relays work great.

However now I have a project where I wish to drive a steppor motor with an external driver, just need step and direction digital pins. Very straightforward task with a nano

I thought I would be able to do this with the opta Ext A0602 but now i am not sure its possilbe.

Any ideas?

Thanks in advance :slight_smile:

Analog expansion for OPTA features 4 PWM outputs. I can't see other way now.

Info is almost by the end of this manual.
https://docs.arduino.cc/tutorials/opta/user-manual/

Is there any way to set an exact number of pulses? I am facing the same issue and I need pretty much exact control of the stepper motor...

PWM is not the way to output discrete number of pulses. Expansion Arduino Pro Opta Ext D1608S — Arduino Official Store features solid state relays, much more adequate to this duty. Your expansion also provides analog outputs. If not ideal solution, you'll find easy to draw a train of pulses through DACs, loading the values according to the desired output level. Try 0-20mA current output, as its signal is not degraded with cable length and you can set the desired voltage value with a pull-down resistor termination on stepper target.

2 Likes