DRV8833 Dual Motor Driver Features
Today, speed and direction control of DC motors is very important and useful. The H-bridge circuit is one of the most common techniques to control a DC motor. The DRV8833 dual-channel module uses this technique to control two DC motors.
This dual H-bridge motor driver can drive two DC motors, a stepper motor or other inductive loads.
The driver supply voltage is 2.7 to 10.8V and the allowable continuous current is 1.5A and the maximum allowable current is 2A.
Some common applications are:
- POS printers
- Office automation systems
This module has no PWM pin, so the speed of DC motors cannot be precisely controlled and it can only control the direction of DC motors. DC motors can be controlled in either direction (clockwise or counter-clockwise) using two control pins.
You can download the datasheet of this module here.
DRV8833 Dual Motor Driver Pinout
This Module has 16 pins:
- VM: Motor voltage
- GND: Ground – three ground connected to each other
- AO1: Positive end for motor A
- AO2: Negative end for motor A
- BO1: Positive end for motor B
- BO2: Negative end for motor B
- AIN1: Control signal for motor A
- AIN2: Control signal for motor A
- BIN1: Control signal for motor B
- BIN2: Control signal for motor B
- STBY: To active Standby mode, it should be HIGH
- NC: Not used
You can see the pinout of this module in the image below.
Note: Different modes of the control signals provide different performance modes for DC motors. The table below shows the different modes.
Interfacing DRV8833 Dual Motor Driver Module with Arduino
Step 1: Circuit
The following circuit show how you should connect Arduino to DRV8833 module. Connect wires accordingly.
Connect STBY pin to VCC pin.
Be careful not to use power supply greater than 6V, because the motor maximum safe voltage is 6V.
Step 2: Code
Upload the following code to your Arduino.
/* DRV8833-Dual-Motor-Driver-Module made on 23 Nov 2020 by Amir Mohammad Shojaee @ Electropeak
This code is for controlling two DC motors simultaneously. First, motors rotate clockwise. Then stop for 1 second, after that they rotate counter-clockwise. Then the motors stop again for 1 second, and the same happens.