Let's Make Robots!

tamiya double gear box power supply

hi guys!! sorry for the noob question, but i need to know how to control the tamiya double gearbox with arduino but powered by external source. i mean, i have the motor connected to the arduino, but how can i give to the motor an external supply?

thanks:)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

I have arduino uno with motor shield. 

I have connected following peripherels to arduino board:

1. Motor shield

2. 2 DC motors

3. 1 Servo motor

4. 1 IR sensor.

My device is working properly when I am connecting it through USB. But, on providin 9V battery supply through motor shield, its not working.

Though LED is glowing on the motor shield board.

I have also connected the jumper on motor shield board.

Please suggest any solution for this.

Regards,

Abhishek MIshra

Is there any reason you don't connect the 2nd power supply to the "2-pin terminal block and jumper to connect external power, for seperate logic/motor supplies."

What CtC said. Plus, there are some Arduino shields that include a motor driver and other features helpful for a robot.

Ro-Bot-X (an LMR member) created the Robot Builder's Shield

Adafruit has a Motor/Stepper/Servo Shield

Search around. There are others. Or you could try to build your own.

If the motor is currently connected directly to the Arduino, you have a problem. Your arduino is not capable of driving your motor directly, you should use a motor driver such as a L293D. This motor driver chip will allow a 2nd power supply to be used.

 

no i have the motor shield by adafruit. so if i connect the motor to the shield i can't use also a power external supply?

Do you see how it would have been helpful to know that you had the Adafruit motor shield from the very beginning?

We can only help you if you provide good information. We are not mind readers.

So now, instead of us guessing how you have things set up, please describe in good detail what equipment you have and how you have it set up. Pictures, diagrams, etc. would be helpful, but at a minimum you need to describe how everything is connected to everything else.

Your original post left a lot of information out.

thanks a lot. i've read the motor shield info and i've undestood where to add power supply on the shield. one thing: what kind of battery i have to use?:)

Two posts you may find helpful:

What kind of voltage does the gearbox expect to get?

How much current (mA) do you expect the gearbox to draw?

**hint** the answers to the above are mentioned in the specs of the gearbox.

the two motor that came from the twin motor gearbox work on 1.5-3 V