Ledong L293 Motor shield 乐动电机驱动: L293 driver for two 9-12 V Motor and two 5V servo.
Possible applications:
Line follower robot
Larger dc motor and servo engines
Stepper motors
Outputs:
2x motor driver and 2x servo
Inputs:
3x analog or digital input used
Specs:
9-12 V via external power supply
max 2 Amp
Extras:
Overload shutdown
BOM:
Footprint Comment Designators
0204/7 220-1k R7
0204/7 100K R6
0204/7 100K R5
0204/7 100K R4
0204/7 100K R3
1X06 Designator1
1X06 Designator1
1X06 Designator1
1X08 Designator2
1X08 Designator1
1X08 Designator1
1X14 Designator1
C2.5-3 C4
C2.5-3 C3
C2.5-3 C2
C2.5-3 C1
DIL14 74HC00N IC2
DIL16 IC3
E2,5-5 100uF C6
E2,5-5 100uF C5
LED3MM PWR
place-han_zi_z 1
SCHRAUBKLEMME2POL Comment Designator3
SCHRAUBKLEMME2POL Comment Designator1
SCHRAUBKLEMME2POL Comment Designator1
SIP3
SIP3
SIP6
SIP6
SIP8
SIP8
example code:
int A1Pin=10;
int B1Pin=11;
int E1Pin=9;
void setup(){
pinMode(A1Pin,OUTPUT);
pinMode(B1Pin,OUTPUT);
pinMode(E1Pin,OUTPUT);
}
void loop(){
analogWrite(E1Pin,240);
digitalWrite(A1Pin,HIGH);
digitalWrite(B1Pin,LOW);
delay(500);
digitalWrite(E1Pin,LOW);
delay(2000);
analogWrite(E1Pin,240);
digitalWrite(A1Pin,LOW);
digitalWrite(B1Pin,HIGH);
delay(500);
digitalWrite(E1Pin,LOW);
delay(2000);
}

