Page 1 of 1

RSSI on a ppm channel

Posted: Sun Aug 23, 2015 6:04 am
by zector
Hi.

I have a 9xr and I'm trying to get the RSSI level on a ppm channel. I have found info on how to do this with a Taranis with opentx, but cant make it work on my 9xr with a frsky DJT module.

Can this be done?

Re: RSSI on a ppm channel

Posted: Sun Aug 23, 2015 7:21 am
by MikeB
openTx or er9x firmware on the 9XR?

Mike.

Re: RSSI on a ppm channel

Posted: Mon Sep 07, 2015 8:11 pm
by Elst
Hi, I have a 9XR Pro running OpenTx 2.1.2, currently on nightly 444. I've been trying for a few days to set up RSSI over a PPM channel to feed back to a Naze32 then hopefully to a MinimOSD running MWOSD 1.5. I've not had any luck feeding PWM RSSI from a D4R-ii into either the Naze or Minim. Is there any documentation available to aid in setting up RSSI over PPM? Thanks.

Re: RSSI on a ppm channel

Posted: Mon Sep 07, 2015 9:49 pm
by Kilrah
Create an Input with RSSI as source then map that to a free channel, that will give you a channel that varies with RSSI.
Then whatever has to be done on the FC and whether scale/offset adjustments are needed... no idea, sorry.

Re: RSSI on a ppm channel

Posted: Tue Sep 08, 2015 8:44 am
by Elst
It's the creating an Input part that I seem to be struggling with. I only have Rud, Ele, Thr and Ail listed on the Inputs tab in Companion. If I try to add an input on this page it just creates what appears to be a sub-setting of either the Rud, Ele, Thr and Ail inputs already defined. The only tab in which I can select RSSI as a source is Logical Switches. But I don't seem to be able to do anything with that from there. What am I missing?

Thanks.

Re: RSSI on a ppm channel

Posted: Tue Sep 08, 2015 9:13 am
by Kilrah
rssi.png

Re: RSSI on a ppm channel

Posted: Tue Sep 08, 2015 9:21 am
by Elst
Any idea why I'm missing the additional input channels?

I've tried creating a new model and been through all the options, but this is all I see:

Image

and when editing:

Image

Re: RSSI on a ppm channel

Posted: Tue Sep 08, 2015 9:59 am
by Kilrah
What firmware and companion versions are you using? Looks like companion 1.52.

This feature is only available on version 2.0 and later.

Re: RSSI on a ppm channel

Posted: Tue Sep 08, 2015 10:06 am
by Elst
I'm currently on 2.1.2N445, but this happens with the 2.1.2 release and any of the 2.1.2 nightlies I've tried from the passed week.

Re: RSSI on a ppm channel

Posted: Tue Sep 08, 2015 10:17 am
by Kilrah
Woops, missed the fact you had a 9XR-Pro.

Sorry then, that's currently only supported on the Taranis.

Re: RSSI on a ppm channel

Posted: Tue Sep 08, 2015 10:20 am
by Elst
Ahh bummer, looks like I'm going to put that filter together after all. Thanks for your help.

Re: RSSI on a ppm channel

Posted: Tue Sep 08, 2015 10:36 am
by Rob Thomson
As a thought. ...

If you flight controller expects a voltage... say 0-5v...

A small DC speed controller can be made to deliver the voltage using the input from the channel as the source.

Rob

Re: RSSI on a ppm channel

Posted: Sun Nov 01, 2015 5:28 am
by roscored1000
https://www.youtube.com/watch?v=d71VdSQmpJo

Is this any benefit? I would like to see RSSI on OSD but not interested in seeing it on 9xr pro screen, is the Transmitter able to do this?

Re: RSSI on a ppm channel

Posted: Sun Nov 01, 2015 9:56 am
by MikeB
Are you running openTx on your 'PRO, or ersky9x (stock) firmware?

Mike.

Re: RSSI on a ppm channel

Posted: Sun Nov 01, 2015 4:43 pm
by Elst
Depending on your receiver and what OSD you're using you could put together something like this: https://code.google.com/p/minoposd/wiki/AnalogRSSI

