Hello there,
im creating my first Arduino poject - car. Im controling my 2x2 DC motors with H bridge conected to 11.2V power suply.
Problem is one output provides (in my eyes) correct voltage 4.26V (using enable pins and PWM from arduino) but second output only 0.78V for the same PWM value.
any idea what could i do wrong?
Thank you,
Jan
Code for enabling both pairs of motors:
void go() {
int motorSpeed = 60;
digitalWrite(left1, LOW);
digitalWrite(left2, HIGH);
analogWrite(enL, motorSpeed);
digitalWrite(right1, LOW);
digitalWrite(right2, HIGH);
analogWrite(enR, motorSpeed);
}
ADD NOTE: i found one ENABLE pin (PWM) provides 1.2V and the second one 1.18V but i dont believe 0.02V could cause this huge drop.
Also once i manualy help to spin this pair of "LOW POWERED" dc motors and they finally star spining there is votage increase to 3.11V from initial 0.78V (when the motors are strugeling to start)