Picture of How to make a driver for a stepper motor
here we will see how to make a stepper motor driver using Toshiba's TB6560AHQ controller. This is a full featured controller which only needs 2 variables as input. it does all the work.
Since i needed two of these i've made both of them.

Step 1: Making the PCB

Picture of Making the PCB
Since it's a DIY project here is the PCB as it was being made:
- first get the circuit on the copper plated board (NOTE: IT HAS TO BE DOUBLE FACED)

the way i did it:
1. i printed the circuit on a glossy paper using a laser printer
2. adjust the 2 circuits so they match, facing each other
3. place the copper plated board between them
4. place the sandwich between a folded regular piece of paper
5. using a hot iron press on the folded paper
6. flip it and repeat
7. afterwards take "the sandwich" and get it wet using cool water
8. press on the paper until the circuit becomes visible and there aren't any air bubbles
9. remove the paper.

you should get something like this:

NOTE: the PDFs are scaled 1:1 and only need to be printed DO NOT MIRROR THEM WHEN PRINTING!!!
back.pdf(595x842) 32 KB
front.pdf(595x842) 28 KB
ranam.yaseen4 months ago

hi dear

i have a steper motor,,having specification..oz4200..volt2.30.. Apm15

hz60..Dc i want to make its driver who controle its pulse in varios degree..

pleas guide me..


msebe1 year ago

Hi!!! i'd love to do this proyect, but can't find the PDF with the PCB and components

Please could you send them to me?



kh90051 year ago

Salut!Te rog,dispunerea pieselor pe adresa kh90052[at]gmail[punct]org

Merci anticipat!

Mobsman1 year ago
help, put the scheme in the sprint layout, help, put the scheme in the sprint,if it is possible to two options with pcb, and with simple Elements. Sory my english
great desing
holychachi2 years ago
I'm trying to come up with a way to control twelve steppers... Any ideas besides multiple driver boards?
Been a while since you asked, but yes, depending. If they all need to step together, just wire them in parallel. If they need to work separately, then I'd get three of these: https://www.sparkfun.com/products/10507 though they're not cheap, you dont have a whole lot of options with THAT many steppers. You might want to use this if you dont need a lot of power, or less than 1/2 microstepping: http://www.instructables.com/id/5-stepper-driver/
Can I use these drivers on this breakout board for a CNC hot wire foam cutter?
ayasashii2 years ago
Thank you for this nice and short instructables, I have two questions:

1- is it possible to replace the resistors by potentiometers so that we can control them as we like.

2- is it possible to provide us by the Components Layout since it will be easier for us to solder components without relying on the schemata?

Please email at: nihon.sahli [at] gmail [dot] com (delete all spaces)

Thanks in advance
Zeratus3 years ago
Salut! Poti trimite te rog schema pe adresa vlad.88_sounds@yahoo.com?
Ms anticipat!
keller9463 years ago

Poti atasa si schema in Eagle sau in orice alt CAD?

adibadro (author)  keller9463 years ago
lasa-mi mail-ul si-ti trimit, fara probleme
trimite-mi si mie, te rog :-) e.nastase[at]yahoo[dot]com
vliss3 years ago
And how to calculate that missing resistors values?
Also could you explain connections (where the step/dir/vcc/gnd are?)
Just for dummies ;)
adibadro (author)  vliss3 years ago
depending on what torque you want and what current your power source can "spit out" you either use 1 Ohm or 100 Ohm resistors. For greatest torque use 1Ohm and a power source that can sustain 2-2.5 amps.

the connectors are, from left to right:

gnd, dir, step, enable, A+, A-, B+, B-, +12-24V,Gnd

(there is a 2nd gnd because I used opto-electronics to shield the microcontroller )
vliss adibadro3 years ago
Thank you very much!

I've heard that when motor became a generator this could just blow this tipe of ICs, haven't you?
An also, anti-resonanse not supported. So slow speed are preffered.
adibadro (author)  vliss3 years ago
i managed to get this motor, using a clk generator for step signal, to run at 18kHz so...it works with high speeds. thing is to slowly increase the freq.
oletimer5 years ago
In your instructions you say not to print a mirror image but when you place the two images together they do not correspond. I believe you have to reprint one of the PDF's, please reply as this has boggled my mind.
adibadro (author)  oletimer5 years ago
i've uploaded the PDFs again. this time i'm sure they're right. sorry about that. BTW the paired resistors have to be as low as possible so you can get the max torque
pfred2 adibadro4 years ago
Where did you buy the current sense resistors this circuit needs? I've built motor drivers using this IC myself and never found a very good place to get them. BTW I think going much lower than two tenths of an ohm the device would probably self destruct.
oletimer pfred24 years ago
I buy most of my components from SAYAL on Mathieson blvd, Mississauga tel:-905-238-8640
Thanks for the update, now they match each other. BTW are these drivers both unipolar and bipolar?.
adibadro (author)  oletimer5 years ago
it works with unipolar motors too and it stays cool even with bipolar parallel connected motors.
pfred2 adibadro4 years ago
Unipolar motors connected half coil? I do not have an idle circuit on my drivers so they heat up pretty good at rest. That and I had some issues with the reset input so I just wired that so it never happens.

Some videos of my motor drivers:


I made three and just wired them up point to point like this: http://img717.imageshack.us/img717/8530/pict0787a.jpg

walid19744 years ago
it's goooooog