Servo Motor MG90S is not working. Always givea a tick tick sound when passing a command through UGS

I have built a CNC plotter machine and in the metal gear servo motor, when I have passed a command code from UGS like M03 S80, it gives a continuous tick tick sound. But not rotating. if I give a small push from my hand, then only its rotating to 80 degrees. if we put M05 S10 code, that also the same.

My i know the reason for it?. It worked perfectly previously. But from now its giving some sound without any movement. The spring i use in the pen gives some friction. Is it the issue for this?

No code
No Schematic
No details of how the servo is powered
No details of what was changed since it last worked

Sorry. Help is not possible

Hello.

The code i used to tun is M03 S80
Servo is being powered from the CNC shield - 5V
What was changed means its not working. That means instead of rotating it gives a tick tick sound.

That could be the sound of stripped gears or a servo that is trying to go past a physical limit stop.

What happens if you run the Servo library sweep example on just the servo with the Uno?

What I actually had in mind was the Arduino code, not the G-Code

And where does the shield get its power from ?

My cup of coffee stays empty if I put it below the coffee-maschine . Can you tell me why?
Of course you can't tell.

With the above sentence I have told you way too less information what the reason might be.
You would have to speculate a lot what the reason might be.

At the end it turns out that I kept the cover on the cup. All the coffee flowed into the drip pan.
Have you thought about this option? Surely not!
Best thing is to post all details about your project.

best regards Stefan

Thank you... It gives the tick sound again and after some time it gets rotating the angle i provided. why is that?

Try reducing the range of angles in the Sweep sketch so that it does not reach 0 or 180, perhaps try 30 to 150

How does it behave then ?

Hi,
Can we please have a schematic of your project and possibly some images as well?
So we can see your component layout.

Please include ALL power supplies, component names and pin labels in your circuit diag.

What are the specs of your power supply?

Thanks.. Tom... :smiley: :+1: :coffee: :australia:

I am having an issue with my CNC shield. I have built the CNC Plotter using arduino uno and a CNC shield and powered it using an external power pack. The output voltage of the power pack is 12V and 3 Amps.

Everything is working perfectly. But My servo motor is not working. When i passes a command like M03 S80, and it only vibrates. and gives a small ticking sound continuously. When I give a small push from my finger to the servo, it works. the wire length i used for the servo is around 1Meter.I thought this lengthy wires slow down the electricity flow. So i have connected the servo motor directly to the CNC shield and it worked fine.

But at times, lets say I have given some design to draw through UGS, in the middle of the drawing stage, the board is getting disabled from the computer. So I have asked one of my friend about this, and he suspects that this issue is happening because servo motor is not getting enough current from the shield. When the shield fails to provide enough power to the motor and it absorbs much of current from the shield, he said, the circuit stopping the operations and gets disabled itself.

To fix that, he told me to follow the below circuit diagram. That means he wanted me to power the servo motor using an external power pack. Please refer the below diagram

CNC issue

These are my questions

1), Will the connections of ground wires affect the circuit or the motor?
2) The external power supply emits 5V 2.2 Amps of current. Will it affect the servo motor?
3) I am using a 1meter length for all 3 wires including signal wire for this and it is coming directly from the board. Will it be a problem for operating the motor?
4) What are the future drawbacks that will happen if i follow this method to the circuit?

My knowledge on electronics is little bit low. So hope you can answer these.

Thank you

Your friend is giving good advice. Keep this one.

The connection shown is the way it should be done.

The servo will only draw what it wants. 2.2A should be plenty for a small or medium size hobby servo (meant for RC models).

i meter should be OK if the wire size is adequate for the power wires. 22 AWG (0.65mm) or larger should be OK. Try to keep the signal wire away from wires that are carrying high currents.

I don't see any.

Thank you. mai i know the reason for fixing the ground wires of motor, and cnc 5V out put and the external power supply are connecting together? Is it required to attach the ground wire of cnc shield to it?

The ground between the CNC shield (Uno) and the servo must be there for a return for the servo signal. For there to be an electric circuit the power or signal must be able to flow from the source to the destination and return back to the source. The ground is that return path.

Awesome. and thank you. One clarification. the wires carry, 2.2 Amps of current. (All three, i mean signal, positive and ground wires are tied together) will it affect the signal wire? YOu told to keep the signal wire away from the power lines ryt?

Thy to keep them separate if possible. If not, try it and see if it works.

Hi there Experts,

I am having an issue with my CNC shield. I have built the CNC Plotter using arduino uno and a CNC shield and powered it using an external power pack. The output voltage of the power pack is 12V and 3 Amps.

Everything is working perfectly. But My servo motor is not working. When i passes a command like M03 S80, and it only vibrates. and gives a small ticking sound continuously. When I give a small push from my finger to the servo, it works. the wire length i used for the servo is around 1Meter.I thought this lengthy wires slow down the electricity flow. So i have connected the servo motor directly to the CNC shield and it worked fine.

But at times, lets say I have given some design to draw through UGS, in the middle of the drawing stage, the board is getting disabled from the computer. So I have asked one of my friend about this, and he suspects that this issue is happening because servo motor is not getting enough current from the shield. When the shield fails to provide enough power to the motor and it absorbs much of current from the shield, he said, the circuit stopping the operations and gets disabled itself.

To fix that, he told me to follow the below circuit diagram. That means he wanted me to power the servo motor using an external power pack. Please refer the below diagram

CNC issue

These are my questions

1), Will the connections of ground wires affect the circuit or the motor?
2) The external power supply emits 5V 2.2 Amps of current. Will it affect the servo motor?
3) I am using a 1meter length for all 3 wires including signal wire for this and it is coming directly from the board. Will it be a problem for operating the motor?
4) What are the future drawbacks that will happen if i follow this method to the circuit?

My knowledge on electronics is little bit low. So hope you can answer these.

Thank you

up...

Why are you starting a new thread? I answered in this thread. This is cross posting. Cross posting is against the forum rules.

You did not like my answers? Am I wasting my time trying to help you?

@sahan91

Your two topics on the same or similar subject have been merged.

Please do not duplicate your questions as doing so wastes the time and effort of the volunteers trying to help you as they are then answering the same thing in different places.

Please create one topic only for your question and choose the forum category carefully. If you have multiple questions about the same project then please ask your questions in the one topic as the answers to one question provide useful context for the others, and also you won’t have to keep explaining your project repeatedly.

Repeated duplicate posting could result in a temporary or permanent ban from the forum.

Could you take a few moments to Learn How To Use The Forum

It will help you get the best out of the forum in the future.

Thank you.

[Edit, I found another topic on this subject, locked. Please stop creating new topics on the same subject!]

hope that will not affect the circuit or the motor.. :slight_smile: