-
-
Notifications
You must be signed in to change notification settings - Fork 796
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: Selectable serial outputs instead of PPM #2894
Comments
++++:100: |
Or just turn up the DSM to use more channels. :P |
I'm not able to do this, it's limited to 6 channels. |
@DTFUHF -- not sure I understand. http://wiki.paparazziuav.org/wiki/DSM The actual protocol appears capable of carrying 18 channel streams. |
Yes, but I'm unable to do this in OpenTX. |
Why not SBUS on the PPM Pin. |
I would definitely be open to any form of serial TX on the module bay pins. |
The only 2 pins we can drive in there are pin 1 (usually PPM), which in terms of hardware driving possibilities is a timer output, and pin 5 (smart port), multiplexed, inverted serial port. On pin 2 we can receive only, inverted serial port. |
Is this related to this project?: http://www.rcgroups.com/forums/showthread.php?t=2165676. |
Seeing so many Taulabs guys I'm guessing it's for Taulink module, or OpenLRS. IMO adding SBUS or 115200+ baud Serial protocol on pin 5 transmitting all 16 channels with some kind of interrupt similar to XJT heartbeat would be the best and quickest approach with least latency. |
TauLabs guys are here since we were discussing this issue in #taulabs on freenode IRC :) I don't require any specific pin, the functionality itself benefits more people than just me. But I do have pins 1 and 2 connected to RX on some hardware. |
For the moment 16 channels sent every 5 ms with SBUS protocol on S.PORT Pin. But careful it's inverted serial! |
@bsongis Nice! |
Very nice, thank you :) |
Awesome! Can't wait to give her a test! |
This is soo sooo sooo rad |
This is working for me, here is a build for Taranis, with PPM_UNIT=US HAPTIC=YES (link removed) Note, the output is on pin 5 (lowest pin) |
Getting firmware incompatible with the Taranis+ download, can anyone smarter than me test it to confirm and/or compile a taranis+ binary with this change? |
Yeah sorry about that, I'm not sure how to compile for taranis+. |
make PCB=TARANIS PCBREV=REVPLUS |
Hmm, that's what I've done, and that's the second person reporting it isn't working. Sorry but I don't have a Taranis+ to check. (link removed) Looks like the .bin is not overwritten, it must be deleted first. |
That's again a non-plus firmware. |
OK, one last time, at the link above, did make clean before building again. |
Still the same it seems, but as you're always using the same filename I'm not sure I got the latest version. |
@MikeBland , @schwabe : Sorry that wasn't as clear as I wanted it to be, as it was from mobile. Currently, my PR (openLRSng/openLRSng#117) expects the protocol in MULTI to be set to In this respect, the telemetry format that is used when the new 'OpenLRS' protocol (https://github.com/pascallanger/DIY-Multiprotocol-TX-Module/blob/master/Multiprotocol/Multiprotocol.h#L559) is configured should be the same that is used for 'FrSkyD'. (For OpenTx, if the telemetry format is not automatically determined by the protocol that is selected, then this discussion is not relevant.) Can you please let me know when test versions implementing the 'OpenLRS' protocol become available? |
If you are using ersky9x, then the output option is already selectable by number. |
That's a valid point. Well this allow me to select FrSky Hub telemetry at 100000 8E2? |
Yes telemetry, when in serial mode, is using the same setting 100000 8E2. |
Good point, will try when I'm at home. |
On ersky9x, as long as you have "Usr Proto" set to FRSKY in the telemetry menu, then you should find selecting MULTI with OpenLrs as sub-protocol will give you FrSky hub telemetry at 100000 8E2. |
Thanks, have switched the protocol Id on the Tx module, all works fine. Btw, @MikeBland, in er9x the protocol number displayed for yet to be defined protocols seems to be off by one: 'OPENLRS' that is keyed on 0x1b is displayed as protocol number 26. |
For those still following this, I've finally gotten around to implementing configuration support: In addition to serial RC data and telemetry, this supports the following functions on the RC controller:
Currently it's only tested with orangeRx 1W TX, 9XR Pro, and ersky9x. |
I cannot test that since I don't have the hardware. But I can change the paramter description in OpenTX. Change RxNum to Profile, change Option value to Power Level and limit range to -1 to 7. And high/lower power and power level seem to be redundant or am I missing something? Or should I just hide the low power checkbox for orls? |
@schwabe: Yes please, getting appropriate menu labels would be appreciated. openLRSng supports profiles 1 - 4, RxNum 0 just goes with the profile that has been preselected in the openLRSng module config, so maybe show a I would leave high / low power in there for 2 reasons:
|
If I want to try this on my Taranis and DTFUHF Delux Module, what do I need to do? This is a very long thread and Im a little unsure of what's actually been done. |
Will this feature make it into 2.2.0? |
the feature is already in 2.2. As for the DTFUHF side I have no idea what you have to do. |
@mikeller was nice enough to write the OpenLRS part, now that there are opentx 2.2 release candidates out it's probably time to wrap up our end of things too :) |
@kh4 has been reviewing the code, and I've made some changes based on his review, so this should be about good to go now. No idea what the timeline for the next release of openLRSng is though. @geekness: If you want to try it, you have to build from openLRSng/openLRSng#122 (or I can build for you if you aren't set up for it). You'll also have to use the configurator from openLRSng/openLRSng-configurator#30 in order to be able to select 'MULTI' in the 'Serial port speed' dropdown. On the hardware side, you'll have to connect PPM out on the controller to serial RX on the TX module. Please let me know how it's working for you. |
@schwabe thanks for the heads up.
I have the deluxe JR module which plugs into the module bay of the taranis. Do I need to change how the pins align? Can somebody give me a brief explanation of the benefits of using this new updated method? I vaguely understand, but I'd like to know exactly what it is that I am changing so I can make full use out of it. |
Hey OpenTX guys, this Multi-mode is forced to FrSkyD telemetry. Is there anyway to get SmartPort telemetry as well? Or better yet a way to select between the two modes? Otherwise - this is working great and I can't wait for the 2.2 release. |
Also - the Multi output appears to be 0-2048 without extended limits enabeld, where the spec suggests 204-1843 should be +-100% is this a bug? |
Thanks for noticing the output of the multi. That looks wrong. I will have to look into that. For the telemetry protocol. That is current tied to the protocol you select. E.g. DSM gives you spektrum telmetry; Frsky D16 gives you sport; Flysky FS2A gives you Flysky telmetry and the rest gives you FrskyD telmetry. I am currently implemeting a multi telemetry protocol that allows the module to indicate the type of telemetry instead of hardcoding it and also allowing extra messages. WIP in is here, but it is not tested at all yet and the protocol is also not final: That might also interesting if you want to send to send extra status of your module or something similar. |
I have decided to close this issue. I think for now the multi/OLRS protocol is good enough to fulfill this issue and further improvements or bugs are better solved in new issues. The 120 vs 100% bug is fixed when the #4151 pull request is merged. |
The Model Setup (within Taranis x9d plus) according to the OpenTx 2.2. manual ( https://opentx.gitbooks.io/manual-for-opentx-2-2/content/model_setup.html ) includes an option to output an SBUS by the external RF module bay.
Thanks in advance, |
It will come in 2.2.1. |
Not yet, see the open pill requests |
Expanding on the DSM2/DSMX serial protocol that is already available but limited to 6 channels, I'd like to see some serial protocols available on the PPM output pin in the module bay. Specifically SUMD, but also SBUS, expanded Spektrum, etc. would ensure a broad range of compatibility with radio modules that accept a serial input. PXX is difficult to decode on lower end hardware (AVR) and has not seen widespread acceptance. PPM latency is high vs. these serial protocols, especially on 16 channels.
The text was updated successfully, but these errors were encountered: