Motorshield - switch on stepper with button
Moderators: adafruit_support_bill, adafruit

Motorshield - switch on stepper with button

by martinsiegrist on Sat Dec 29, 2012 1:35 pm

Hello I have a Motorshield on top of an Arduino Duemillanove and I want to be able to control a stepper motor with a button or two. I went through most of the basic tutorials for Arduino, however I have difficulties to figure out how to connect either a button or potentiometer to the Motorshield. Is there a tutorial somewhere?

Thanks for helping. Martin
Posts: 5
Joined: Sat Sep 22, 2012 6:40 pm

Re: Motorshield - switch on stepper with button

by adafruit_support_bill on Sat Dec 29, 2012 1:58 pm

The Motor Shield FAQ lists which pins are available for use.
All the shield header pins are broken out in the row of holes adjacent to the headers.

Lesson 6 of the Arduino tutorials covers wiring and programming for pushbuttons: ... tal-inputs

If you don't want to solder the wires directly to the board, you can use a wing-shield:
or add some female headers to the row of breakouts.
User avatar
Posts: 30866
Joined: Sat Feb 07, 2009 10:11 am