8000 V1.18 breaks microservo (MG90S) functionality through PWM on ESP32. Works on Pico though. · Issue #8377 · micropython/micropython · GitHub
[go: up one dir, main page]

Skip to content

V1.18 breaks microservo (MG90S) functionality through PWM on ESP32. Works on Pico though. #8377

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

Closed
AllanMisasa opened this issue Mar 3, 2022 · 2 comments

Comments

@AllanMisasa
Copy link

My students and I have experienced this on the generic ESP32-WROOM 38 pin.

@robert-hh
Copy link
Contributor

Thank you for the reporting. This issue was reported already at #8189, #8306 and #8345. #8189 is fixed in the actual nightly builds. For #8306 and #8345 exists a PR. #8306 can be avoided by first configuring a different Pin for PWM and then the Pin used for the servo. #8345 happens only if more than one channel is used at the same frequency, and the frequency of one channel is changed from and back into that common frequency.
Errors like these should not happen, but at least, your students had an exercise in failure tracing, which is definitely an important part of learning to code.

@dpgeorge
Copy link
Member
dpgeorge commented Mar 7, 2022

Most recent fix for this was in 55a0125. I think this issue can be closed. Please reopen if it's still not working.

@dpgeorge dpgeorge closed this as completed Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
0