SBUS Trainer input

erskyTx runs on many radios and upgrade boards
ersky9x was a port of er9x for use on the sky9x board.
User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: SBUS Trainer input

Post by jhsa »

ABBC3_OFFTOPIC
what about the other platforms?? ;)
Thanks

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW

mrunx
Posts: 6
Joined: Thu Apr 21, 2016 4:13 pm
Country: -

Re: SBUS Trainer input

Post by mrunx »

MikeB wrote:I doubt it currently works.
OK.
I'll fork the OpenTx repo and will give it a try... I'm a Linux kernel & embedded C/C++ developer ;)
MikeB wrote:Are you using ersky9x or openTx on your Taranis?
I'm using OpenTx.
jhsa wrote:If so, that for sure offers a few possibilities, like dealing with 2 different trainer inputs at the same time... Good for FPVers for example...
That's exactly what I want (one buddybox & one headtracker) !
jhsa wrote:Not sure how hard it would be to implement it
We'll see ;)

I'll create a GitHub issue to start discussing it...
Or is there another channel/forum for OpenTx devs discussions?

Pablo
alll
Posts: 11
Joined: Sun Jan 08, 2017 2:51 pm
Country: -

Re: SBUS Trainer input

Post by alll »

Hello,
I tried to find a post that could "fit" my question.
I managed to use a "student" receiver (sbus or cppm both works) plugged into the trainer/master taranis (master-sbus or mater-cppm) input.
My problem is that only 4 student channels can be forwarded to the trainer/master ! ? ...

Is there a way to "add" more channels to the taranis-master coming from the another student-receiver via the cpmm/sbus input (trainer port)?

ex:
master transmitter (the one that sends the signals to the remote vehicle) : ch1...4
student (camera) transmitter via "trainer functionality" "gives" 8 additional channels to the master (more than 4 student channels!)

thanks!
manu
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: SBUS Trainer input

Post by MikeB »

All 16 channels from the student should be available, but only the first 4 are handled "automatically".
The 16 possible trainer inputs are called TR1 to TR16 on openTx (PPM1 to PPM16 on ersky9x). Any of these may be used as a mixer source.
Typically, you might do something like this:
CH5: +100% LS
R +100% TR5 switch(SH) (a replace multiplex)
So you have channel 5 controlled by the left slider, but if you pull SH on, channel 5 will be controlled by the channel 5 input (TR5) from the student.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
alll
Posts: 11
Joined: Sun Jan 08, 2017 2:51 pm
Country: -

Re: SBUS Trainer input

Post by alll »

Excellent, ok, missed the input namings "TRx",
Thanks!
manu

User avatar
ShowMaster
Posts: 4327
Joined: Thu Dec 29, 2011 3:44 am
Country: -
Location: Los Angeles, CA USA

SBUS Trainer input

Post by ShowMaster »

It’s been awhile since anything was posted here but I have a question Mike.
If I want to use a HK Orange 616 receiver, postage stamp size with cppm out, to bind it one shorts the cppm pin to ground. To add a bind button and use it, I’ll also be shorting pin 2 heartbeat pin to ground. Would I want to add some resistance in series with pin 2 and the rx cppm out,bind button at the receiver, to prevent shorting pin 2 to a ground?
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: SBUS Trainer input

Post by MikeB »

No problem. The heartbeat input on pin 2 is buffered by a diode and a transistor and there is no problem to shorting it to ground.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
ShowMaster
Posts: 4327
Joined: Thu Dec 29, 2011 3:44 am
Country: -
Location: Los Angeles, CA USA

Re: SBUS Trainer input

Post by ShowMaster »

Excellent news, you’re the tech google as far as I’m concerned!
One other clarification, should this also be true for the Taranis and Qx7?
I may swap my dsmx receiver or diy module around for others to try as a Frsky/Spektrum wireless trainer option.


Thanks as always.


Sent from my iPhone using Tapatalk Pro
User avatar
ShowMaster
Posts: 4327
Joined: Thu Dec 29, 2011 3:44 am
Country: -
Location: Los Angeles, CA USA

SBUS Trainer input

Post by ShowMaster »

So D5 and R73 10k are the diode and resistor on the plus your referencing to?
If so, I understand even more.
As
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: SBUS Trainer input

Post by MikeB »

Yes, those are the devices, the resistor pulls up to 3.3V, the input signal pulls that down via the diode.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
ShowMaster
Posts: 4327
Joined: Thu Dec 29, 2011 3:44 am
Country: -
Location: Los Angeles, CA USA

Re: SBUS Trainer input

Post by ShowMaster »

Got it, understand it, thanks for the explanation of what they do.



