P1S PWM Values
https://www.petoi.com/products/quadruped-robot-dog-bittle-servo-set On the page for the metal servos it mentions a range of 500-2500. Is that the min/max PWM. When I try to figure it out myself I get something more like 1300-5k which seems wrong. I'm using 50 for a frequency and 16 for resolution. Is this not correct? Thanks in advance. ledcSetup(0, 50, 16); // 50Hz for servo
ledcWrite(0, 8000);
38 Views
The shape of the PWM pulse depends on many parameters. The Bittle servo can take pulse between 500~2500 us. There are also some special widths reserved to set up its factory parameters.
ledcWrite is a very bottom-level function. I recommend using the esp32servo library that already configured the basic servo parameters.