It works without an optocoupler.
It doesn't work with Optocoupler. The motor does not move.
It works without an optocoupler.
It doesn't work with Optocoupler. The motor does not move.
ENA terminal?
ENA and ALM are of course also connected. But not by opto.
If ENA were not connected, the red LED on the driver would light up. But is green as it should.
just a WAG:
It looks like the optoisolator uses resistive pullups. If so, it would have better drive if used in active low mode.
This means wiring the drives PUL+ and DIR+ to +5V and connecting the PUL- and DIR- to the optoisolator outputs
This also may require setting the falling edge trigger option
I've already thought about that.
Can you make me a drawing
I'm not sure how to connect it.
+5V --> PUL+
+5V --> DIR+
O1 --> PUL-
O2 --> DIR-
Unfortunately, it doesn't work either.
I think the optocoupler is not suitable for the JMC driver.
Or the step width is not correct.
unfortunately i don't have an oscilloscope to find the exact step width
the "Step" signal from the controller has only 0.11v. Is that correct?
The "Dir" signal has 5v
Ok, I spend entire Sunday testing configurations like this. Long signal wires can be tricky specially in noise environments which this is.
Suggestion from PCW_MESA worked perfectly but I had to remove 2k2 pull-up resistors from opto adapter otherwise current was to low. "Invert" also needs to be enabled in settings. Because of long wires I also used 12V instead of 5V.
Please don't measure if you do not understand.
"Step Width" is described in user manual.
It is not possible to measure step signal with multimeter. This is high frequency signal with low duty cycle.
Sorry, my bad.
Here it is:
Thank you. I'll test that out today. I hope it works with the stupid JMC drivers.
What are the maximum frequencies of the optos?