-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Feature request: BLHeli_32 ESC telemetry #2710
Comments
...and possibly using the ESC Current Sensor as the main current sensor? Adding a static amount of mA permanently for static loads like FC and FPV Stuff, then we can get rid of the additional current sensor :-) |
Installed a blheli32 esc this weekend. Would love to get temp and RPMs :) |
Same here. I have an Airbot Ori32 4in1, so I'm stuck with no telemetry and no current readings :( |
I'd love to see this feature too - ESC Current Sensor and RPM to start as OSD features, and as BLHeli_32 is developed and more features are added it would be great to see them too! |
@FPVZaphod I think having both the battery current sensor and the ESC current sensor separate is important, a static value is not the best solution when it comes to systems with switchable vtx modules - an 800mw FPV system draws a lot more power over a long flight than a 200mw system! |
Yeah, sure - but I think especially for very light builds it might be a big help. Copter ESCs used to be light, and if there is already a current sensor included, why not use it? I personally don't switch the TX power that often. A main current sensor is more accurate, without question. As long as it's calibrated well. But the ESC Sensor + a static load will be still way more exact than the virtual current sensor. I believe, the coding effort is quite small? |
Ahh! Just went to enable esc telemetry and realized it wasn't implemented in iNav yet. After reading this request, I also noticed there is no Dshot protocol support ported over yet. I'm fairly certain the blheli32 telemetry uses the dshot special functions (dshot throttle values 0-50?) to relay the telem info to the FC. So the Dshot ESC protocol code would have to be ported over as a prerequisite to the esc telemetry code. |
DSHOT is required for ESC telemetry. If somebody is going to have a crack at DSHOT - please, go ahead, but personally I think DSHOT will cause more harm than good on anything bigger than a miniquad. |
Are you sure @digitalentity? Dshot telemetry goes on a single wire to an empty UARTRX. |
This issue / pull request has been automatically marked as stale because it has not had any activity in 60 days. The resources of the INAV team are limited, and so we are asking for your help. |
Automatically closing as inactive. |
This is something that would massively improve wiring in wings/planes and should really be considered for inav 2.1. |
I also agree this is a feature I would very much like to see added. |
+1 for this |
I'd love to get this added only to stop the requests, as I'm just using the current sensor on the FC and never using DSHOT. |
You can't read your RPMs or ESC temperature with your FC. |
What's the practical use case for RPMs and ESC temperature besides "because I can"? |
Seriously you dont think the temperature of the first or second component to catch fire have some use? |
I would add, detecting RPM allows the flight controller to work out if you have lost propulsion and take some sort of failsafe action. |
Choosing components with enough margin for rated parameters will nullify the need to monitor the temperature. Still, ESC telemetry comes naturally with DSHOT, so we'll have it even if it doesn't have much of a practical use. |
@David-VG Nor do I care about those values as neither have ever been an issue for me. |
@Gmanzee Sometimes the RPMs could be zero when flying, so I would hope that wouldn't trigger a failsafe. And I'm not sure if there could be any failsafe for a total motor loss. I've lost a motor and the other three motors could do nothing to recover. |
@teckel12 I was coming at this from the fixed wing perspective, you I now see clearly from the multi rotor angle. At a very basic level I was thinking if throttle is commanded and motor RPM = 0 then warn the user. Beyond that would certainly take some thought as how to safely handle your new glider. With fixed wing having one esc is usually all you have and having one with all these sensors built in can tidy up the wiring quite a bit. |
In progress 😄 |
Good to hear! I will keep an eye on this here and will be ready to test as soon as it is available. |
Oh, gods and gurus! So, will this make the 2.2 release? 👍 |
It would be nice, if it did :-) |
Just wanted to offer to test when this is available. |
Hey @digitalentity, (or anybody else), can you tell me what is this: |
Ok, finally I'm making this my next item to work on 😄 |
Catching up on bi-directional DSHOT/telemetry. This reports only eRPM value of the motor, still might be useful. Key comment describing this: betaflight/betaflight#8554 (comment) Action items:
|
@digitalentity Thank you for taking the time to revisit this 👍 From your post. It sounds like your aiming ESC telemetry towards bi-directional Dshot for PID control?
|
@Jetrell then we can probably go with "classic" ESC sensor first - the one requiring an extra wire. |
@digitalentity That sounds good to me. |
Progress report. Done:
TODO:
I've verified that ESC reports temperature and voltage correctly. We're getting close. |
@digitalentity You're the man!! |
@digitalentity Excellent stuff 👍 Many of us will use ESC telemetry for Fixed wings. So in theory... It should be possible to use OneShot or MultiShot instead of a Dshot and still use ESC telemetry, If we turn ON Thanks again heaps |
Closing this now. @Jetrell, regarding ESC-telemetry with |
Where exactly do we find the settings for esc telemetry in inav configurator? I can't find any CLI variables either |
@FelixvdDonk: sorry for delay, maybe you can take a look @ this: https://www.youtube.com/watch?v=sPktdBh2Gcw @digitalentity: may I ask 2 questions:
Thanks |
@digitalentity: hello again, can you please check my previous question, thanks. Also, is there some soft limit in the OSD RPM display, namely, I now have several different builds with esc telemetry configured (different motors, different esc's, different batt cell counts....) but all come to a fixed limit, "42k"....no matter what, it does not go higher, even though I can hear the motor still spooling up, from the point when it reaches 42k... Thanks! |
BLHheli_32 ESC telemetry for OSD and logging.
The text was updated successfully, but these errors were encountered: