Page 1 of 1

MDDS30 powers motors when arduino reset

PostPosted: Sat Mar 14, 2020 2:13 am
by bubba_bay35
I have 2 MDDS30 controllers driving 4 24 Volt motors in Independent PWM mode with an Arduino Mega. They work great until the connection is lost between the arduino and controllers, then the motors become energized and I can't stop them from spinning until I reset the controllers or reconnect the arduino. This also happens when I press the arduino reset button, the arduino loses power or I remove the inputs. Has this happened to anyone else and is there a way to fix it?

Re: MDDS30 powers motors when arduino reset

PostPosted: Tue Mar 17, 2020 10:23 am
by waiweng83
You can't do that for PWM mode.
However, you can configure the MDDS30 to RC mode instead. You may use the servo library on Arduino to output the RC pulse to control the motor driver. Remember NOT to turn on the MCU mode.