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
martinsiegrist
 
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. http://learn.adafruit.com/adafruit-motor-shield/faq
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: http://learn.adafruit.com/adafruit-ardu ... tal-inputs

If you don't want to solder the wires directly to the board, you can use a wing-shield: https://www.adafruit.com/products/196
or add some female headers to the row of breakouts. https://www.adafruit.com/products/598
User avatar
adafruit_support_bill
 
Posts: 30814
Joined: Sat Feb 07, 2009 10:11 am