Hi guys, im loking for a guide to do the following with the following:
1x Nema17
1x A4988
1x Relay Controlled by other means (Normally Closed)
2x Micro switches (1 generally closed, 1 generally open)
What im looking for is
when the External relay changes state to Normally open (it will latch open)
the Nema17 rotates and continues until it reaches the Microswitch 2 (Causing MS2 to Close)
When the relay changes back to Normally Open the Nema17 runs backwards until Microswitch 1 Closes
I cannot seem to find any code for this, although i am unsure what to search.
I do have some code that doesnt work correctly, I was remiss in not posting the code:
I was also just looking to see if anyone had working code,.
The code i have was not seemng to take any notice of the switches.
It was from a project I found here, i will be back having a play on Tuesday, and will post the code i have