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
Motorshield - switch on stepper with button
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 5
- Joined: Sat Sep 22, 2012 6:40 pm
- adafruit_support_bill
- Posts: 88091
- Joined: Sat Feb 07, 2009 10:11 am
Re: Motorshield - switch on stepper with button
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
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
Please be positive and constructive with your questions and comments.