Help with Trainer-Input (Radiomaster TX16s, but not only)
Help with Trainer-Input (Radiomaster TX16s, but not only)
Hi all,
sorry for a perhaps dumb question, becuase I stil did not get it right:
where can I supply digital(SBUS) trainer input?
- to the dsc Jack?
- to pin2 of the module bay?
- to one of the TTL serial ports?
What options do I have to select in OpenTX?
Thank you!
sorry for a perhaps dumb question, becuase I stil did not get it right:
where can I supply digital(SBUS) trainer input?
- to the dsc Jack?
- to pin2 of the module bay?
- to one of the TTL serial ports?
What options do I have to select in OpenTX?
Thank you!
Re: Help with Trainer-Input (Radiomaster TX16s, but not only)
Well, is this a difficult question?
Where / on which interfaces can one supply serial trainer input?
Where / on which interfaces can one supply serial trainer input?
Re: Help with Trainer-Input (Radiomaster TX16s, but not only)
Either the question is too simple or just dumb, or it requires a lot of explanation ...
Nobody to give me some clues?
Nobody to give me some clues?
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Help with Trainer-Input (Radiomaster TX16s, but not only)
Or nobody reading this knows!
I don't have a T16S so I don't know (and I use erskyTx anyway).
Mike
I don't have a T16S so I don't know (and I use erskyTx anyway).
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: Help with Trainer-Input (Radiomaster TX16s, but not only)
Just want to popup this quetion and add another option: bluetooth. Inside the TX16S there is a place to attach a BT module. Has anyone information an this? Which module type? Can this be trainer input? How to use in general?
Re: Help with Trainer-Input (Radiomaster TX16s, but not only)
There is no SBUS decoding on colorlcd radio currently. The BT space is for an Horus BT module, but that does n't work great. On TX16S, best option is multi trainer
Re: Help with Trainer-Input (Radiomaster TX16s, but not only)
If I understand you correctly, there is no SBUS input for the TTL serials? A bit strange, because I can select this option.
What do you mean with multi-trainer? Feed SBUS on the module tray pin 2 (usually used for telemetry)?
Do you have any information to LUA-serialRead() ? (see other question I posted already).
Thanks!
What do you mean with multi-trainer? Feed SBUS on the module tray pin 2 (usually used for telemetry)?
Do you have any information to LUA-serialRead() ? (see other question I posted already).
Thanks!
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Help with Trainer-Input (Radiomaster TX16s, but not only)
Multi-trainer is where you use both an internal and an external multi-protocol module. Set the protocol on the external module to be one of the "receive" protocols, e.g. FrSky_Rx. Bind this to another Tx, then the control data from the other Rx will be the trainer input data for the T16.
Mike
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: Help with Trainer-Input (Radiomaster TX16s, but not only)
Thanks Mike, That I get manged tu use.MikeB wrote: ↑Fri Jun 26, 2020 4:44 pm Multi-trainer is where you use both an internal and an external multi-protocol module. Set the protocol on the external module to be one of the "receive" protocols, e.g. FrSky_Rx. Bind this to another Tx, then the control data from the other Rx will be the trainer input data for the T16.
Mike
I want an external device connect to the TX16s and feed in some channel values and use these values as inputs. The external device is another µC using his Uarts. So the TTL serial interfaces would be best.
The module tray would be another, not so optimal option. In that case I do have to generate SBUS stream for Pin2, right?
Re: Help with Trainer-Input (Radiomaster TX16s, but not only)
SBUS stream on pin2 is not supported on the color LCD radios, unlike the B/W ones this is not an uart pin.
On the RM it would end up on the exposed UARTs, due to the design you'd need an inverter, and it's untested on the Tx16S. Maybe it works "by magic" because it's similar enough to others, but nobody has looked into it at this point so maybe it doesn't yet.
You'll have to try things for yourself and report.
On the RM it would end up on the exposed UARTs, due to the design you'd need an inverter, and it's untested on the Tx16S. Maybe it works "by magic" because it's similar enough to others, but nobody has looked into it at this point so maybe it doesn't yet.
You'll have to try things for yourself and report.
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Help with Trainer-Input (Radiomaster TX16s, but not only)
The multi-protocol module sends the trainer data using the telemetry signal. When using the "MULTI_TELEMETRY" build option then the data sent includes a header indicating what the following data represents. One option for the type of data is trainer data.
Mike
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: Help with Trainer-Input (Radiomaster TX16s, but not only)
You mean Type 0x0d ?
From multiprotocol.h:
Type 0x0D RX channels forwarding
- MikeB
- 9x Developer
- Posts: 17993
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Help with Trainer-Input (Radiomaster TX16s, but not only)
Yes!
Mike
Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: Help with Trainer-Input (Radiomaster TX16s, but not only)
Ok, thanks Mike.
Looking at the other options. I checked the source code for the auxSerialInit(). and aux2SerialInit().
Here I see the menu options: "telemetry mirror", "telemetr input", and "LUA". But I don't see the "SBUS-Input" option, that is present in the menu, but not here. So, now it is clear, that this doesn't.
The option "telemetry input" is only activated if the telemety protocol is PROTOCOL_TELEMETRY_FRSKY_D_SECONDARY. But I am looking for an independant possibility, so this doesn't work either. Is this correct?
The last option is "LUA". looks like this should work with 115,2kBd. So I can use this in a mixer script, correct?
Are there any ongoing activities to implement the "SBUS-inout" option here complete? Any obstacles?
Thanks.
Re: Help with Trainer-Input (Radiomaster TX16s, but not only)
The LUA option works: a mixer script can pickup the values from the serial interface. So far, so good.
Are there any activities ongoing towards the "SBUS-Input" option? (see also aboce post).
Thanks!
Are there any activities ongoing towards the "SBUS-Input" option? (see also aboce post).
Thanks!
Re: Help with Trainer-Input (Radiomaster TX16s, but not only)
I saw a new branch called "tx16s-sbus-in". Looks like the right thing. Is it already worth trying?
-
- Posts: 7
- Joined: Tue Jul 20, 2021 3:22 pm
- Country: -
Re: Help with Trainer-Input (Radiomaster TX16s, but not only)
Hi, is there likely to be any progress on adding this to the TX16S? I was hoping to use a micro SBUS receiver attached to the appropriate pinouts on the multi bay.
Or is the MASTER/SBUS or MASTER/PPM option never going to materalise?
Re: Help with Trainer-Input (Radiomaster TX16s, but not only)
You can now provide SBUS to the bottom user ports, but a hardware inverter is needed.
-
- Posts: 7
- Joined: Tue Jul 20, 2021 3:22 pm
- Country: -
Re: Help with Trainer-Input (Radiomaster TX16s, but not only)
Thank you for responding, could you tell me how I could identify the appropriate pins, and if I can get an off the shelf hardware inverter? I'm a complete luddite, electronically speaking!!
Re: Help with Trainer-Input (Radiomaster TX16s, but not only)
GND and RX on either port.
Don't know about off the shelf inverters.
Don't know about off the shelf inverters.
-
- Posts: 7
- Joined: Tue Jul 20, 2021 3:22 pm
- Country: -
Re: Help with Trainer-Input (Radiomaster TX16s, but not only)
Thank you! I'm thinking I should start learning all about electronics but don't know where to start. I would love to understand more than just computer programming as being able to _do stuff_ with hardware is so cool.
-
- Posts: 7
- Joined: Tue Jul 20, 2021 3:22 pm
- Country: -
-
- Posts: 7
- Joined: Tue Jul 20, 2021 3:22 pm
- Country: -
Re: Help with Trainer-Input (Radiomaster TX16s, but not only)
Also is it all a bit moot given that the Trainer only allowed Jack/Multi on TX16S?
-
- Posts: 7
- Joined: Tue Jul 20, 2021 3:22 pm
- Country: -
Re: Help with Trainer-Input (Radiomaster TX16s, but not only)
I found how to switch on the SBUS Trainer mode for user ports. Puts my Tx into emergency mode immediately if I select MASTER/SERIAL though - guess that's because nothing is connected.
-
- Posts: 7
- Joined: Tue Jul 20, 2021 3:22 pm
- Country: -
Re: Help with Trainer-Input (Radiomaster TX16s, but not only)
It's stopped doing that for now, maybe a dirty ribbon connection like I've seen on other youtube reports of emergency mode.
Re: Help with Trainer-Input (Radiomaster TX16s, but not only)
TX16S trainer port:
1 3.5mm 3 pin standard jack of many radios WON'T WORK.
Needed: a 4 Pins 3.5mm jack with a length of 16.8 millimeters. (see attached documents) Eg: FC68122
Beware: Some 4 Pins 3.5mm jack sold are TOO SHORT (14 millimeters) AND WON'T WORK Eg: FC68124
Hope this help few people..
Cheers
Henri
1 3.5mm 3 pin standard jack of many radios WON'T WORK.
Needed: a 4 Pins 3.5mm jack with a length of 16.8 millimeters. (see attached documents) Eg: FC68122
Beware: Some 4 Pins 3.5mm jack sold are TOO SHORT (14 millimeters) AND WON'T WORK Eg: FC68124
Hope this help few people..
Cheers
Henri
- Attachments
-
- FC68124.JPG
- (119.49 KiB) Not downloaded yet
-
- FC68122C.JPG
- (103.6 KiB) Not downloaded yet