Working with Toshiba TB6560AHQ

Hey all. I've recently landed some TB6560 stepper motor controllers, and I was surprised to see that no one online posted about using them along with Arduinos, as it's quite feature rich, and is a through hole component. So why not be the first? :)

It's still not all complete, but my blog has the description of how to connect and start running stepper motors with Arduino and the TB6560, with the breakout board I've made, explanation on how to build a crude circuit to make it work and some code.

Here is the link: Arduino and TB6560

Enjoy! Uriel

You need to fix up that link. It doesn't work.

Pete

Oops... All fixed!

These are commonly used in cheap Chinese driver boards for CNC applications. There has been a problem with failure of these which is apparently caused by applying motor power before logic power. Just something to keep in mind. You can find a continuing discussion about these boards at the CNCzone.com forum. You can also find files for a nice little PCB here: http://pminmo.com/toshiba-6560

Hi @UrielGuy, I also have adquired two TB6560AHQ chips from different Chinese suppliers trying to do something similar to what you have done (even I did a similar adapter before having seen yours! ). But I have found a big stopper: both of them seems to be fake TB6560 chips! For some reason, it seems that the chips I have received are not "real" TB6560. At least it seems that he pinout of the freak that is inside the package (because there is something there ...) does not match the ones of the Toshiba's datasheet http://www.toshiba-components.com/motorcontrol/pdfs/TB6560AHQ_AFG_E_2003_20080407.pdf.

Where did you buy the chip? Do you still have a sample of the circuit so that you could make a simple test with it to compare the results with my ones? More specificly, the resistence measured with a simple multitester, between pins 1 (input TQ2) and 17 (open-drain output MO), which should not be connected internally, in both of my circuits is 0.

It is really, really weird ...

UrielGuy: Hey all. I've recently landed some TB6560 stepper motor controllers, and I was surprised to see that no one online posted about using them along with Arduinos, as it's quite feature rich, and is a through hole component. So why not be the first? :)

...

Thank you for uploading.

Is the harduino aware of the angular position of the motor from the CLK pin ? Or is it all about timings ?

Thank you by advance.

I know this is an old post, but it went unanswered.

A stepper motor does not have position feedback (unless you add it). So it relies on the stepper never missing a step, and the Arduino keeping track of how many pulses it has given to move, and in which direction.

The pminmo link gave me a 404 error, so I just went there and looked for 6560:

http://pminmo.com/index.php?option=com_content&view=article&id=8&Itemid=45

If that link doesn't work, do like I did.

However, I see there may be a problem with using that chip without buffering. There is an Instructables on using the TB6560AHQ with a 74HC14 schmitt trigger/inverter to buffer the incoming signals and ensure they are clean. It includes both the Eagle files and the board pattern as an image so you can just hand wire it with the image as an aid.

http://www.instructables.com/id/TB6560-Microstepping-Bipolar-Chopper-Stepper-Motor/?ALLSTEPS

This page talks about problems encountered using a 3 axis board with TB6560AHQ without the inverter/schmitt, and how he solved it using the 74HC14.

http://www.homediystuff.com/fixing-a-chinese-made-cnc-stepper-motor-driver-board-tb6560-chips/

cedric100: Thank you for uploading.

Is the harduino aware of the angular position of the motor from the CLK pin ? Or is it all about timings ?

Thank you by advance.

clk = step cw/ccw = direction