Sent from my iPhone using Tapatalk Pro
CatRovacer
Posts: 51
Joined: Tue Nov 14, 2017 11:53 am
Country: Russian Federation

Re: SBUS Trainer input

Post by CatRovacer »

Whether it is possible to control the slave transmitter by the SBUS which is connected other end to the receiver. Of course, we control the receiver from another transmitter.
Why is it necessary? To verify the reliability of the connection (Range Test) of the new receiver-transmitter alone, without friends.
good food & warm summer
Helle
Posts: 577
Joined: Sat Jul 21, 2012 7:08 am
Country: -

Re: SBUS Trainer input

Post by Helle »

Yes, Pin 2 is Heartbeat signal an Output Impuls

But at Hours (X10 and X12??) this pin 2 has no function,
because at HB R1 Resistor 500 Ohm next to the Pin 2 is not soldered
so, no input, no output at Pin 2

at X9E, X9D+ it works
at X7 don´t know
User avatar
ShowMaster
Posts: 4327
Joined: Thu Dec 29, 2011 3:44 am
Country: -
Location: Los Angeles, CA USA

Re: SBUS Trainer input

Post by ShowMaster »

if soldered in, will R1 allow the pin to be used like it is on the X9D/+ and X7?
I'm assuming the plan is to use only the Bluetooth wireless trainer in the X10-X12, but report seem to indicate it's not reliable?
Yes pin 2 does work on my non S X7, can't say for the X7S?
Looks like Frsky is going in many directions with each version tx? Too bad as many of these options work well and offer many DIY solutions, the beauty of the OpenSource concept they embraced by allowing ERSKY9x and OpenTX to be used as well as FrOS.
User avatar
Kilrah
Posts: 11108
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: SBUS Trainer input

Post by Kilrah »

The reason there is no SBUS input on pin 2 on Horus is that the MCU pin it's connected to is not a serial port RX capable pin like on Taranis. Nothing to do with a resistor.
User avatar
ShowMaster
Posts: 4327
Joined: Thu Dec 29, 2011 3:44 am
Country: -
Location: Los Angeles, CA USA

Re: SBUS Trainer input

Post by ShowMaster »

Bummer! I planed on buying a x10 or x10S as soon as Frsky settles down on the release tweaking.
So if the Bt wireless trainer is truly a bust, and there still is a trainer and module port, then back to a Linker and cppm receiver setup like this?

Image


Sent from my iPhone using Tapatalk Pro
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: SBUS Trainer input

Post by MikeB »

Well I have driver code for a software driven serial input port in ersky9x. As long as the pin is connected to a timer, which it is, then that driver should allow the heartbeat input to operate as a SBUS input.

Mike
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
interestingfellow
Posts: 213
Joined: Tue Jun 16, 2015 2:05 am
Country: United States
Location: durham, nc

Re: SBUS Trainer input

Post by interestingfellow »

I've read the thread, but I'm not sure.
Where on the x7 does one plug in the s.bus for the trainer?
User avatar
Kilrah
Posts: 11108
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: SBUS Trainer input

Post by Kilrah »

2nd pin from top.
interestingfellow
Posts: 213
Joined: Tue Jun 16, 2015 2:05 am
Country: United States
Location: durham, nc

Re: SBUS Trainer input

Post by interestingfellow »

in module bay? (EDIT > yes, as the pinout below (from the link Kilrah provided in the next post, Thank You!))

1 OUT PPM/PXX/DSM2/DSMX/SBUS/Serial control signal
2 HEARTBEAT SBUS/CPPM trainer input
3 BATT Battery voltage (software switched)
4 GND Ground
5 SPORT Telemetry in/out (common with internal module), Crossfire control and telemetry
Last edited by interestingfellow on Mon Nov 19, 2018 11:49 pm, edited 2 times in total.
User avatar
Kilrah
Posts: 11108
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: SBUS Trainer input

Post by Kilrah »

interestingfellow
Posts: 213
Joined: Tue Jun 16, 2015 2:05 am
Country: United States
Location: durham, nc

Re: SBUS Trainer input

Post by interestingfellow »

THANK YOU!
LG965
Posts: 1
Joined: Fri Sep 23, 2022 5:53 pm
Country: -

Re: SBUS Trainer input

Post by LG965 »

Hello everybody. I was looking for a way to connect my friend's taranis x9lite (slave) radio, to my taranis x9d 2019se (master), without using cables.
I was thinking of connecting an xm (sbus) receiver in the module bay using 3 of the 5 connectors according to the diagram above.
That is, using from above:
pin 2 sbus
pin 3 positive
pin 4 gnd

What do you say it also works on the x9d 2019se or the pinout has changed?

Post Reply

Return to “erskyTx (was ersky9x)”