-
Notifications
You must be signed in to change notification settings - Fork 55
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
ESP32 S3 Only 4 servo can work at the same time #35
Comments
we are working on updating this library to fully support the s3 core. @keionbis do you have a branch we could review as a PR? In the mean time, here is some code we use to generate 16 servo PWM's as a server: https://github.com/OperationSmallKat/LunaMotherboardFirmware/blob/Esp32-s3-migration/src/ServoServer.cpp |
Hello, same issue here with different PWMs sharing same frequency. Not sure but it may be related to: ESP32-S2 has 2 channels per timer maximum, here the limit is 4. |
Hmm, could you add that parameterization to this pr?
…On Mon, Oct 9, 2023, 10:49 AM Flavio Battimo ***@***.***> wrote:
Hello, same issue here with different PWMs sharing same frequency.
Not sure but it may be related to:
https://github.com/madhephaestus/ESP32Servo/blob/1.1.0/src/ESP32PWM.cpp#L79
<http://url>
https://github.com/madhephaestus/ESP32Servo/blob/1.1.0/src/ESP32PWM.cpp#L87
<http://url>
ESP32-S2 has 2 channels per timer maximum, here the limit is 4.
—
Reply to this email directly, view it on GitHub
<#35 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJSKRTYZOOOKBKPFTOM3YDX6QFJNAVCNFSM6AAAAAA2RV4RTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJTGE2TQMBZG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I cannot wait for the solution to this problem. I found this ESP32_ISR_Servo library and activated all 16 PWMs. It seems to generate PWM signals on all pins but is unstable. Do you have any insights? I'm attaching the test code: ESP32_MultipleServos.ino.zip |
I made a similar experience with the ESP32 S2. At this time I attach 14 PWM channels and then use the 8 working ones on As an improvement to ESP32Servo library it would be a cool improvement Thanks and cheers |
I have tested many times with version 0.13.0.
When I use ESP32 S3 (ESP32 S3 DevKitC) , if the number of servo is more than 4, the middle servo doesn't work。
I tested 2 ESP32 S3 boards and got the same results .
But When I use another ESP32 board (ESP32 DEVKIT V1), The following 6 servo are all working fine
Then
I checked the pin signals with my oscilloscope , the blue channel is SL3_PIN in the code above,PWM is not working.
the yellow channel is the SL1_PIN pin in the above code, it works great.
The text was updated successfully, but these errors were encountered: