rodw
Well-Known Member
- Joined
- Dec 2, 2012
- Messages
- 1,146
- Reaction score
- 340
Just wanted to publically say "BIG THANKS" to Rod for producing the code. I ve downloaded it today and looked over the content. I can see there has been a bucket load of work thats gone into writing it.
I've loaded the code to the UNO. Still waiting on the screen.
Q. Does anyone have a diagram of the external wiring? If not, no biggie, will read through the code again and grab the important pins from it.
Cheers
Michael
Michael, glad you like it.
Step and direction use a pin each. You also need to connect ground to the stepper controller for each of these signals and you may need to send +5v to an enable pin in some stepper controllers.
I think from memory, you can set the pins for step and direction in the setup section and it will be saved to the EEPROM. It took me a long time before I realised that the random movement in the stepper motor when downloading the script was because I was using the same pins as the USB serial port....
Remember, it also can do linear movements but nobody has tested that section of it and because it supports multiple setups, you can use it on different machines. I had in mind to use it for a power feed in my mill.