Go Down

Topic: Can't control DC motors with Arduino Due? (Read 205 times) previous topic - next topic

JimboZA

Are there actually 3x 293s on the shield? I wonder which one is proving the power to the connector you're using for the motor.

Apart from that, are you enabling the motors though: you need 5V on 293 pin 1 for a 293's "left side motor" and 5V on 293 pin 8 for the "right side motor". I don't know which Arduino pins those translate to.

And then you need high/low or low/high on 293's pin 2/7 for left side and 293's pin 10/15 for the right, whatever Arduino pins those connect to.



 
Johannesburg hams call me: ZS6JMB on Highveld rep 145.7875 (-600 & 88.5 tone)
Dr Perry Cox: "Help me to help you, help me to help you...."
Your answer may already be here: https://forum.arduino.cc/index.php?topic=384198.0

Emerald

#16
Apr 09, 2016, 07:12 pm Last Edit: Apr 09, 2016, 07:21 pm by Emerald
Are there actually 3x 293s on the shield? I wonder which one is proving the power to the connector you're using for the motor.

Apart from that, are you enabling the motors though: you need 5V on 293 pin 1 for a 293's "left side motor" and 5V on 293 pin 8 for the "right side motor". I don't know which Arduino pins those translate to.

And then you need high/low or low/high on 293's pin 2/7 for left side and 293's pin 10/15 for the right, whatever Arduino pins those connect to.
Uhm so i should change my code to try right side motors?
also isnt 8  going to C8?

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy