Handson Technology
User Guide
TB6600 4.0A Stepper Motor Driver
TB6600 is an easy-to-use professional stepper motor driver, which could control a two-phase stepping motor.
It is compatible with Arduino and other microcontrollers that can output a 5V digital pulse signal. TB6600
stepper motor driver has a wide range power input. And it is able to output 4A peak current, which is enough
for the most of stepper motors. 6 DIP switch for micro steps and output drive current setting. All signal
terminals adopt high-speed opto-coupler isolation, enhancing its ground loop interference ability. As a
professional device, it is able to drive 57, 42-type 2-phase, 4-phase, hybrid stepper motors.
SKU: MDU1059
Specifications:
Input Voltage: 9V~40V.
Input Current: 0~5A.
Output Current: 0.5-4.0A.
Power (MAX): 160W.
Micro Step: 1, 2/A, 2/B, 4, 8, 16, 32.
Temperature: -10~45℃
Dimension: 96x56x33 mm.
Weight: 0.2 kg.
1 www.handsontec.com
Mechanical Dimension:
Unit: mm
2 www.handsontec.com
3 www.handsontec.com
Basic Wiring:
The following diagram shows how to connect the stepper driver within you application. Review the
documentation of the electronics for details on the three signal lines. Note that the voltage applied from the
microprocessor should be 5V. You can connect a 9 to 42V DC power source to VCC/GND.
4 www.handsontec.com
DIP Switch Setting:
You can set the current and microsteps using the dip switches SW1-SW6 on the side. Refer to the following
tables for details.
5 www.handsontec.com
Arduino Connection Application Example:
In this section, we'll show you how to use TB6600 with Arduino to drive stepper motor quickly. Wiring up
the TB6600 driver to Arduino Uno controller board as shown below:
Copy and paste the below sketch into Arduino IDE and upload to Arduino Uno board:
/*==========================================================================
// Author : Handson Technology
// Project : Arduino Uno
// Description : TB6600 Stepper Motor Driver
// Source-Code : tb6600.ino
//==========================================================================
*/
int PUL=7; //define Pulse pin
int DIR=6; //define Direction pin
int ENA=5; //define Enable Pin
void setup() {
pinMode (PUL, OUTPUT);
pinMode (DIR, OUTPUT);
pinMode (ENA, OUTPUT);
6 www.handsontec.com
void loop() {
for (int i=0; i<6400; i++) //Forward 5000 steps
{
digitalWrite(DIR,LOW);
digitalWrite(ENA,HIGH);
digitalWrite(PUL,HIGH);
delayMicroseconds(50);
digitalWrite(PUL,LOW);
delayMicroseconds(50);
}
for (int i=0; i<6400; i++) //Backward 5000 steps
{
digitalWrite(DIR,HIGH);
digitalWrite(ENA,HIGH);
digitalWrite(PUL,HIGH);
delayMicroseconds(50);
digitalWrite(PUL,LOW);
delayMicroseconds(50);
}
}
After successful upload, the stepper motor attached to TB6600 driver board will turn forward
and backward continuously.
7 www.handsontec.com
Web Resources:
SMPS Power Supply Module
775 Ball Bearing DC Motor
A58SW-555 Worm Gear Motor
JGB37-3530 Metal Gear Motor
Motor Bracket
8 www.handsontec.com
Handsontec. com
HandsOn Technology provides a multimedia and interactive platform for
everyone interested in electronics. From beginner to diehard, from student
to lecturer. Information, education, inspiration and entertainment. Analog
and digital, practical and theoretical; software and hardware.
HandsOn Technology support Open Source Hardware (OSHW)
Development Platform.
Learn : Design : Share
handsontec.com
9 www.handsontec.com
The Face behind our product quality…
In a world of constant change and continuous technological development, a new or replacement
product is never far away – and they all need to be tested.
Many vendors simply import and sell wihtout checks and this cannot be the ultimate interests of
anyone, particularly the customer. Every part sell on Handsotec is fully tested. So when buying from
Handsontec products range, you can be confident you’re getting outstanding quality and value.
We keep adding the new parts so that you can get rolling on your next project.
Breakout Boards & Modules Connectors Electro-Mechanical Parts
P
Engineering Material Mechanical Hardware Electronics Components
Power Supply Arduino Board & Shield Tools & Accessory
10 www.handsontec.com