0

TB6612 and Arduino
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

TB6612 and Arduino

by Mike1313 on Thu Mar 03, 2016 3:43 pm

I have connected the small reduction stepper motor 5V (32-step 1/16) to the TB6612 board.
Purple and blue wire -> motorA
Yellow and orange wire -> motorB
Red wire -> ground
On the other side of the TB6612 to Arduino Uno:
Vcc -> 5V
Ground -> ground
AIN1,AIN2,BIN1,BIN2 -> digital 8,9,10,11
External 9V battery -> 5-13VDC (?)
When connecting the Arduino, green light on the Arduino, on the TB6612 no lights (looks dead).....

when running a Stepper sample code in IDE , uploading succeeds, but nothing happens with the stepper motor......

What am I doing wrong?

Mike1313
 
Posts: 16
Joined: Sat Nov 15, 2014 10:32 am

Re: TB6612 and Arduino

by adafruit_support_bill on Thu Mar 03, 2016 5:44 pm

Remove the red wire from the ground. It is not required and will make the motor run hot.
Please post photos of you soldering and wiring to the board.

adafruit_support_bill
 
Posts: 74337
Joined: Sat Feb 07, 2009 10:11 am

Re: TB6612 and Arduino

by Mike1313 on Thu Mar 03, 2016 6:04 pm

Hi, yes I removed the red wire, still nothing happens.
See picture, please.
Thanks for your quick response.
Attachments
IMG_1078.JPG
IMG_1078.JPG (959.47 KiB) Viewed 1152 times

Mike1313
 
Posts: 16
Joined: Sat Nov 15, 2014 10:32 am

Re: TB6612 and Arduino

by adafruit_support_bill on Thu Mar 03, 2016 6:21 pm

How are the battery leads attached to the board? Are they soldered?

adafruit_support_bill
 
Posts: 74337
Joined: Sat Feb 07, 2009 10:11 am

Re: TB6612 and Arduino

by Mike1313 on Thu Mar 03, 2016 6:26 pm

Yes I soldered them.

Mike1313
 
Posts: 16
Joined: Sat Nov 15, 2014 10:32 am

Re: TB6612 and Arduino

by adafruit_support_bill on Thu Mar 03, 2016 6:44 pm

What voltage do you measure between the VM and GND pins?

adafruit_support_bill
 
Posts: 74337
Joined: Sat Feb 07, 2009 10:11 am

Re: TB6612 and Arduino

by Mike1313 on Thu Mar 03, 2016 6:55 pm

When attaching the 9V battery to '5-13vdc' input I get a voltage VM-Ground of 9.55V.(fresh full battery)
When disconnecting the battery I get 0 Volts.

Mike1313
 
Posts: 16
Joined: Sat Nov 15, 2014 10:32 am

Re: TB6612 and Arduino

by Mike1313 on Thu Mar 03, 2016 7:14 pm

Hi,
It is now sleeping time here in the Netherlands.

Tomorrow I want to try another (the same motor), another TB6612 and other wires, supposing the TB6612 may be damaged?
Are the connections right as on the picture?
Do I have to connect VCC to 5V Arduino?
Is it normal that connecting power no led will light up on the TB6612?
Can you give a scheme if I am wrong? That would help much…
Is the stepper library from Arduino the only one I need? Can I use the IDE stepper examples?

I hope I may contact you tomorrow, thank you so far.

Mike

Mike1313
 
Posts: 16
Joined: Sat Nov 15, 2014 10:32 am

Re: TB6612 and Arduino

by adafruit_support_bill on Thu Mar 03, 2016 8:05 pm

If that is one of our geared steppers, the motor wiring is wrong. Orange and pink should go to one channel. Blue and yellow to the other.

adafruit_support_bill
 
Posts: 74337
Joined: Sat Feb 07, 2009 10:11 am

Re: TB6612 and Arduino

by Mike1313 on Fri Mar 04, 2016 3:23 am

Ok I set up another motor and changed the wires as you advised.
I connected a potmeter and run the Arduino IDE - MotorKnob example.... nothing.....
Attachments
IMG_1089.JPG
IMG_1089.JPG (796.41 KiB) Viewed 1095 times

Mike1313
 
Posts: 16
Joined: Sat Nov 15, 2014 10:32 am

Re: TB6612 and Arduino

by adafruit_support_bill on Fri Mar 04, 2016 7:06 am

Do you get any noise or vibration from the motor at all?

adafruit_support_bill
 
Posts: 74337
Joined: Sat Feb 07, 2009 10:11 am

Re: TB6612 and Arduino

by Mike1313 on Fri Mar 04, 2016 9:33 am

No not at all.
I'll try another TB6612 board and also consider to use the Adafruit motorshield v2.3 where I can use two stepper motors.
I'll let you know.

Mike

Mike1313
 
Posts: 16
Joined: Sat Nov 15, 2014 10:32 am

Re: TB6612 and Arduino

by Mike1313 on Fri Mar 04, 2016 1:05 pm

Hi,
It is ok with the Adafruit motor shield v2.3
The stepper motor moves but torque is very low.
I have added an external power supply(9V) , but still low torque.
This is disappointing.
From now on I'll concentrate on servo motors because of much more torque.
I'll set aside the problem with the TB6612 that may be unsolved.
Thank you anyway for your help and quick responses.

Mike1313
 
Posts: 16
Joined: Sat Nov 15, 2014 10:32 am

Please be positive and constructive with your questions and comments.