Hi,
I have an issue with my DRV8835 motor driver (connected to Arduino UNO). The driver isnt working properly, or to be honest, not at all, i hooked up the driver with my controller and DC motor and it wont work, the power isnt getting to the dc motor pins. Basically the instructions on the schematic were clear what to connect and so i connected the following
Microcontroller side:
Logic GND to Arduino GND
Logic VCC to Arduino 5V
BIN2 to Arduino pin 6
BIN1 to Arduino pin 7
AIN2 disconnected
AIN1 disconnected
VM disconnected
External side:
Power GND to Battery - (9v)
Power VIN to Battery + (9v)
BOUT2 to DC Motor 1
BOUT1 to DC Motor 1
AOUT2 disconnected
AOUT1 disconnected
MODE disconnected (set to IN/IN Mode)
The code is really basisc:
void setup()
{
pinMode(7, OUTPUT);
pinMode(6, OUTPUT);
}
void loop()
{
digitalWrite(7, LOW);
analogWrite(6, 255);
}
If anyone could help me with this i would really appreciate it!
Thanks.