Stepper Motor Direction Switching Using Switches - Grove Connectors

Hello all. New to Arduino life. I have a Leonardo board and a Seeed Motorshield V1.2, and a bipolar stepper motor (4 wires).
I am trying to get my camera slider automated with a basic on/off switch, speed control with pot., and direction switching at each end of the slider, nothing more at this point.
So far I've been scouring the net for code I can copy and I have gotten my motor to run in both directions with delays and such, with no outside influence via pots or switches. My next move is to add the potentiometer and switches to the mix.
The only way it seems to attach my potentiometer and switches to the Motorshield is through the Grove connectors. Is this correct? If so, I can't seem to find any documentation about the Grove ports and how to use them, code wise.

Can someone here point me in the right direction?
I've watched lots of tutorials on motors, but they don't include the Motorshield let alone Grove connectors. Most of the videos I see are just people letting me watch their motor run. Blah.

Thanks,

Brad

The only way it seems to attach my potentiometer and switches to the Motorshield is through the Grove connectors. Is this correct?

No... You connect your pot & switches to the Arduino. Your sketch reads these inputs and does whatever you program it to do.

I'm not home right now, but it seems the Seed Motor Shield occupies all of the header pins on the Leonardo except the SCL, ADA, and AREF.

Maybe I'm just not familiar with it all yet. Any links or photos you can refer me too?

Thanks again.

Look at the schematic for the motor shield. Are there any analog pins hard wired to the motor shield ? If the motor shield can only use one analog pin per motor, is it possible that ALL the analog pins are hard wired to the motor shield ?

Can't find a schematic for the Motor Shield, but there is a layout picture. All the pins on the bottom of the motor shield plug into the Leonardo. The top of the board only has the Motor Interface (where the motor is attached), an external power connector, a Grove connector Serial Interface, a IIC ? Grove connector interface, and the other multiple Grove analog and digital interfaces, no other pins other than the Power Supply Connector Selector.

What are the Grove ports for?

I did see a slide potentiometer and other sensors that have grove connectors for a myriad of different projects on the SeedStudio site.

I just can't seem to find anyone using this particular Seed Motor Shield with a potentiometer.

Thanks again.

What's this ?
http://www.seeedstudio.com/wiki/images/d/d3/Motor_Shield_V1.0_Schematic.pdf

Get a meter and measure the voltage on each analog pin while running a program that turns on that analog pin to PWM 128.
If you can measure the voltage and control it with or without the shield plugged in, isn't it reasonable to assume those pins are not connected to chips on the motor shield ? I see analog pins hard-wired only to the group of 4-pin motor connectors labeled
J20 -J25
SEE ATTACHED

Motor_Shield_V1.0_Schematic.pdf (55.5 KB)

Sorry, It looks like a schematic.

As you can see the Grove connectors are labeled "Twig-2.0-DIP'D'" These are the only place I can connect anything to on the Motor Shield other than the motor itself or an external power supply. There are seven Grove digital ports and six analog.

There is nothing left on the Leonardo after plugging in the Motor Shield except the SCL, ADA, and AREF.

Thanks again.

Thanks raschemmel I'll do that.

So am I safe to assume this is where I would connect my pot and switches?

Thanks so much.

Later.

Something tells me you are clueless as to how to connect a stepper motor to that driver.
Do you see J3 (out-1,out-2, out-3, out-4) ?
Do you see J7 (IN1 -IN4, ENA,ENB, GND) ?

Well, guess what ?
J3 is where you connect the stepper motor
and J7 is where you connect your input signals , (ENA & ENB =( PWM from pins 3,5,6,9,10,13))
IN1 - IN4 = any digital output.

Maybe it's time you had a look at this:

leonardo_pinout_600.png