All Projects → Cleric-K → FlySkyRxFirmwareRssiMod

Cleric-K / FlySkyRxFirmwareRssiMod

Licence: other
Patched firmwares for the various FlySky receivers to inject RSSI in IBUS channel 14

Programming Languages

c
50402 projects - #5 most used programming language
Makefile
30231 projects
assembly
5116 projects

Projects that are alternatives of or similar to FlySkyRxFirmwareRssiMod

BNSBoost
A simple launcher for Blade & Soul patches. Working as of the Fire and Blood game update.
Stars: ✭ 19 (-80.21%)
Mutual labels:  mod, patch
Arcticfox Config
Configuration Tool for Vape Battery Mods with Arcticfox Firmware. ☁️ 🔧 Works on MacOS and Linux.
Stars: ✭ 58 (-39.58%)
Mutual labels:  firmware, mod
MPPatch
Patch for Civilization V to allow modded multiplayer. Currently under development.
Stars: ✭ 31 (-67.71%)
Mutual labels:  mod, patch
KanColle-English-Patch-KCCP
English Patch for the original KanColle browser game, to be used with KCCacheProxy. Translates most of the game into english.
Stars: ✭ 28 (-70.83%)
Mutual labels:  mod, patch
kobopatch-patches
Patches for use with kobopatch.
Stars: ✭ 134 (+39.58%)
Mutual labels:  firmware, patch
ffapi-project
A project containing all Fast Food related APIs and other things.
Stars: ✭ 21 (-78.12%)
Mutual labels:  mod, patch
UIX-R
Ultima IX: Redemption for Morrowind and OpenMW
Stars: ✭ 32 (-66.67%)
Mutual labels:  mod
ote
ote updates a packages' go.mod file with a comment next to all dependencies that are test dependencies; identifying them as such.
Stars: ✭ 25 (-73.96%)
Mutual labels:  mod
spotfire-mods
Spotfire Mods by TIBCO Spotfire®
Stars: ✭ 39 (-59.37%)
Mutual labels:  mod
avm juischeck
Query the AVM update information services (JUIS and CATI) for product firmware updates
Stars: ✭ 21 (-78.12%)
Mutual labels:  firmware
The-Aether-II
The Aether II is the sequel to the highly popular dimension mod "The Aether" for modern versions of Minecraft.
Stars: ✭ 35 (-63.54%)
Mutual labels:  mod
advanced npc
Advanced NPC for Minetest, using mobs_redo API
Stars: ✭ 16 (-83.33%)
Mutual labels:  mod
piw5 bot warfare
The Bot Warfare mod for PlutoniumIW5
Stars: ✭ 57 (-40.62%)
Mutual labels:  mod
JoJo-s-Bizarre-Survival
A mod that adds Stands from JoJo's Bizarre Adventure to Minecraft.
Stars: ✭ 20 (-79.17%)
Mutual labels:  mod
Funtuna-Fork
a homebrew ps2 app launcher for FMCB-incompatible ps2 units
Stars: ✭ 33 (-65.62%)
Mutual labels:  mod
ME3TweaksModManager
Mod Manager for Mass Effect Original Trilogy and Mass Effect Legendary Edition
Stars: ✭ 83 (-13.54%)
Mutual labels:  mod
Yuris-Revenge
A Red Alert 2 Yuri's Revenge mod for OpenRA Engine
Stars: ✭ 127 (+32.29%)
Mutual labels:  mod
FrostyFix
A tool to fix Frosty Support with games on platforms other than Origin (EA Desktop, Epic Games Store, Steam)
Stars: ✭ 37 (-61.46%)
Mutual labels:  mod
Original-CR10-Marlin-Firmware-Source
This is the ORIGINAL Creality CR10 Firmware Source as Creality installs it.
Stars: ✭ 16 (-83.33%)
Mutual labels:  firmware
WIZ750SR
WIZnet Serial to Ethernet(S2E) module based on W7500 chip, WIZ107/108SR S2E compatible device
Stars: ✭ 13 (-86.46%)
Mutual labels:  firmware

RSSI support for FlySky receivers

Supported receivers:

  • IA6B
  • IA10B
  • X6B
  • IA6C
  • X8B
  • IA8X
  • A8S
  • 8A
  • X14S
  • Flit10 - Reported to work with the IA6B firmware. See here.
  • RX2A Pro/Pro V1 - Reported to work with the the A8S firmware. See here.

Most of these receivers have knowledge of RSSI (as it can be seen from the telemetry values at the transmitter side) but they do not make it available to the Flight Controller.

Some receivers (like A8S and 8A) do not have telemetry in their original firmware but using the code from the other receivers as reference, it was possible to implement RSSI measurement. Telemetry is not implemented.

This modification injects the Signal Strength value into one of the channels (most commonly channel 14) which is then read by the Flight Controller. All protocols (IBUS, SBUS and PPM) are supported (see below for an important note on PPM).

Signal Strength

The receivers have knowledge of Signal and Noise levels. The difference between the two is the Signal-To-Noise ratio (SNR). Additionally, on the telemetry screen at the TX side we can see that there is as SigS value which varies from 0 to 10 (10 being best signal). This is the value that is used in this mod. It is mapped to the standard channel range [1000; 2000], thus it can be easily used in BetaFlight/iNav.

In code the value actually varies between 100 (for worst signal) and 0 (best) - it seems it is flipped, divided by 10 and rounded at the TX side.

How to use

Montis has written a detailed flashing guide. You can find it here.

You can either build the images yourself or use the prebuilt ones in the build directory.

The prebuilt images have two versions each - one which injects the Signal Strength into channel 14 and one for channel 8.

You need the channel 8 version if you intend to use PPM. The reason for this is that PPM protocol (as implemented by these receivers) has only 8 channels and channel data for channels above 8 is ignored. Digital protocols (IBUS and SBUS) can use either version, but it is recommended to use the channel 14 version, because most transmitters can send only up to 10 channels, thus by using channel 14 you are not wasting one of your usable channels.

To flash the firmware you'll need a ST-Link dongle. Checkout povlhp's repo FlySkyRxFirmware for detailed instructions.

Note: If you are having problems with flashing, consider connecting also the RST (Reset) pad of the receiver to the RST pin of the ST-Link.
Also it might be better to power up the whole receiver with +5V (you can use the +5V from the ST-Link) instead of supplying just the +3.3V for flashing. GND should be connected in all cases. Never connect +5V to the +3.3V pad of the receiver.

!!!Always backup your existing firmware first!!!

Also consider replacing the four bytes at offset 0x1C00 (see the above link for details) if you want to avoid rebinding after flashing.

Note: DON'T DO THAT on the A8S and 8A receivers. They store the transmitter ID in EEPROM and it is not affected by flashing - you won't need to rebind. Offset 0x1C00 contains code in these receivers and if you modify it you'll corrupt the firmware.

Details about Signal Strength calculation

The original firmware reveals how the Signal Strength is calculated. It is based on SNR. Any value of SNR above 45dB is considered full signal. Values below 7.8dB are considered lost signal. The values in between are mapped to the percent-like Signal Strength. The mapping is non-linear. A lookup table in ROM is used. Here is how this mapping looks like in practice: snr/sigs

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].