Wiring the SparkFun TB6612FNG motor controller


DJ I'm sure you're tired of hearing the same questions over and over, so I will appeal to other builders here. Could someone be kind enough to make a wiring diagram that clearly (for us thick skulled ones)shows the hook up from the motor controller to the EZ-B board. In the video that DJ made (God luv his patience) I see he use 4 servo wire sets. I got the following:

Servo wire set #1 - white goes to AIN2 / Red goes to VCC / Black goes to Ground 3rd from top on output side.

Servo wire set #2 - white goes to AIN2 / Red goes to STBY / Black goes to ground bottom on input side.

Servo wire set #3 - White goes to BIN2 / Red goes to PWMB / Black goes to

This is where I lost it.
Servo wire set #4 - (need some one to finish this one)

I had also saw in another post where it was stated that the motor +5 vdc (which would actually be 7.4 vdc from the battery) needs to be connected directly to the main battery. Have I got any of this right thus far????? Then all 4 servo plugs go to 4 seperate digital port(s).

Thanks in advance.


How about this thread? www.ez-robot.com/Community/Forum/posts.aspx?threadId=31 Smile

User-inserted image

The instructions are...

You will need 4 Servo Cables

VM: Connect this directly to the Positive terminal of your battery

Servo Cable 1
AIN1: White
VCC: Red (+5)
GND: Black (gnd)

Servo Cable 2
AIN2: White
PWMA: Red (+5)
GND: Black (gnd)

Servo Cable 3
BIN1: White
STBY: Red (+5)
GND: Black (gnd)

Servo Cable 4
BIN2: White
PWMB: Red (+5)
*You do not neet to connect the 4th servo wire GND to anything because there are only 3 gnds on the motor controller board. Just snip the wire.


I have a very awesome and easy to wire and AMAZING motor controller coming my way. Hopefully be online next week, as soon as they arrive Smile

This new motor controller connects to the EZ-B with only 1 digital port! It also includes speed ramping, PWM speed control, and many more features. Also controls stepper motors too.

I'll post more info soon. Grin


That's great news about the new motor controller, DJ! Looking forward to the info.

Having read the threads about wiring the motor controller, it seems a bit daunting for someone who isn't any good at soldering or electronics wiring. "Easy to wire" will be really helpful for those of us just starting out.


I'm all for ANYTHING that makes it easier to get our bots up and running!!!!!!!! Should I wait to see the new one before trying to wire the breakout board??????? Looking forward to seeing what you;ve got. Can't give you enough kudos DJ. You are doing so much for beginners like me. Thinking maybe a bronze statue with you holding an EZ-B. Whatcha think?


Haha, a bronze statue might be a little much Smile Your thanks is appreciated though!


Hej DJ, could you give us a headsup on this new Motor Controller ?
I like the idea of just using one header in stead of the four.

And I think every bot that you see with the EZ-B is a statue for DJ!!!


Haha, thanx dude Smile

The new motor controller should be here in about 4-5 days. So we'll probably see it by friday... if not Friday, then Monday. They are being printed and assembled right now.


so the best day to order Is on monday Smile

If you ad them to the shop Smile

would you ?

User-inserted image


LOL cute. You'll be the first to know Smile