I am VERY new to Arduino, just starting out. I could use some guidance.
I have a fairly large stepper motor and driver that I need to control with my arduino. All I need to be able to do is set an input high to dictate rotation direction, then feed pulses at a given rate to tell the driver to step.
Once again, I am very new to Arduino, and programming in general, but I am trying to learn. Can someone give me a bit of code that will accomplish what I need so that I can dissect it and learn?
If you want to use an Arduino to control "something", google "arduino something" to find many solutions. Best to avoid Instructables, though, most of those are crap.
Basically I just need some simple code to dictate whether I drive an output pin high or not (tell the driver which direction to go. And code to tell the arduino to drive an out put high and at what frequency, to tell the driver to step.
the driver only has 2 inputs that I am using. direction, and step trigger.
Thank you Robin. I am working with the code. I can get the "Step" light to blink on the driver, but my motor never moves. I am thinking that I have some of the dip switches on the driver set incorrectly, or I need to adjust the code some. The Stepper motor emits a faint high pitched noise when I try the code against the driver.