10A DC Motor Driver Arduino Shield STOP function?

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

10A DC Motor Driver Arduino Shield STOP function?

Postby carlosap » Mon Mar 16, 2015 9:52 pm

is there a stop function or code to make the motor control not to try to drive the motors when powered up? i try to stop it by doing this:

analogWrite(RightMotorPWMPin, 0);
digitalWrite(RightMotorPWMDir, LOW);

analogWrite(LeftMotorPWMPin, 0);
digitalWrite(LeftMotorPWMDir, LOW);

but every time i plug the battery it starts driving the motors. is there a better way?
carlosap
Freshie
 
Posts: 4
Joined: Mon Mar 16, 2015 3:49 am

Re: 10A DC Motor Driver Arduino Shield STOP function?

Postby ober » Mon Mar 16, 2015 10:48 pm

How is it running when battery is plug? can you capture a video? Please also share the actual hardware with the mini jumpers configuration, how about the RightPWMPin and other pin, is configure to?
Ober Choo
Cytron Technologies Sdn Bhd
www.cytron.com.my
User avatar
ober
Moderator
 
Posts: 1486
Joined: Wed Apr 15, 2009 1:03 pm

Re: 10A DC Motor Driver Arduino Shield STOP function?

Postby carlosap » Mon Mar 30, 2015 8:38 am

Is the shield compatible with Arduino Mega 2560 R3? or it is a pre R3
carlosap
Freshie
 
Posts: 4
Joined: Mon Mar 16, 2015 3:49 am

Re: 10A DC Motor Driver Arduino Shield STOP function?

Postby Idris » Mon Mar 30, 2015 11:51 am

carlosap WROTE:Is the shield compatible with Arduino Mega 2560 R3? or it is a pre R3

Hi carlosap,

Yes, SHIELD-MD10 is compatible with Arduino Mega 2560 R3. For more information, please refer to SHIELD-MD10 User's Manual.
Cytron Technologies invest time and resources providing tutorial, training and support for STEM education and maker movement. We need your support by purchasing products from Cytron Technologies. Thanks.
http://www.cytron.com.my
User avatar
Idris
Moderator
 
Posts: 409
Joined: Thu Mar 22, 2012 5:28 pm
Location: Pulau Pinang


Return to Arduino Based

Who is online

Users browsing this forum: No registered users and 16 guests

cron