betaflight-configurator icon indicating copy to clipboard operation
betaflight-configurator copied to clipboard

[Feature Request] Add KV to RPM in Motor tab

Open JyeSmith opened this issue 5 years ago • 5 comments

I know it can easily be calculated but it would be super convenient to have it right there, Great for checking rewound motors, or specs on new motors.

Cheers

JyeSmith avatar Oct 30 '19 09:10 JyeSmith

The only problem with this, is that the space in the motor tab where we put the telemetry values, is very reduced. We can add one or two more values, but I don't think we can add any more. If more people agree that this is a valuable addition, I can add it.

McGiverGim avatar Oct 31 '19 07:10 McGiverGim

I have started to implement this, but I have found a problem: to calculate the KV, I need the voltage that is using this motor... the RPM bidir protocol does not provide this information. The old ESC SENSOR provides it, but you need the additional wire.

Am I missing something? Or do you want to provide it only when the additional wire is connected? Will be use the general voltage as a value for all the motors enough precision for this?

McGiverGim avatar Nov 12 '19 09:11 McGiverGim

You should be able to use vbat.

JyeSmith avatar Nov 12 '19 10:11 JyeSmith

Yerp, kV = RPM / (vbat * commanded throttle)

AlessandroAU avatar Nov 12 '19 11:11 AlessandroAU

I need to use the commanded throttle? I have started with it, better to continue the discussion in the PR https://github.com/betaflight/betaflight-configurator/pull/1823

McGiverGim avatar Nov 12 '19 11:11 McGiverGim

@McGiverGim @JyeSmith @damosvil thoughts?

haslinghuis avatar Jun 21 '23 18:06 haslinghuis

I have started to implement this, but I have found a problem: to calculate the KV, I need the voltage that is using this motor... the RPM bidir protocol does not provide this information. The old ESC SENSOR provides it, but you need the additional wire.

Am I missing something? Or do you want to provide it only when the additional wire is connected? Will be use the general voltage as a value for all the motors enough precision for this?

EDT provides voltage in the Voltage frame, always the esc senses the Voltage and implements the frame. I remember that Blheli_32 implements It in an esc I have in a iF Titan. The EDT is documented here https://github.com/bird-sanctuary/extended-dshot-telemetry Betaflight already implements it since Betaflight 4.4, and it is integrated in dshot.c

damosvil avatar Jun 21 '23 19:06 damosvil

Can be closed (discussed on Discord)

haslinghuis avatar Jun 22 '23 20:06 haslinghuis