I'm trying to control two DC 3-6V motors with a HG7881 driver and an Arduino Nano, but the Nano is always resetting if it has the same power supply than the driver. I'm connecting the batteries to HG7881 Vcc and Nano Vin (and also same ground).
If I power the Nano with USB and the driver with batteries then it works but that's not a good solution for me.
So the question is, is there any way to make both driver and Nano work with the same power supply?
Thanks!