Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library not compatible with more than 2 servos #11

Open
Suke0811 opened this issue Feb 22, 2024 · 1 comment
Open

Library not compatible with more than 2 servos #11

Suke0811 opened this issue Feb 22, 2024 · 1 comment

Comments

@Suke0811
Copy link

Problem

  • Device: ESP32-S3-Wroom-1

When we try to command more than two servos, only the two servo motors function as expected. The rest does not move at all. All servos individually run if only one servo is used in the code.
The example is:

servo0.attach(pin0);   
servo1.attach(pin1);
servo2.attach(pin2);   // This servo does not turn with .write()
servo3.attach(pin3);   // This servo does not turn with .write()

If we switch the order, then two motors (servo2 and servo3) run instead

servo2.attach(pin2);   
servo3.attach(pin3);
servo0.attach(pin0);   // This servo does not turn with .write()
servo1.attach(pin1);   // This servo does not turn with .write()

Potential Reasons

This issue has already been reported in the community.
https://forum.arduino.cc/t/esp32-s3-not-working-with-2-servos/1157409/9

Current Workaround

ESP32-S2 AnalogWrite Library works with more than two servos. We have tested with 4 servos.
https://forum.arduino.cc/t/esp32-s3-not-working-with-2-servos/1157409/14

@f1owkang
Copy link

f1owkang commented Apr 9, 2024

thanks!!!!!it is very useful,i well try it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants