Help with Arduino code
#21
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
Micromark 7x14 Lathe, X2 Mill , old Green 4x6 bandsaw
The difficult takes me a while, the impossible takes a little longer.
Reply
Thanks given by:


Messages In This Thread
Help with Arduino code - by chucketn - 04-04-2015, 02:33 PM
RE: Help with Arduino code - by Vinny - 04-04-2015, 02:52 PM
RE: Help with Arduino code - by EdK - 04-04-2015, 05:21 PM
RE: Help with Arduino code - by chucketn - 04-04-2015, 06:19 PM
RE: Help with Arduino code - by EdK - 04-04-2015, 06:49 PM
RE: Help with Arduino code - by Vinny - 04-04-2015, 07:05 PM
RE: Help with Arduino code - by chucketn - 04-05-2015, 06:34 AM
RE: Help with Arduino code - by arvidj - 04-05-2015, 08:43 AM
RE: Help with Arduino code - by chucketn - 04-05-2015, 09:40 AM
RE: Help with Arduino code - by EdK - 04-05-2015, 09:57 AM
RE: Help with Arduino code - by EdK - 04-05-2015, 10:38 AM
RE: Help with Arduino code - by chucketn - 04-05-2015, 10:09 AM
RE: Help with Arduino code - by EdK - 04-05-2015, 10:19 AM
RE: Help with Arduino code - by chucketn - 04-05-2015, 12:20 PM
RE: Help with Arduino code - by EdK - 04-05-2015, 02:50 PM
RE: Help with Arduino code - by Vinny - 04-05-2015, 04:25 PM
RE: Help with Arduino code - by chucketn - 04-05-2015, 06:22 PM
RE: Help with Arduino code - by EdK - 04-05-2015, 06:49 PM
RE: Help with Arduino code - by Vinny - 04-05-2015, 06:50 PM
RE: Help with Arduino code - by EdK - 04-06-2015, 08:29 AM
RE: Help with Arduino code - by chucketn - 04-06-2015, 11:25 AM
RE: Help with Arduino code - by EdK - 04-06-2015, 11:48 AM
RE: Help with Arduino code - by Vinny - 04-06-2015, 03:47 PM
RE: Help with Arduino code - by EdK - 04-06-2015, 05:26 PM
RE: Help with Arduino code - by EdK - 04-06-2015, 05:34 PM
RE: Help with Arduino code - by Vinny - 04-06-2015, 05:41 PM
RE: Help with Arduino code - by EdK - 04-06-2015, 05:44 PM
RE: Help with Arduino code - by chucketn - 04-06-2015, 05:58 PM
RE: Help with Arduino code - by chucketn - 04-06-2015, 06:00 PM
RE: Help with Arduino code - by chucketn - 04-06-2015, 06:07 PM
RE: Help with Arduino code - by Vinny - 04-06-2015, 07:48 PM
RE: Help with Arduino code - by EdK - 04-07-2015, 05:41 AM
RE: Help with Arduino code - by chucketn - 04-07-2015, 08:02 AM
RE: Help with Arduino code - by chucketn - 04-07-2015, 08:06 AM



Users browsing this thread: 1 Guest(s)