A4988 Motor drivers suddenly stopped working

  • I am using Arduino Uno + CNC shield + 2 A4988 motors on X and Z to move a stepper motor. The code works fine in the instant I disconnected all USB and switched off power supply. Then I got another A4988 motor to put on Y, but it heated up and motor kept vibrating so I switched off and removed it.
  • Now I can say Y driver might have burned up due to wrong settings of potentiometer
  • But then when I ran code for Z again I found it is not moving as well ( here am using a motor of input 1.2 A, while X and Y had 0.4 A motor) but X is working just fine.

I have following doubts to clear up:

  1. Why this happened ( especially am curious why Z driver stopped working) ?
  2. Suggest me some way to check driver operation and prevent burning up more of them (my PI is little bit annoyed with me)?

Which stepper motor? What is the motor's rated phase current? What is the motor's phase resistance? What is the A4988's maximum rated current? Did you adjust the pot before connecting and running the motor?

Stepper motors used :

  1. 17HS08-1004S STEPPER MOTOR MICRO HYBRID NEMA 17 : max rated current of 0.4 A (for X and Y)
  2. KS42STH40-1204A : max rated current of 1.2 A (for Z)

Yes, I did adjust the pot to make sure.

You have 3 motors rated 1.2A per phase, each motor has 2 phases so 2.4A times 3 = 7.2A. Looks like you need a bigger power supply or reduce the current limit for each motor.

No I have 2 motors of 0.4 A and only one of 1.2 A. Also I am not running all of them simultaneously as per code only one at a time based on conditional switch.

KEY FEATURES OF STEPPER MOTOR NEMA-17 1.2A KS42STH40-1204A:

4-wire bipolar operation
Compatible with NEMA17 standard
Dimensions: 42 x 42 x 40mm
Motor shaft diameter: 5mm
Step angle: 1.8 degrees
Step Count per revolution: 200
Standard Voltage: 2V
Phase current: 1.2A
Phase resistance: 1.7 ohm
Holding torque: 4N.m (minimum)

Where do you see the rated current of 0,4A? From the electrical data I can only see 1.2A. But off course you can operate it with coil current set to 0.4A at the A4988.

This motor has a rated current of 1A:

Electrical Specification

Manufacturer Part Number: 17HS08-1004S
Motor Type: Bipolar Stepper
Step Angle: 1.8deg
Holding Torque: 16Ncm(22.66oz.in)
Rated Current/phase: 1.0A
Phase Resistance: 3.7ohms
Inductance: 4.5mH±20%(1KHz)

Did you ever connect or disconnect a motor with power applied?

A ~34W PSU (e.g. 12V/3A or 24V/1.5A) is sufficent for all 3 motors if they are operated at their rated current.

I edited my response my apologies. No I made sure I run code when its connected and disconnect after.

It's not a problem of running code or not. It's a problem if Vmot of A4988 is powered while connecting or diconnecting the motor wires.

Yes I might have removed Motor while the Arduino USB is connected to PC :confused:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.