1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 05:15:25 +03:00

Merge pull request #9460 from noah95/rssi-scale-doc

Rssi scale documentation
This commit is contained in:
Michael Keller 2020-02-09 08:02:41 +13:00 committed by GitHub
commit be016dc794
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,7 @@ Note: Some systems invert the RSSI ( 0 = Full signal / 100 = Lost signal). To co
set rssi_invert = ON set rssi_invert = ON
``` ```
## RSSI_SCALE setup method: ### RSSI_SCALE setup method
- set rssi_scale = 100. The displayed percentage will then be the raw ADC value. - set rssi_scale = 100. The displayed percentage will then be the raw ADC value.
- turn on RX (close to board). RSSI value should vary a little. - turn on RX (close to board). RSSI value should vary a little.
@ -63,3 +63,26 @@ set rssi_invert = ON
FrSky D4R-II and X8R supported. FrSky D4R-II and X8R supported.
The feature can not be used when RX_PARALLEL_PWM is enabled. The feature can not be used when RX_PARALLEL_PWM is enabled.
## RSSI_SCALE setup method
To calculate the rssi offset and scale, check the rc value at full signal (`rssi_fullsig`) and at almost no signal strength (`rssi_nosig`).
Then, calculate the offset and scale values using the following formula:
```
rssi_offset = 1000-(rssi_nosig) / 10
rssi_scale = 100 * 1000 * (rssi_fullsig - rssi_nosig)
```
Examples are:
| RC System | RC value at full strength | RC value at no strength | `rssi_offset` | `rssi_scale` |
|:----------|:--------------------------|:------------------------|:--------------|:-------------|
| Graupner | `1900` | `1100` | `-10` | `125` |
Then set these values via CLI:
```
set rssi_offset = -10
set rssi_scale = 125
```