Quite some time ago I bought some cheap DRV8833 Motor Controller Boards (HW-627) from China and now I planned to use them in one of my projects. I was struggling quite a bit to figure out how this is working. This board is using the DRV8833 chip and can control 2 motors in parallel.

Specifications:

  • Product size: 18.5*16mm/0.73*0.63″
  • Input voltage: 3-10V Single H bridge
  • Output current: 1.5A, can drive 2 DC geared motors
  • Uses: It can drive DC motors up to 1.5A and 4-wire stepper motors

Fist, to test a motor, I connected it directly to the power lines and this was working!

Then I connected VCC and In1 to the power line (+), GND and in2 to ground (-) and the motor to out1 and out2 and to my surprise the LED was on but the motor was not working. It took me quite some time to figure out that EEP must be set to high as well and after connecting it to the power (+) the motor started to spin!

To use the full functionality in Arduino  (e.g. with an ESP32, ESP8266 or any other board) use the following:

  • VCC: VIN
  • GND: GND
  • IN1::  general-purpose input/output (GPIO) Pin e.g. D0
  • IN2:  general-purpose input/output (GPIO) Pin, e.g. D1
  • EEP:  general-purpose input/output (GPIO) PIN e.g. D3

Define GPIO pins as output and set

  • IN1 to high
  • IN2 to low
  • EEP to high

To reverse the direction

  • IN1 to high
  • IN2 to low
  • EEP to high

It is even better to power the motor from it’s own battery with:

  • VCC: Battery +
  • GND: Battery – & GND (make sure that the battery and the Microcontroller share a common Ground!)
  • IN1::  general-purpose input/output (GPIO) Pin e.g. D0
  • IN2:  general-purpose input/output (GPIO) Pin, e.g. D1
  • EEP:  general-purpose input/output (GPIO) PIN e.g. D3

To control the speed – instead of setting the value to high-  use analogWrite to set a value to IN1 or IN2.

Power Consumption

For my tests I was using the Racerstar 8520 8.5x20mm 53500RPM Coreless Motor:

The measured power consumption at 5.0V was 0.4 Amps.

 

 

 

 

Categories: ArduinoRC

0 Comments

Leave a Reply

Your email address will not be published.