I am trying to run 2 Arduino motors and an analogue servo on an Arduino UNO. When only the motor shield is connected both motors with analogWrite work and run backwards and forwards but when I attach the servo one motor only runs one way the other runs both ways. The motor shield is a ‘deek robot motor shield’ Board layout attached with my code.
New L293D motor shield, the input voltage DC4.5-25V
600mA OUTPUT CURRENT CAPABILITY PER CHANNEL
1.2A PEAK OUTPUT CURRENT (non repetitive)PER CHANNEL
LOGICAL “0” INPUT VOLTAGE UP TO 1.5 V(HIGH NOISE IMMUNITY)
INTERNAL CLAMP DIODES
The Device is a mnolithic integrated high voltage,high current four channel driver designed to accept standard DTL or TTL logic levels and drive inductive loads (such as relays solenoides, DC and stepping motors) and switching power transistors .To simplify the use as two bridges each pair of channels is equipped with an enable input. A separate supply input is provided for the logic, allowing operation at a lower voltage and internal clamp diodes are included. This device is suitable for use in switching applications at frequencies up to 5 kHz.
MotorControl_Inst1_A.ino (1.33 KB)