April 2018
Beginner
552 pages
13h 58m
English
The unit will need to be wired as follows (this will be similar for other H-bridge type controllers, but check with the relevant datasheet if unsure).
The following table shows how the motors and motor power supply connect to the H-bridge controller module:
|
The motor side of the module – connecting to the battery and motors |
||||||
|
Motor A |
VMS |
GND |
5V OUT |
Motor B |
||
|
Left motor red wire |
Left motor black wire |
Battery positive |
Battery GND |
None |
Right motor red wire |
Right motor black wire |
The following table shows how the H-bridge controller module connects to the Raspberry Pi:
|
Control side of the module – connecting to the Raspberry Pi GPIO header |
|||||||
|
ENA |
IN1 |
IN2 |
IN3 |
IN4 |
ENB |
GND |
5V |