r/ArduinoProjects • • Oct 21 '24

Servo Stutter

Post image

I am using an arduino mega board with a joystick to control two servo motors. I believe there is an issue with my circuit. Servo1 has clean, smooth, precise movements. Servo2 loses its position very often and stutters often. I am powering the circuit with a AC/DC (output=9V) adapter. I still believe that servo2 is not getting enough power to function correctly. How can I rework my circuit in order for servo2 to function properly? I believe the board is limiting the amount of voltage being outputted to my servos (9V input actually gets stepped down by the board to 5V maybe). Any help/advice would be appreciated.

Notes: My code is 100% not the issue. If I connect my code with only servo1 or only servo2 connected, there are no issues.

Servo:

https://www.amazon.com/Miuzei-Torque-Digital-Waterproof-Control/dp/B07HNTKSZT?pd_rd_w=Bzy2r&content-id=amzn1.sym.068b997f-e018-4cca-ba98-0bebf207d768&pf_rd_p=068b997f-e018-4cca-ba98-0bebf207d768&pf_rd_r=CAPCK84XTZ51NNGCHZK1&pd_rd_wg=YwwaJ&pd_rd_r=0ed755f0-9186-48b2-b7ba-93ae43d7a075&pd_rd_i=B07HNTKSZT&psc=1&ref_=pd_bap_m_grid_dv_rp_0_1_ec_ppx_yo2_mob_b_ts_rp_1_sc

4 Upvotes

5 comments sorted by

1

u/tkingdom1 Oct 21 '24 edited Oct 21 '24

These Servos draw a lot of current.

Your Arduino has a voltage regulator.... but... its not meant for high currents. Its very small.

I think that could be your problem. It would certainly explain why it works well with just one motor.

Try to power the Servos with an external power supply. There are plenty of step down modules on Amazon. A 3A one should be enough for two Motors, but if you plan to use more Servos later on maybe think about one with a rating of 10 or 12 Amps.

Edit: You could also use just one 5V supply with enough Amps so you wont have to regulate anything. That way you would power the Arduino threw the GND and 5V Pins.

1

u/duckbeater69 Oct 21 '24

Highly likely power issues. As you’ve got it set up now, power needs to go through the board to the servos, this limits throughput.

You could try to solder power wires directly to the contact, check so that the servos can handle the voltage.

The black female contact where the white cable is connected has two metal points on the outside. These are directly from the wall adapter. The one on the round side should be ground and the flat side positive (check with multimeter to be sure, I’m 99%). If you attach wires there these can power the servos directly. Make sure you don’t feed this into the arduino in a way that bypasses its voltage regulator though!

Maybe not the best description. Feel free to ask for clarifications if needed

1

u/[deleted] Oct 21 '24

Let’s see code

1

u/[deleted] Oct 21 '24

If the servo doesn’t transition smoothly, it could be because you didn’t use a line equation in your code

1

u/VettedBot Oct 22 '24

Hi, I’m Vetted AI Bot! I researched the Miuzei 20KG Servo Motor and I thought you might find the following analysis helpful.

Users liked:

  • Strong and Reliable Performance (backed by 7 comments)

  • Good Value for the Price (backed by 5 comments)

  • Easy to Use and Install (backed by 4 comments)

Users disliked:

  • Slow Operation Speed (backed by 3 comments)

  • Missing Hardware/Control Arms (backed by 2 comments)

  • Poor Durability/Gear Failure (backed by 1 comment)

This message was generated by a bot. If you found it helpful, let us know with an upvote and a “good bot!” reply and please feel free to provide feedback on how it can be improved.

Find out more at vetted.ai or check out our suggested alternatives