Dual-Channel DC Motor Driver-12A
I have one of the Dual-Channel DC Motor Driver-12A connected to a Raspberry Pi 3B+ as follows
GPIO.setup(12, GPIO.OUT) # PWM0 for Motor A
GPIO.setup(13, GPIO.OUT) # PWM1 for Motor B
GPIO.setup(17, GPIO.OUT) # A_IN1
GPIO.setup(27, GPIO.OUT) # A_IN2
GPIO.setup(22, GPIO.OUT) # B_IN1
GPIO.setup(23, GPIO.OUT) # B_IN2
The motors are connected to M1 and M2 as indicated and power to P- and P+ using the inner connectors. Power is provided by a 12V 8Ah Lithium battery and the State led lights up and remains solid
VCC 1 and 6 are connected to the Pi pins 2 and 4 being 5 Volt
GND 5 and X are connected to the Pi pins 34 and 30 being Ground GND
The motors do not run at all
What could be the problem?