synthetos / TinyG

Affordable Industrial Grade Motion Control
https://github.com/synthetos/TinyG/wiki
897 stars 293 forks source link

Control Via J17-20 Pins #192

Closed cago6586 closed 7 years ago

cago6586 commented 8 years ago

Hello,

This isn't necessarily an issue, but more of a general question. (If there is somewhere better I can ask questions please let me know.)

I am wondering if I can use the enable/direction/step pins on J17-20 to directly control the stepper motors connected. For example, if I connect a motor, give power to the tinyg, and set up a function generator to put a square wave with some duty cycle into the step pin, would this cause the motor to rotate?

Any help on this would be much appreciated!

Thanks, Carmelo

aldenhart commented 7 years ago

Yes, those pins are designed for just that. Please note that they are 3.3v outputs direct from the processor, and may need to be buffere to level shifted to 5v if the external driver requires it.