Motorshield - switch on stepper with button

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Motorshield - switch on stepper with button

Postby martinsiegrist » Sat Dec 29, 2012 12: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 5:40 pm

Re: Motorshield - switch on stepper with button

Postby adafruit_support_bill » Sat Dec 29, 2012 12: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: 16644
Joined: Sat Feb 07, 2009 9:11 am


Return to Arduino Shields from Adafruit

Who is online

Users browsing this forum: No registered users and 3 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [113]

Raspberry Pi[82]
 
FLORA[24]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[12]
Arduino[60]
 
NETduino[14]
 
Android[6]
 
BeagleBone[23]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[39]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[9]


 
Breakout Boards[35]
LCDs & Displays[49]
Components & Parts[70]
Batteries & Power[54]
EL Wire/Tape/Panel[52]
LEDs[112]
 
Wireless[16]
Cables[66]
 
Lasers[6]
Sensors/Parts[147]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[41]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[25]


 
Stickers[41]
 
Skill badges[55]
 
Books[26]
 
Circuit Playground[7]
 
Gift Certificates[4]