madhephaestus / ESP32Servo

Arduino-compatible servo library for the ESP32
133 stars 53 forks source link

Buzzing/humming coming from servo #36

Open aa365 opened 1 year ago

aa365 commented 1 year ago

Hi all, I'm trying to port my arduino code to run on esp32. So far so good, and Ive got it working but I've noticed that when a servo is set to between 80 and 100 degrees, it buzzes/hums even after reaching the position. I've experimented with different pulse width ranges but that hasn't helped. The servo is not attached to anything so the gear is unimpeded. I don't get the buzzing on the arduino board. Has anyone come across this before?

madhephaestus commented 1 year ago

what frequency did you set? What did you set as your attach min and max values?