Re: RSSI on a ppm channel

Posted: Mon Nov 02, 2015 6:55 am
by roscored1000
MikeB wrote:Are you running openTx on your 'PRO, or ersky9x (stock) firmware?

Mike.
Hi I am using the stock firmware,r204, havent wanted to fiddle too much with firmware.

Re: RSSI on a ppm channel

Posted: Mon Nov 02, 2015 9:31 am
by MikeB
OK, RSSI isn't available directly as the source of a mix, but you can 'route' it there by using a Scaler. Scalers as at the bottom of the Globals menu.
Just set up a Scaler (SC1) with RSSI as the source, and set the multiplier to 10. The multiplier is needed as the input to a mix is really a value from -1024 to +1024, percentages are used to make it easier to understand.
Now follow the instructions above, but use SC1 as the source of the mix.

Mike.

Re: RSSI on a ppm channel

Posted: Mon Nov 02, 2015 10:12 am
by jhsa
So, let me see if I understand.. An RSSI of zero is actually -1024? and An RSSI of 100 is 1024??

Thanks

João

Re: RSSI on a ppm channel

Posted: Mon Nov 02, 2015 11:08 am
by Kilrah
When an RSSI of 0 is received, you need to scale that to -1024 if you want the PPM output to be -100%.

Got it? ;)

Re: RSSI on a ppm channel

Posted: Mon Nov 02, 2015 11:17 am
by jhsa
I guess that answers my question above. Thanks.
Now if I got it or not, it is another matter :D

Re: RSSI on a ppm channel

Posted: Mon Nov 02, 2015 11:23 am
by MikeB
The video shows how to use a value from 0 to 100% as input so that is what I specified the Scaler to do.

Mike.

Re: RSSI on a ppm channel

Posted: Fri Mar 18, 2016 2:24 am
by yanervous
So I got the scaler setup just fine but in the video it shows mixing at a weight of 200 and offsetting it back down to 100 but the 9xr pro only weights up to 125 and even at that knocks it down to 107 when you exit the menu. So what is happening is its reading the rssi on the correct channel but not the correct scale. When its 100% on the radio it shows 100% on the FC but when its down to 80% on the radio the FC shows more like 94%

Re: RSSI on a ppm channel

Posted: Fri Mar 18, 2016 11:06 am
by MikeB
Please post your settings for the scaler and the mixer for this.

Mike.

Re: RSSI on a ppm channel

Posted: Fri Mar 18, 2016 1:11 pm
by yanervous
I actually got it working right just before bed last night. I set the scaler up to 20 then in the mixer i set the weight to 100 and the offset to -100 and the readings are all perfect. Not sure if this is the right way to do it as your much deeper into it than I am but I get perfect readings on the FC. Thanks for the thread here though. It is the only place to find info on this. Was thinking of making a Youtube video so there is a bit more data out there to help people.

Re: RSSI on a ppm channel

Posted: Fri Mar 18, 2016 1:37 pm
by MikeB
That seems a perfectly good way to do it.

Mike.

Re: RSSI on a ppm channel

Posted: Sat May 14, 2016 12:13 am
by yaoweic
Hi guys, I have a Turnigy9x running on OpenTX 2.0.19. I have a FrSky DIY DHT and D4R-ii receiver.
Looking at Kilrah's comment, just to confirm I cannot have RSSI as a source on a spare channel in the Turnigy9x? I tried the same steps as Elst, could not find RSSI as a source for the channel.
If the above is true, am I right in saying I have to follow steps outlined by MikeB?
I am actually interested to put RSSI on my Minimosd Micro, however it does not communicate well with D4R-ii, I read that it needs some form of converter/filter in between D4R-ii and Minimosd Micro's RSSI input. I was recommended to follow the same method as a Taranis, creating RSSI on a spare channel, then output it as RSSI from FC on MWOSD.

Thanks

Re: RSSI on a ppm channel

Posted: Sat Aug 12, 2017 6:19 am
by Matevz25
It works also on latest er9x 9x with telemetry mode.
Rssi on osd is same as on lcd of tx😀.