Problem with programming motors

Drive a 4-wire bipolar stepper motor or a pair of DC motors from your Arduino. [Product page]
Post Reply
Biri
Posts: 2
Joined: Mon May 16, 2016 7:14 am

Problem with programming motors

Post by Biri » Mon May 16, 2016 7:28 am

Hey guys so I have my arduino and H-bridge motor shield connected to each other. I am having a problem with getting the motor to run with the example program freetonics provide on their website.

Set up: Image

Example code provided from freetonics is the one listed at the very bottom of the page: http://www.freetronics.com.au/pages/hbr ... zlm7fl96wU

So I would like to know how come my motor is not running? The motor is a 3-7.2v dc. It should be noted that, when I used the original arduino motor shield and not the H-bridge one, the arduino motor shield would make the motor run. However with the h-bridge, I cannot seem to get it running. Any ideas?

Brissieboy
Posts: 116
Joined: Fri Sep 20, 2013 7:25 am

Re: Problem with programming motors

Post by Brissieboy » Tue May 17, 2016 3:15 am

Biri,

From the picture it looks like you are powering off the USB connection. It is very likely that the motor drive is overloading the limited current capability of the USB port.
Try using a decent external power supply with sufficient current capability.

Biri
Posts: 2
Joined: Mon May 16, 2016 7:14 am

Re: Problem with programming motors

Post by Biri » Tue May 17, 2016 3:56 am

Oh wow it was as simple as that, yeah it worked. Thanks!!

Post Reply