Arduino motor shield Rev 3 - Newbie

My project includes motor that requires 2A-3A & 5V-6V power supply, hence I chose to buy a motor shield rev 3.

My current code on UNO has the motor attached on pins 10 & 11. And most other pins are already attached to other components/sensors. I see that the new motor shield rev3 uses just 1 pin to define the direction of motor (in my code I toggle pins 10 & 11 between high and low to do this). I wish to continue using 2 pins to control my motor but still use the motor shield rev3 because of it's power supply capacity to my motor. Is there anyway I use the motorshield only for powering my motor? (If I have to plug my motor to the channel, can I individually code for each motor terminal?)

Any links to projects that use motor shield rev3 where they have control over individual terminal would help me look and learn from.

Show us a good schematic of your proposed circuit.
Show us a good image of your ‘actual’ wiring.
Give links to components.

We need to see a schematic of the shield too.

As a tutorial, you’re meant to be showing us, not us showing you.

(Arduino) motor shield rev 3 says it all.
The ancient/inefficient L298, that needs a supply that's 4volt higher than the motor.
Without heatsink, and a current rating only fit for a tiny toy motor.
Leo..

1 Like

I’m not going to hunt for the schematic.

Are you sure? The 298 does use 3 pins per motor, but the "third" one is an ENable (on or off, or pwm for speed, Ven in the diagram below) not direction. You still need to toggle the "other two" (C & D in the diagram below, from the L298 data sheet) to change direction.

Can you post some code that shows what you say about a direction pin?

But that's at the chip level; maybe the shield does some fancy footwork with the chip pins based on what you do with a specific "dir" pin on the shield. If so, surely it's easy to change the code to suit the hardware?

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.