Skip to content
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

feat: S.Port telemetry for PPM/SBUS external module #5689

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

raphaelcoeffic
Copy link
Member

Fixes #5064

Summary of changes:

  • add S.PORT telemetry to PPM external modules
  • add S.PORT telemetry to SBUS external modules

@mha1
Copy link
Contributor

mha1 commented Dec 1, 2024

needs Companion update too

@raphaelcoeffic
Copy link
Member Author

needs Companion update too

Right, may I ask for some good soul to take care of companion please?

mha1 added a commit to mha1/edgetx that referenced this pull request Dec 1, 2024
@mha1 mha1 mentioned this pull request Dec 1, 2024
@mha1
Copy link
Contributor

mha1 commented Dec 1, 2024

Right, may I ask for some good soul to take care of companion please?

Don't know about the good soul: #5691

image

And there's one odd thing. CPN thinks SBUS is presented at VBat. That can't be true right? Let me know then I'll change it to plain "SBUS".

image

@raphaelcoeffic
Copy link
Member Author

Frankly, I have no clue why the label says "SBUS output at VBat". @3djc @elecpower any clue why?

@3djc
Copy link
Collaborator

3djc commented Dec 1, 2024

I guess that might be true for frsky radio? (Don't have any to check)

@mha1
Copy link
Contributor

mha1 commented Dec 1, 2024

OpenTX implemented SBUS out on JR bay twith this PR: opentx/opentx#5225. A screenshot found in this PR hints to how SBUS output at VBat needs to be understood. It's a warning SBUS levels are at battery voltage. Are there really radios doing this?

image

@mha1
Copy link
Contributor

mha1 commented Dec 1, 2024

2.11 EdgeTX still warns all(!) b&w users that SBUS outputs current radio battery voltage levels. Color LCD users are warned levels are 5V. The wacky world of FrSky radios.

This is a screenshot from a T12max, SBUS@CPPM pin. The T12 outputs SBUS at 3.3V levels, yet the user is warned it's Vbat levels. The warning is if any only valid for some radios. The warning should be selective.

image

WhatsApp Image 2024-12-01 at 17 52 53_fb36a957

        else if (isModuleSBUS(moduleIdx)) {
          lcdDrawTextIndented(y, STR_WARN_BATTVOLTAGE);
          putsVolts(lcdLastRightPos, y, getBatteryVoltage(), attr | PREC2 | LEFT);

@Target0815
Copy link

The warning is false. It was once introduced because SBUS was originally issued on VBat, which is no longer the case.

@mha1
Copy link
Contributor

mha1 commented Dec 4, 2024

The warning is false. It was once introduced because SBUS was originally issued on VBat, which is no longer the case.

@pfeerick @3djc @raphaelcoeffic If this is true (looks like it) the warnings should be removed (b&w, color radio and CPN). Your thoughts?

@raphaelcoeffic
Copy link
Member Author

AFAIK, there are still a few old radios doing it (not sure which), but yes, it is probably too much to scare everyone for something that is not really the case anymore.

I don't think however this is related to the issue at hand.

@mha1
Copy link
Contributor

mha1 commented Dec 6, 2024

I don't think however this is related to the issue at hand.

Sure, I just noticed and it really looks odd. I mean you're right this is not directly related to the underlying issue but a nice opportunity to do some cleanup too. Let me know what Y'all think, I can do a separate PR if necessary.

@pfeerick
Copy link
Member

pfeerick commented Dec 7, 2024

Not related to the body of this PR, so separate PR thanks. Especially since it will require figuring out which radios use what voltage levels, as it is not always "false".

@mha1
Copy link
Contributor

mha1 commented Dec 7, 2024

Not related to the body of this PR, so separate PR thanks. Especially since it will require figuring out which radios use what voltage levels, as it is not always "false".

To conclude my OT discussion:
https://www.open-tx.org/2017/12/13/opentx-2.2.1RC3

image

https://doc.open-tx.org/manual-for-opentx-2-2/faq#voltage-on-frsky-radios-external-module-output

image

There is no mention of which (all?) FrSky radios are affected without testing real hardware. I suggest to leave the warnings and add a similar note to the EdgeTX user manual section https://manual.edgetx.org/color-radios/model-settings/model-setup/internal-external-rf / SBUS to check levels and if necessary to use protective measures like level shifters.

My apologies for having started the discussion here.

PS: I just received confirmation from a fellow modeller. X9E is at 10V (full VBat) with SBUS and PPM on the CPPM pin 😒

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.

TX16S, EdgeTX 2.10.0, no S.Port telemetry from external module?
5 participants