Braking a DC motor

Hi there,

I’m trying to drive a “robo-rover” using 2 DC motors, the VMA03 and Arduino uno.
The problem is: once I stop the movement for a motor (0 pwm), it is free but i need it is braked.
I need a way to actively hold the motor.

I try to do it alternating the motor back/forward fast, but it doesn’t work very good, is it there a more better way of doing that?

Thanks in advance !

Fabrizio

We have not tried this, but the L298P datasheet shows what signal needs to be applied to the IC to make the motor stop fast, by shorting it.
It seems that DIR and DIRB should be at same level (either both high or both low).

ok, I’m gonna try it
thanks