mathiasvr / bluejay

:bird: Digital ESC firmware for controlling brushless motors in multirotors
GNU General Public License v3.0
478 stars 48 forks source link

Extend DShot ESC Telemetry #34

Open mathiasvr opened 3 years ago

mathiasvr commented 3 years ago

It has been suggested to extend ESC telemetry to provide information such as missed zero crossings and demag events.

Currently Bluejay only supports rpm (e-period) telemetry according to the specification of bidirectional dshot. DShot also allows telemetry on a separate wire which is currently only supported by 32-bit ESC firmware.

It needs to be decided whether Bluejay should add support for dshot (separate wire) telemetry and/or if bidirectional dshot (single wire) telemetry should be extended to somehow support different types of information than RPM.

Quick-Flash commented 2 years ago

Fettec S2M protocol may be what we need. If it were to be supported on bl32 or bl_s through bluejay then I would believe we would see it become supported in bf.

damosvil commented 2 years ago

There is no need to extend telemetry on a separate wire. DHOT telemetry coding repeats almost 50% coded values, so there exist a lot of codification values (7 ranges of 256 values) to codify them making the pertinent modification in Betaflight. Please check the explanation at https://github.com/betaflight/betaflight/issues/11677