MDDS30 powers motors when arduino reset

Talk about Arduino board, sheilds. Sharing Arduino projects, program, problems, solutions, suggestions..... many more, all are welcome.

MDDS30 powers motors when arduino reset

Postby bubba_bay35 » Sat Mar 14, 2020 2:13 am

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?
bubba_bay35
Fledgling
 
Posts: 1
Joined: Sat Mar 14, 2020 1:52 am

Re: MDDS30 powers motors when arduino reset

Postby waiweng83 » Tue Mar 17, 2020 10:23 am

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.
With the power of dream, nothing is impossible...
User avatar
waiweng83
Moderator
 
Posts: 161
Joined: Wed Apr 15, 2009 2:17 pm


Return to Arduino Based

Who is online

Users browsing this forum: No registered users and 1 guest

cron