0

I need 48 sg90 servos to move to a specific position each minute. Now I am using two arduino mega boards to power everything through 6 bread boards but it seems I need more power because some servos are ticking and are delayed. I cant get the external power supply to work independently of the computer. Once I unplug from my computer the servos jitter. Any help would be greatly appreciated.

2
  • 1
    ...Schematic...?
    – Majenko
    Oct 16, 2020 at 9:33
  • 1
    make sure you have connected all the grounds together, i mean from both the Arduino boards, i had similar issue when using ESP8266 module and Arduino UNO together! check this first and also make sure the power supply is regulated and sufficient for your needs. Oct 17, 2020 at 6:03

1 Answer 1

0

Most servos use an analog signal (width of a pulse) for positioning. Any perturbation in that signal will cause unexpected behavior. Activating 48 servos simultaneously will likely indirectly or directly affect the analog signal.

enter image description here

The unexpected behavior might be mitigated through changes in software or hardware. These mitigation efforts may include:

  1. Staggering the servo changes so that only 1 servo moves at a time.
  2. Perhaps less effective but worth trying, staggering the servo changes so only 1 servo starts moving at a time. In this scenario more than 1 servos may be moving at a time.
  3. Using a power supply which maintains the expected voltage even during events such as all servos starting simultaneously.

These are only 3 options to consider. Many more exist but may not be pertinent to your situation. More information is needed.

1
  • 1
    For 3: A short power surge could also be handled with a big capacitor between Vcc and ground. Those could provide the current needed for the spike and prevent the voltage from dropping
    – chrisl
    Oct 17, 2020 at 21:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.