Hello,
I'm very new to Arduino world and have a question about Motor Shield v2.
I am working on my school project, what I am doing is connecting a stepper motor and a Leap Motion and control the motor by the Leap Motion (just in case, Leap Motion is a hand motion sensor).
I am trying to put two button switches (or one) to motor on/motor off.
I googled and searched how to add button switches on the board but I still haven't figured out - I'm very new and don't have any background knowledges :(
Anyway, is it able to use SCL row (The red box on the pic of my motor shield v2) to connect button swiches? I'm thinking to use stackable female headers on the motor shield and connect the motor shield and a breadboard. then put button switches on the breadboard. What do you think?
Motor Shield v2 Button
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- lan112
- Posts: 4
- Joined: Sat Feb 22, 2014 10:08 pm
Motor Shield v2 Button
- Attachments
-
- 20141024_102859.jpg (250.4 KiB) Viewed 242 times
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Motor Shield v2 Button
The shield is designed to be controlled with an Arduino, are you planning to do that? Those rows on both sides connect to the pins right next to them so you can connect things on the shield to the underlying Arduino.
- lan112
- Posts: 4
- Joined: Sat Feb 22, 2014 10:08 pm
Re: Motor Shield v2 Button
Yep. I am using Arduino UNO (I disassembled to take this pic, actually the shield and the Arduino are connected.) and the motor works fine! but just wondering where to connect if I'd use button switches..
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Motor Shield v2 Button
Any of the unused digital pins would work for switches.
- lan112
- Posts: 4
- Joined: Sat Feb 22, 2014 10:08 pm
Re: Motor Shield v2 Button
Thank you so much!! :)
Please be positive and constructive with your questions and comments.