Skip to content

4A Motor Shield (SKU: 105030004)

Q1: The driver library requires modified.
A1: Yeah, the library actually is for Motor Shield V2.0. In order to make 4A Motor Shield works, please modify the following code in MotorDriver.h:
/******Pins definitions*************/
#define MOTORSHIELD_IN1 5 
#define MOTORSHIELD_IN2 6 
#define MOTORSHIELD_IN3 7 
#define MOTORSHIELD_IN4 8 
#define SPEEDPIN_A 10
#define SPEEDPIN_B 11


Then in StepperMotorDriver.ino:
/******Pins definitions*************/
#define MOTORSHIELD_IN1 5 

#define MOTORSHIELD_IN2 6 
#define MOTORSHIELD_IN3 7 
#define MOTORSHIELD_IN4 8 
#define 
CTRLPIN_A  10
#define 
CTRLPIN_B 11

Feedback and Knowledge Base