SBUS Trainer input

ersky9x is a port of er9x for use on the sky9x board.
User avatar
jhsa
Posts: 18126
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: SBUS Trainer input

Post by jhsa » Tue May 03, 2016 9:38 am

Off Topic
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 » Tue May 03, 2016 2:05 pm

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 » Sun Jan 08, 2017 3:13 pm

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: 15799
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: SBUS Trainer input

Post by MikeB » Sun Jan 08, 2017 5:08 pm

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.
ersky9x/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 » Sun Jan 08, 2017 8:36 pm

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


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

SBUS Trainer input

Post by ShowMaster » Wed Jan 31, 2018 12:15 am

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: 15799
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: SBUS Trainer input

Post by MikeB » Wed Jan 31, 2018 10:03 am

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
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

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

Re: SBUS Trainer input

Post by ShowMaster » Wed Jan 31, 2018 6:38 pm

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: 4319
Joined: Thu Dec 29, 2011 3:44 am
Country: -
Location: Los Angeles, CA USA

SBUS Trainer input

Post by ShowMaster » Wed Jan 31, 2018 7:02 pm

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: 15799
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: SBUS Trainer input

Post by MikeB » Wed Jan 31, 2018 11:04 pm

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

Mike
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

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

Re: SBUS Trainer input

Post by ShowMaster » Thu Feb 01, 2018 1:43 pm

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



Sent from my iPhone using Tapatalk Pro

CatRovacer
Posts: 25
Joined: Tue Nov 14, 2017 11:53 am
Country: Russian Federation

Re: SBUS Trainer input

Post by CatRovacer » Thu Feb 01, 2018 7:30 pm

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: 572
Joined: Sat Jul 21, 2012 7:08 am
Country: -

Re: SBUS Trainer input

Post by Helle » Fri Feb 02, 2018 5:53 pm

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: 4319
Joined: Thu Dec 29, 2011 3:44 am
Country: -
Location: Los Angeles, CA USA

Re: SBUS Trainer input

Post by ShowMaster » Fri Feb 02, 2018 6:38 pm

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: 9662
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: SBUS Trainer input

Post by Kilrah » Fri Feb 02, 2018 8:40 pm

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: 4319
Joined: Thu Dec 29, 2011 3:44 am
Country: -
Location: Los Angeles, CA USA

Re: SBUS Trainer input

Post by ShowMaster » Fri Feb 02, 2018 8:51 pm

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: 15799
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: SBUS Trainer input

Post by MikeB » Fri Feb 02, 2018 10:03 pm

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
ersky9x/er9x developer
The difficult we do immediately,
The impossible takes a little longer!

Post Reply

Return to “ersky9x”