Hello,
I have used the cytron shield-MDD10 without any problems
in PWM / DIR mode (with and without remote control.)
With two slightly more powerful motors I bought the card
Cytron MDDS30 REV 1.3 SmartDriveDuo-30 at ROBOTSHOP.fr
On the first try, there is abnormal behavior.
CONNECTIONS:
Arduino Uno MDDS30
GND ---------- GND (GND vertical pin)
4 ------------ IN1
5 ------------ AN1
6 ------------ AN2
7 ------------ IN2
PWM MODE: 101101 10
PROGRAM DOWNLOAD
ARDUINO connected to MDDS30
Battery not connected.
I download the github program from the ARDUINO with a USB cable
(https://github.com/CytronTechnologies/C ... rtDriveDuo)
I'm pressing arduino reset.
TEST OK
I plug in the battery, I enter the + RETURN numbers on the screen
Everything is working fine.
THEN FATAL ERROR !!
I unplug the ARDUINO USB cable and… the MOTORS start to run at full speed !!!
I reconnect the cable to the ARDUINO and they stop after 2s.
(the same behavior several times in a row.)
I press the Arduino RESET / immediately release ==> the motors run for about 2s !.
I DISCONNECT the battery (arduino still connected by USB cable.)
I reconnect the battery.
No access to the program, but if I press RESET (arduino)the 2 motors run for 2s as before!
I unplug the battery
I reload the program on the arduino.
I plug in the battery, the program works.
and if I unplug the arduino cable it starts again as before ...
How do I prevent this unexpected motor start-up when I remove the arduino cable? ...
If I feed the Arduino with a battery, in the same way the motors start if I unplug the battery.
(This event does not occur with the MDD10 shield.)
Thank you in advance.
mrz