Pages: [1]   Go Down
Author Topic: Motor shield broken?  (Read 523 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all, I´ve been using an Arduino for a while now, but I´m running into some problems.

I got a DFRobot motorshield (http://www.dfrobot.com/wiki/index.php/Arduino_Motor_Shield_(L293)_(SKU:_DRI0001)) connected to my Arduino, and 2 lego motors to the shield. I connected the shield and motors just the way it should, so there is no problem there.

Whenever I set the directional port of Motor 2 (pin 4) to LOW, the motor doesn't do anything. If I do the same for Motor 1 (pin 7) the motor does turn the other way.

My best bet is that the shield is broken, but I'd like to know what you guys think.
Logged

Johannesburg. UTC+2
Offline Offline
Faraday Member
**
Karma: 105
Posts: 4660
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Have you swopped the motors onto each others' pins?- that way you could check if it's the board or the motor.
Logged

The Elders of the Internet know who I am
I'm on LinkedIn: http://www.linkedin.com/in/jimbrownza

Offline Offline
Newbie
*
Karma: 0
Posts: 13
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yep, tried that. Then the other motor gives me problem. So the motors are fine. It isn't the Arduino either, because when I tried the same sketch (Dfrobot demo code) with another Arduino, I got the same problem. Guess I gotta get a new shield  smiley-roll-blue.
Logged

Shanhghai
Offline Offline
Newbie
*
Karma: 0
Posts: 27
DFRobot Tech Support
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Can you show your connection diagram?  We will try to help you solve the problem.
Logged

DFRobot-Drive The Future
Official Technical Support for DFRobot Product
www.DFRobot.com

Pages: [1]   Go Up
Jump to: