

The TB660 Stepper Motor Driver, manufactured by Tofelf (Part ID: B0BZYX7Z4Z), is a versatile and efficient driver designed for controlling stepper motors with precision. It supports adjustable current control, enabling compatibility with a wide range of stepper motor types. The TB660 is ideal for applications requiring smooth and accurate motor movement, such as 3D printers, CNC machines, robotics, and automated systems.








The TB660 Stepper Motor Driver is designed to provide reliable performance with the following key specifications:
| Parameter | Value |
|---|---|
| Operating Voltage (Vcc) | 4.5V to 5.5V |
| Motor Supply Voltage (VM) | 9V to 42V |
| Maximum Output Current | 4.5A (peak), 3.0A (continuous) |
| Microstepping Modes | Full, 1/2, 1/4, 1/8, 1/16 |
| Control Interface | Step and Direction signals |
| Logic Input Voltage | 2.0V (min) to 5.5V (max) |
| Operating Temperature | -20°C to +85°C |
| Dimensions | 20mm x 15mm x 5mm |
The TB660 Stepper Motor Driver has the following pinout:
| Pin Name | Pin Number | Description |
|---|---|---|
| VM | 1 | Motor power supply input (9V to 42V). |
| GND | 2 | Ground connection for both logic and motor power. |
| VCC | 3 | Logic power supply input (4.5V to 5.5V). |
| EN | 4 | Enable pin. Active LOW to enable the driver. |
| STEP | 5 | Step signal input. Each pulse advances the motor by one step. |
| DIR | 6 | Direction signal input. HIGH or LOW determines the motor's rotation direction. |
| MS1 | 7 | Microstepping mode selection pin 1. |
| MS2 | 8 | Microstepping mode selection pin 2. |
| MS3 | 9 | Microstepping mode selection pin 3. |
| OUT1A | 10 | Output for motor coil 1 (A+). |
| OUT1B | 11 | Output for motor coil 1 (A-). |
| OUT2A | 12 | Output for motor coil 2 (B+). |
| OUT2B | 13 | Output for motor coil 2 (B-). |
Power Connections:
VM pin.VCC pin.GND pin.Motor Connections:
OUT1A, OUT1B, OUT2A, and OUT2B pins. Refer to your motor's datasheet for the correct wiring.Control Signals:
STEP pin to send pulses for motor movement. Each pulse corresponds to one step.DIR pin to set the motor's rotation direction (HIGH for clockwise, LOW for counterclockwise).Microstepping Configuration:
MS1, MS2, and MS3 pins. Refer to the table below for configuration:| MS1 | MS2 | MS3 | Microstepping Mode |
|---|---|---|---|
| LOW | LOW | LOW | Full Step |
| HIGH | LOW | LOW | 1/2 Step |
| HIGH | HIGH | LOW | 1/4 Step |
| HIGH | HIGH | HIGH | 1/16 Step |
EN pin LOW to enable the driver. Pull it HIGH to disable the driver.Below is an example of how to control the TB660 Stepper Motor Driver using an Arduino UNO:
// Define pin connections
#define STEP_PIN 3 // Connect to the STEP pin of TB660
#define DIR_PIN 4 // Connect to the DIR pin of TB660
#define EN_PIN 5 // Connect to the EN pin of TB660
void setup() {
pinMode(STEP_PIN, OUTPUT); // Set STEP pin as output
pinMode(DIR_PIN, OUTPUT); // Set DIR pin as output
pinMode(EN_PIN, OUTPUT); // Set EN pin as output
digitalWrite(EN_PIN, LOW); // Enable the driver
}
void loop() {
digitalWrite(DIR_PIN, HIGH); // Set direction to clockwise
for (int i = 0; i < 200; i++) { // Rotate 200 steps (1 revolution for a 1.8° stepper)
digitalWrite(STEP_PIN, HIGH); // Generate a step pulse
delayMicroseconds(1000); // Pulse duration
digitalWrite(STEP_PIN, LOW); // End of pulse
delayMicroseconds(1000); // Delay between steps
}
delay(1000); // Wait for 1 second
digitalWrite(DIR_PIN, LOW); // Set direction to counterclockwise
for (int i = 0; i < 200; i++) { // Rotate 200 steps in the opposite direction
digitalWrite(STEP_PIN, HIGH);
delayMicroseconds(1000);
digitalWrite(STEP_PIN, LOW);
delayMicroseconds(1000);
}
delay(1000); // Wait for 1 second
}
Motor Not Moving:
VM and VCC.EN pin state (should be LOW to enable the driver).STEP and DIR signals are being sent correctly.Motor Vibrates but Doesn't Rotate:
Driver Overheating:
Motor Moves in the Wrong Direction:
OUT1A and OUT1B).Can I use the TB660 with a 12V stepper motor? Yes, as long as the motor's current rating is within the driver's limits.
What happens if I exceed the maximum current rating? The driver may overheat or enter thermal shutdown. Always stay within the specified limits.
Can I use the TB660 with a 24V power supply? Yes, the TB660 supports motor supply voltages up to 42V.
By following this documentation, you can effectively integrate the TB660 Stepper Motor Driver into your projects for precise and reliable motor control.