Taranis larger output values Frsky X4R SBUS (988-2012µSec)

General Help and support for the Taranis Radio.
alll
Posts: 11
Joined: Sun Jan 08, 2017 2:51 pm
Country: -
Has thanked: 3 times

Taranis larger output values Frsky X4R SBUS (988-2012µSec)

Postby alll » Mon Jan 09, 2017 10:23 pm

Hi,

I am using this arduino library to read the sbus stream from a frsky x4r receiver.
On the output screen of the taranis i see min-max:988-2012µSec
On the arduino i get 172-1811 (sbus range 0-2048)

I tried to get a larger/wider output range on the taranis (larger than 988-2012µSec), but could not get it done, they are limited to -100 +100 ...
Could you give me some hints?

Thanks,
manu

https://github.com/zendes/SBUS

User avatar
MikeB
9x Developer
Posts: 13387
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset
Has thanked: 91 times
Been thanked: 2326 times

Re: Taranis larger output values Frsky X4R SBUS (988-2012µSec)

Postby MikeB » Tue Jan 10, 2017 12:15 am

Turn "extended limits" on, then change the limits on the channels.

Mike.
ersky9x/er9x developer

alll
Posts: 11
Joined: Sun Jan 08, 2017 2:51 pm
Country: -
Has thanked: 3 times

Re: Taranis larger output values Frsky X4R SBUS (988-2012µSec)

Postby alll » Tue Jan 10, 2017 9:20 pm

MikeB wrote:Turn "extended limits" on, then change the limits on the channels.

Mike.


To be sure i understand. :oops:

I see the µsec on the output screen of the taranis (throttle): stick calibration previously done!

I need to set the subtrim, min...max of the taranis output to 2, -121...129 and the corresponding µsec on the taranis shows 881...1500...2160µsec
to finally get 0...1024...2047 values on sbus-receiver

What is actually send to the receiver, are there "mappings" done?

I also see that the min-min and max-max output values can be set to -150...+150, moving the stick delicately, i still have the 1µsec sensitivity/precision/accuracy. (732...2268µsec)

It would be nice to tell opentx before calibration that he should map the outputs (all) to min...max values, here in my case 0...2047 (sbus min-max)
There are too many places that alter the "servo" output:
    Input weight
    Mix weight
    Output min-max

what would be the easiest approach to get 0...2047 on the receiver sbus?

xxxxx thanks
manu

User avatar
MikeB
9x Developer
Posts: 13387
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset
Has thanked: 91 times
Been thanked: 2326 times

Re: Taranis larger output values Frsky X4R SBUS (988-2012µSec)

Postby MikeB » Tue Jan 10, 2017 10:24 pm

Have you turned "extended limits" on?

Mike.
ersky9x/er9x developer

alll
Posts: 11
Joined: Sun Jan 08, 2017 2:51 pm
Country: -
Has thanked: 3 times

Re: Taranis larger output values Frsky X4R SBUS (988-2012µSec)

Postby alll » Wed Jan 11, 2017 6:06 am

MikeB wrote:Have you turned "extended limits" on?

Mike.


Yes, i did ? Why ? After i did, i can change the output mi..max to -150...150 to get (732...2268µsec)

User avatar
Kilrah
Posts: 8717
Joined: Sat Feb 18, 2012 6:56 pm
Country: United Arab Emirates
Has thanked: 213 times
Been thanked: 861 times

Re: Taranis larger output values Frsky X4R SBUS (988-2012µSec)

Postby Kilrah » Wed Jan 11, 2017 8:11 am

Limits is the only place you need to act if you want to extend throws.

Scaling between us and SBUS value is done in the receiver in the way Futaba decided it when they created the SBUS protocol. The whole SBUS range is never supposed to be used in normal applications and it would be considered invalid by most RC equipment.
The outputs page only displays down to 1us but the underlying resolution is higher regardless.

alll
Posts: 11
Joined: Sun Jan 08, 2017 2:51 pm
Country: -
Has thanked: 3 times

Re: Taranis larger output values Frsky X4R SBUS (988-2012µSec)

Postby alll » Wed Jan 11, 2017 9:34 pm

Hi,

Found this! ;)
viewtopic.php?t=667

I made a Bluetooth transmitter-receiver "simple data-package protocol":
stick-pot->adc(12bit) ArduinoTx->(0..2047)->RxBluetooth ......... air ........ BluetoothTx->(0..2047)->RxArduino->SBus

ArduinoTx and RxArduino "know each other "bit" resolution"! ....

User avatar
Kilrah
Posts: 8717
Joined: Sat Feb 18, 2012 6:56 pm
Country: United Arab Emirates
Has thanked: 213 times
Been thanked: 861 times

Re: Taranis larger output values Frsky X4R SBUS (988-2012µSec)

Postby Kilrah » Wed Jan 11, 2017 9:44 pm

Yes but whatever you hook to SBUS will likely disable itself when you get closer than about 150 from the ends because signal is out of standard range.

alll
Posts: 11
Joined: Sun Jan 08, 2017 2:51 pm
Country: -
Has thanked: 3 times

Re: Taranis larger output values Frsky X4R SBUS (988-2012µSec)

Postby alll » Wed Jan 11, 2017 9:51 pm

Ho, good to know! So what are the min...max sbus values alowed? (150...1897) ?
will try it wit a sbus servo ...
thanks

alll
Posts: 11
Joined: Sun Jan 08, 2017 2:51 pm
Country: -
Has thanked: 3 times

Re: Taranis larger output values Frsky X4R SBUS (988-2012µSec)

Postby alll » Thu Jan 12, 2017 10:24 pm

tested :
arduino->sbus->FrskySbusServo
0..2047 works!
<0 or >2047 doesn't work!

alll
Posts: 11
Joined: Sun Jan 08, 2017 2:51 pm
Country: -
Has thanked: 3 times

Re: Taranis larger output values Frsky X4R SBUS (988-2012µSec)

Postby alll » Thu Jan 12, 2017 10:44 pm

so, what does the receiver finally get from the transmitter?

i would expect that during the bind process transmitter and receiver get to know each other. For example, the transmitter should "tell" the receiver that he will sent values from 0...2047, "a 11bit transmitter", and other useful info...

thanks,
manu

User avatar
Kilrah
Posts: 8717
Joined: Sat Feb 18, 2012 6:56 pm
Country: United Arab Emirates
Has thanked: 213 times
Been thanked: 861 times

Re: Taranis larger output values Frsky X4R SBUS (988-2012µSec)

Postby Kilrah » Fri Jan 13, 2017 8:11 am

Each manufacturer's system does it differently. Most systems just store the transmitter's unique identifier and that's it.


Return to “General help (FrSky Taranis radio)”

Who is online

Users browsing this forum: No registered users and 2 guests