APM RSSI 3.3V input

3689559023?profile=original

For some time I wanted to add ability to provide RSSI from FrSky receiver to APM.

RSSI_PIN parameter works fine for that however some of receivers such as mine FrSky D8R-XP outputs 0 - 3.3 V. For that purpose I've added new param and called it RSSI_RANGE.
This was also issue requested before: https://github.com/diydrones/ardupilot/issues/648
After voltage rescaling it works. rxrssi is shown in scale 0-100.

And added ability to rescale in params:

3689558933?profile=original

Here few pictures:

3689559042?profile=original

  

I've used 4.7k resistor and 10uF capacitor to filter pulse signal coming from receiver's RSSI output.

3689558942?profile=original

3689559057?profile=original

Hope this helps anyone.


Lukasz

E-mail me when people leave their comments –

You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • This is the rx working in this way, the MP just processes the input data. I had a similar problem - my rx gives the ~1V as min and 2V as max and when it off the value jumps so I made the voltage level convertor and realise program filter which analyzes the data for 1 second and calculating the mean value, so I get the refresh rate of 1sec and some protection from short spikes of the voltage.

  • Still wait for possibility to set the min and max voltage value as rssi min and max to configure rssi out with MP for proper data displaying.

    Chris Mavrakis
    Currently there is to ways: 0-3.3V and 0-5V corresponds to 0-100%. If your rssi voltage from 0 to >3.3V than the divider will help.

  • There is no arducopter 3.2 yet. In 3.1.2, RSSI_RANGE is a Pixhawk only feature.

  • RSSI_RANGE on arduplane is present on MP 1.3.0.

  • Hi.
    I use RX700LR and it give me the ~1V as min and ~2V as max RSSI value. After I set the 2V in RSSI_RANGE, it is ok for the 100% signal but when the RX is off I see the ~50%. How can I tune the MP to proper data displaying. I this is not possible now, it will be great to see this feature (ability to set the min and max voltage value) in future. Also the MP don't show me the "rxrssi" at the green screen, but it show at "status" parameters. I use the latest version 1.2.97.

  • Hello.....I have a Frsky Delta 8 rx which can output PPM on ch1 to my APM 2.6 ch1.  The control link is working great.

    The rx can also ouput PWM rssi, but I am having trouble getting it to appear on MP hud.  MP is current at 1.20.97 and APM is current at 2.78b.  I have RSSI_PIN=0 and RSSI_RANGE=3.3.  When I measure the signal-to-ground volts on rx ch2 signal pin it is pretty constant at ~2.85v.  If I turn the tx off the volts on ch2 pin drop off sharply to around .03-.07.  I realize this is a PWM output and Frsky manual says specifically that is is a "Digital PWM" output.  So I have read many many post on DIY and other internet sites that show various "RC filters" and "digital-to-analog converters".  I have tried several combinations of resistors/caps and schematics (not tried op-amps yet since not getting signal from green light).  I simply cannot get the "rxrssi" field and any rssi value to show up on MP hud, even if I feed 3v straight to the A0 or A1 signal pin.

    Regardless of whether I am getting the correct rx rssi output from Delta 8 rx, or whether I am using the correct rc filter or dax, I simply dont understand why the hud rxrssi field doesnt show up on the hud when a constant analog 3.24v dc applied to apm A0 or A1 signal pin.  Any help is appreciated.  I know I must be overlooking something.

    Thx...

    Regards

    Mike

  • By the way, this circuit works with the Pixhawk if you plug it in the SB input and set RSSI_PIN to 103 (ArduCopter 3.1.2-rc1). RSSI_RANGE set to 3V

    It could be added to the Wiki

  • In my opinion it make more sense to put filter closer to apm , that way you don't have voltage drop due to wire length, and there is less chance for interference. In general you should keep this wire-circuit as short as possible. 

  • @p.r. as detailed in the image above, the resistor is closer to the receiver, capacitor connected in parallel after the resistor, closer to the APM.

  • I just wonder if the "rssi range" will be in arduplane  ?

    fingers crossed

    cheers darren

This reply was deleted.