bbcmicrobit / bbcmicrobit/micropython

An error of PWM when driving servo motor

Open
#610 1 comment 0 reactions 0 assignees View on GitHub
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.
![_20181201111544](https://user-images.githubusercontent.com/29869357/49323720-96c2a300-f55a-11e8-94b3-f20a2aed3f49.jpg)

Is anyone have same problem before?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.