Go Down

Topic: Dagu Rover 5 chassis robot demo (Read 72245 times) previous topic - next topic

MadProphet

I am using the same motor driver as your are, but I am a bit confused on what pins I should use on the driver.  I am using a pololu motor and the link is listed below.  I am assuming that I need to use the pins on the right side of the board, or am I worng?

http://www.pololu.com/product/1443
I am wondering the same thing. Did you ever find the answer to this?
Lots of Unos, couple Megas, some Makeblock boards. A few Pi3b's. No knowledge.

rorycs

Hi Nick

Finished up wiring my hardware yesterday. I'm starting coding now and C is quite new to me. I noticed in your sketch you wrote:

"analogWrite (MOTORA, 200);
 analogWrite (MOTORB, 200);
 start = millis ();"

As I said I am new to this, my question is: is the value "200" in the sketch the speed of the motors and is this the maximum speed of the motors? If not do you know what their max value is?

Thanks

rorycs

is 200 a value that controls the speed of the motors.

if so is this the maximum value

"analogWrite (MOTORA, 200);
 analogWrite (MOTORB, 200);
 start = millis ();"

Go Up