bbcmicrobit / bbcmicrobit/micropython
An error of PWM when driving servo motor
- Dominant language
- C
- Stars
- 646
- Forks
- 290
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
When I drove servo motor. I found the motor move is wried. It will move to random several locations, then go to the goal postion.
After eliminating the servo motor error. I decided to monitor the waveform
The 170 degree‘s pulse width is 2.3ms. Let Micro:bit send waveforms continuously and Set trigger as 2.0 ms on oscilloscope to mointor PWM. Below is what I got. A 1.9ms width PWM. Sometimes I will ge 0.9ms. It happens very often. Every 3-5 seconds, I can get one.

Is anyone have same problem before?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.