04-06-2015, 11:25 AM
I'm confusing myself with posts on 2 forums about this.
I got my meter out and in trying to set the 4x4 keypad sketch to step in one direction or another, I discovered that the driver board has 5vdc on the dir pin with nothing connected. Evidently the Dir output from the Arduino is not changing or sinking the current on the driver Dir pin.. If I force the driver Dir input low, by connecting it to ground from the Arduino, the direction reverses. The sketch is having no affect on direction.
I verified this by putting my meter on the dir pin output of the Arduino and running the sketch without the driver connected. The output does not change from .001vdc with either choice of direction.
Just to reiterate, I use the driver board with another Arduino running Chuck F's sketch from his post on HMEM with no changes. I am trying to add the ability to enter # of divisions from a 4x4 keypad rather than X # of button pushes for X # of steps.
Chuck
I got my meter out and in trying to set the 4x4 keypad sketch to step in one direction or another, I discovered that the driver board has 5vdc on the dir pin with nothing connected. Evidently the Dir output from the Arduino is not changing or sinking the current on the driver Dir pin.. If I force the driver Dir input low, by connecting it to ground from the Arduino, the direction reverses. The sketch is having no affect on direction.
I verified this by putting my meter on the dir pin output of the Arduino and running the sketch without the driver connected. The output does not change from .001vdc with either choice of direction.
Just to reiterate, I use the driver board with another Arduino running Chuck F's sketch from his post on HMEM with no changes. I am trying to add the ability to enter # of divisions from a 4x4 keypad rather than X # of button pushes for X # of steps.
Chuck
Micromark 7x14 Lathe, X2 Mill , old Green 4x6 bandsaw
The difficult takes me a while, the impossible takes a little longer.
The difficult takes me a while, the impossible takes a little longer.