MDDS30 ERROR LEDs 2 blinks

Autonomous Robot, Manual Robot, DC Motor Driver, Stepper Motor Driver, Servo, Multi PWM chip.....

MDDS30 ERROR LEDs 2 blinks

Postby RattyVulcan » Wed May 13, 2020 5:29 am

Hi,

I have set-up my MDDS30 in PWM mode with DIP settings of:

ON, OFF, OFF, OFF, ON, ON, OFF, OFF

I have an Arduino with PS2 controller connected with the intent of driving two motors in tank style.

The Arudino is connected to the MDDS30 as per:

Arduino Uno to MDDS30
GND to GND
4 to IN1
5 to AN1
6 to AN2
7 to IN2

When I power-up the MDDS30 I get the error LEDs blinking twice which according to the manual means "Every time SmartDriveDuo-30 is power up, the input data must be ‘stop’ (for RC, Analog, PWM input mode). This feature prevent the driver from sudden run, especially when the driver accidently reset."

How do I correct this error?

Thanks

Steve
RattyVulcan
Freshie
 
Posts: 4
Joined: Wed Jun 20, 2018 8:29 pm

Re: MDDS30 ERROR LEDs 2 blinks

Postby waiweng83 » Wed May 13, 2020 12:39 pm

Hi,

You can't use Mix Mode with Sign-Magnitude mode.
Please change your DIP switch settings to 10110100 instead and try again.

Thanks.
With the power of dream, nothing is impossible...
User avatar
waiweng83
Moderator
 
Posts: 171
Joined: Wed Apr 15, 2009 2:17 pm

Re: MDDS30 ERROR LEDs 2 blinks

Postby RattyVulcan » Wed May 13, 2020 3:53 pm

Thanks for the reply.

I adjusted the DIP switch settings as advised.

Unfortunately, I still get the error LEDs flashing. However, one of the motors did respond to the joystick, but only slowly at the extreme of the joystick travel.

Based on your comment about mixed mode and sign-magnitude, I tried DIP settings of: 10000100. With that set-up I get the error LEDs and no life at all.

It feels to me that there is something more fundamentally wrong.

Any more suggestions?

Steve
RattyVulcan
Freshie
 
Posts: 4
Joined: Wed Jun 20, 2018 8:29 pm

Re: MDDS30 ERROR LEDs 2 blinks

Postby RattyVulcan » Thu May 14, 2020 9:34 pm

Is it correct that I should see the Error LEDs flashing x2 if I have no connections to the controller other than power and motors?

Thanks

Steve
RattyVulcan
Freshie
 
Posts: 4
Joined: Wed Jun 20, 2018 8:29 pm

Re: MDDS30 ERROR LEDs 2 blinks

Postby waiweng83 » Fri May 15, 2020 12:15 pm

RattyVulcan WROTE:Is it correct that I should see the Error LEDs flashing x2 if I have no connections to the controller other than power and motors?

Thanks

Steve


Yes, the input must be at 0 speed when powered up. Which means:

In Mixed Mode, the PWM must be at 50%.
In Independent, sign-magnitude Mode, the PWM must be at 0%.

This is to prevent the motor running immediately after power up.
With the power of dream, nothing is impossible...
User avatar
waiweng83
Moderator
 
Posts: 171
Joined: Wed Apr 15, 2009 2:17 pm


Return to Robot Controller

Who is online

Users browsing this forum: No registered users and 1 guest

cron