Servo motor not working

CNC V3 A4988 shield. work well with three stepper motors.
With GRBL and when tried with two stepper and one servo motor, only stepper motor works and not servo motor.

Hi there, welcome to the community!

A couple of things… First, the MPCNC uses 5 steppers, not three. It may use three drivers, but there are 5 stepper motors.

Second, steppers and servos are similar only in that they are electric motors. You need a servo-specific driver to run a servo, and unless it’s closed-loop, or you have some sort of encoded feedback, you lose all sorts of… accuracy, precision, and control when using servos. Steppers move from step to step, and so they can be accurately controlled even without feedback. Servos are just on, off, forward, reverse. You have no idea where it is once it starts moving.

Long story short: Servos are possible, but well beyond standard equipment. You really need to know what you’re doing to use them, and have the right support hardware. There may be some folks here who can help more than I can, but most everyone sticks to the easier to use steppers.

1 Like

Assuming you have a servo controller specifically for the motor or built in, and it accepts step/dir/enable signals, you would need to theck the voltages and then wire the step/dir/enable pins from the socket (after removing A4988) into your controller. After that it “should” work and if not, I would try driving the step/dir/enable signals manually to confirm that the servo driver operates the way I think it does.

What servo motor specifically do you have?

1 Like

I have attached the arduino

shield.

1 Like

Can you show a picture of your servo motor?