Page 1 of 1

MDDS30 ERROR LEDs 2 blinks

PostPosted: Wed May 13, 2020 5:29 am
by RattyVulcan
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

Re: MDDS30 ERROR LEDs 2 blinks

PostPosted: Wed May 13, 2020 12:39 pm
by waiweng83
Hi,

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

Thanks.

Re: MDDS30 ERROR LEDs 2 blinks

PostPosted: Wed May 13, 2020 3:53 pm
by RattyVulcan
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

Re: MDDS30 ERROR LEDs 2 blinks

PostPosted: Thu May 14, 2020 9:34 pm
by RattyVulcan
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

Re: MDDS30 ERROR LEDs 2 blinks

PostPosted: Fri May 15, 2020 12:15 pm
by waiweng83
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.