How to Make a Driver for a Stepper Motor

Published

Introduction: 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

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!!!

Step 2: Finishing the PCB

Get the plate with the printed circuit and place it into a corrosive solvent and agitate it a bit to speed up the process.
You should get something like this:
After that you can clean it with any kind of detergent:

Step 3: Completing the Circuit

After you made sure that all is well and drilled holes in all the right places it's time to complete the circuit. You'll see that one line gets interrupted then is continued on the other side and back on the original side.
I've done this by using thin copper wire. as many as needed (small lines - 2 wires, thick lines - 4 wires) since the driver can support up to 3.5A

Step 4: Soldering Time

it's now time to solder the components and apart from the 2 100uF capaitors, all the other parts are SMD.
you have here a schematic of the circuit and the part list

NOTE:

you will see that 4 resistors do not have the value written. that is because the vary according to the motor you use!

Step 5: Checking the Circuit

after you have completed the soldering make sure that nothing is soldered accidentally to the GND.
cover the finished driver with a protective layer to avoid corrosion.

this driver can perform at 20%(00), 50%(01), 75%(10) or 100%(11) depending on how you have the right switches positioned as shown in brackets.

Have fun guys!

Share

    Recommendations

    • Clocks Contest

      Clocks Contest
    • Oil Contest

      Oil Contest
    • Creative Misuse Contest

      Creative Misuse Contest

    33 Discussions

    hi bro..

    nice work

    can I have the sch & brd file ?

    Need to change / add the diode on the motor side for protection

    Thanks

    Remove the fan assembly from a working computer fan. Under the removed fan is a circuit board . locate 3-4 large solder spots sometimes marked W , V ,U . Solder 1 insulated tinned copper wire to each of these large solder spots. You should have 3-4 wires. Join these wires onto your project ((( driverless ))) brushless motor , Swaxman used a VCR brushless motor , secure the fan back in place and connect + and - wires to your computer fan - it needs to work normal so keep your wires low and neat .observe the computer fan spinning , observe your project brushless motor spinning you might need to swap a few wires around to get your project motor spinning in the right direction. Does not work for steppers

    Remove the fan assembly from a working computer fan. Under the removed fan is a circuit board . locate 3-4 large solder spots sometimes marked W , V ,U . Solder 1 insulated tinned copper wire to each of these large solder spots. You should have 3-4 wires. Join these wires onto your project ((( driverless ))) brushless motor , Swaxman used a VCR brushless motor , secure the fan back in place and connect + and - wires to your computer fan - it needs to work normal so keep your wires low and neat .observe the computer fan spinning , observe your project brushless motor spinning you might need to swap a few wires around to get your project motor spinning in the right direction. Does not work for steppers

    Nice work very nice .

    Can I replace the ciTB6560, by a TB6600? It is one of the keys for the current and other micro Steps?

    hi!

    i have a steper motor 25hs8630 and it needs 3A, your driver could providesfor it?

    Thanks!!

    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..

    thanks

    0
    user
    msebe

    4 years 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?

    info@modulart.com.ar

    Thanks!!

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

    Merci anticipat!

    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

    I'm trying to come up with a way to control twelve steppers... Any ideas besides multiple driver boards?

    1 reply

    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: https://www.instructables.com/id/5-stepper-driver/

    Can I use these drivers on this breakout board for a CNC hot wire foam cutter?
    http://dx.com/p/5-axis-cnc-breakout-board-for-stepper-motor-driver-with-db25-cable-149865

    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

    Salut! Poti trimite te rog schema pe adresa vlad.88_sounds@yahoo.com?
    Ms anticipat!