betaflight / betaflight-esc

Open source ESC firmware.
GNU General Public License v3.0
103 stars 40 forks source link

Add serial interface to spin motor #20

Open brycedjohnson opened 6 years ago

stale[bot] commented 6 years ago

This issue / pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within a week.

jaxxzer commented 6 years ago

Is the aim to use UART hardware?

brycedjohnson commented 6 years ago

Yes, it would be really handy to have that as an option for testing. Maybe even a replacement for dshot/oneshot on certain rigs.

On Mon, May 28, 2018, 9:45 AM Jacob Walser notifications@github.com wrote:

Is the aim to use UART hardware?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/betaflight/betaflight-esc/issues/20#issuecomment-392545702, or mute the thread https://github.com/notifications/unsubscribe-auth/ACds-XebpTL9N7O8TUr67KJzekFYup9Kks5t3A2ggaJpZM4RfBkf .

jaxxzer commented 6 years ago

Are there any opinions on a format currently? Something following an existing protocol? Plain text for the arduino crowd?

brycedjohnson commented 6 years ago

For now there is the basic CLI similar to betaflight world be nice to use (acsii) for testing. I put a couple functions in there and a motor test would be great as well. Maybe command to 0 to 100 throttle or tell it to go to a set RPM etc...

A compact binary serial protocol would be down the road if it was to be a dshot/multishot replacement. That was just an idea I'd like to test out at some point to see if it would be fast enough.

Bryce

On Mon, May 28, 2018, 2:04 PM Jacob Walser notifications@github.com wrote:

Are there any opinions on a format currently? Something following an existing protocol? Plain text for the arduino crowd?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/betaflight/betaflight-esc/issues/20#issuecomment-392588027, or mute the thread https://github.com/notifications/unsubscribe-auth/ACds-atvOmLt4C8TWi7idlyANz65Rjasks5t3EpFgaJpZM4RfBkf .