Skip to content

More DShot channels for ESP32-C3 #3140

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

frank26080115
Copy link
Contributor

DShot is sent by the DShotRMT library. The problem is: ESP32-C3 only has two RMT channels that are capable of transmission.

In contrast, the Xtensa ESP32 has 8 RMT channels and is capable of outputting 8 DShot channels.

In order to add more DShot channels to ESP32-C3, I rewrote DShotRMT to use only one RMT channel, but change the pin that the RMT is connected to in a round robin fashion. This means one RMT channel can be used to output nearly unlimited number of DShot channels.

(the code is still hard coded with a 8 channel limit)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant