Hi All,
I am trying to use this online example ( https://www.instructables.com/3-AXIS-C ... ICAL-ENCO/ ) to test Adafruit Motor Shield V2.
What I want to do is to have Adafruit Motor Shield V2 mounted on top of Arduino Mega 2560, input the STEP/DIR control set point, and use the closed-loop control via getting the feedback signal from the encoders of the motor.
However, I got confused about the interfacing pins between the Arduino and Adafruit Motor Shield V2, which are the red blocks with "?" inside the following picture.
I assume these pins should be among the digital I/O pins, but cannot identify what are the exact pin numbers. Would any educate me on it?
Thank you!
Questions of Adafruit Motor Shield V2
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88154
- Joined: Sat Feb 07, 2009 10:11 am
Re: Questions of Adafruit Motor Shield V2
The motor shield does not have a hardware step & direction interface. The dual H-bridge chips on the board are controlled by a PCA9685 PWM chip with an i2c interface. Stepper motor functions are implemented in the library.
https://learn.adafruit.com/adafruit-mot ... per-motors
https://learn.adafruit.com/adafruit-mot ... per-motors
Please be positive and constructive with your questions and comments.