Circuit Diagram
Last updated
Last updated
The entire Circuit will be as below:
The 2 Left motors will connect to Motor A on the driver board
The 2 Right motors will connect to Motor B on the driver board
A 3 X 18650 battery pack positive will be connect to the VSS / 12V terminal on the driver board and the negative will be connected to the GND terminal on the driver board.
The Arduino board will be powered by the same 3 x 18650 battery pack. Connect a jumper from the VSS / 12v terminal on the motor board to the VIN on the Arduino board. Connect another jumper from the GND on the motor driver to GND on the Arduino board
The Motor driver will be connected to the Arduino board as per below connections:
Motor driver ENA -> PIN 9 on Arduino Board
Motor driver IN1 -> PIN 8 on Arduino Board
Motor driver IN2 -> PIN 7 on Arduino Board
Motor driver ENB -> PIN 3 on Arduino Board
Motor driver IN3 -> PIN 5 on Arduino Board
Motor driver IN4 -> PIN 4 on Arduino Board
The bluetooth module will be connected to the Arduino board as per below connections:
Bluetooth VCC -> 5v on Arduino Board
Bluetooth GND -> GND on Arduino Board
Bluetooth TX > PIN RX on Arduino Board
Bluetooth RX -> PIN TX on Arduino Board