Set up Failsafe on EzUHF & OpenTX

The aircraft must be configured properly to ensure it responds as desired to loss of signal. If this step is not performed and you get out of range, the octorotor will crash.

First important read is the Failsafe Wiki: Configuring RC Failsafe

I am using a FlySky TH9X with the OpenTX firmware installed so the following wiki is also useful for background but steps are different since I am using EzUHF for the radio instead of stock: Turnigy 9x / FlySky 9x FrSky Mod

Most operators use the throttle channel to indicate failsafe however on the EzUHF, you can configure all the channels to any condition during loss of signal so I chose to use my 2-pos Assist/Mission/Return switch so I can keep full dynamic range on the throttle channel and have more margin between the operational level and the failsafe level. To set this up, follow these steps:

1. Set channel range to 100%
  1. Go to the MIXER settings (press - long and go to page 5/9 using +/-) and look up to what channel your 2pos switch is set (channel 8 for me)
  2. Go to the LIMIT settings (press - long and go to page 6/9 using +/-) and verify that the range of the switch channel goes from -512 to 512

2. Program failsafe

- With TX and RX on and bound, Flip the switch down and confirm that the Assist/Mission/Return switch is reporting 1900-2100 in the RC calibration page on QGroundControl. Press the Failsafe/Bind button on the EzUHF TX until you hear it beep several times. This programs the EzUHF RX to output the current values of all channels in the event of signal loss.

3. Reduce FS channel range to 50%
  1. Go back to the LIMIT settings on the TX(press - long and go to page 6/9 using +/-) and set the range of the switch channel to -512 to 0. This configures that channel to output the mid level as the maximum so the failsafe level you just programmed in the RX will never be issued from the TX and cause false failsafe entry.

4. Check RC failsafe
  1. Open QGroundControl and connect to your PX4.
  2. Goto Config → Radio Calibration and perform the calibration if not already performed. Due to the calibration behavior below, there is no point to re-calibrating it since you have to manually calibrate the switch.
  3. At the time of this wiki, the RC calibration treated 2-pos switches differently - preventing operation with only half the range. To manually calibrate it, you will need to take note of the new max and min outputs of the 2-pos failsafe switch by toggling the switch on the TX and recording the value in the Config → Radio Calibration page. For me, the values were 992 and 1496.
  4. Test failsafe by turning off the transmitter. The 2-pos switch should reflect the 1900-2100 value established in step 2.
5. Correct calibration
  1. In QGroundControl go back to the Flight tab and make sure Onboard Parameters is selected under Tool Widgets
  2. Expand the RC8 section (or whichever channel you have the 2-pos switch mapped to)
  3. set RC8_MAX to the max value recorded in step 4 (1496 for me)
  4. set RC8_MIN to the min value recorded in step 4 (992 for me)
  5. set RC8_TRIM to the median value recorded in step 4 = (max+min)/2 (1244 for me)
  6. Click Set to send the new values to the PX4
6. Configure Failsafe threshold
  1. In QGroundControl stay in the Flight tab
  2. Expand the RC section
  3. Set RC_FS_CH to 8 (2-pos switch channel)
  4. Set RC_FS_THR midway between the max operations level (1496) and the Failsafe level (2012). For me that was (1496+2012)/2 = 1754
  5. Set RC_FS_MODE to 1 (this tells PX4 to consider anything higher than RC_FS_THR as failsafe)
  6. Click Set to send the new values to the PX4
  7. Click Write (ROM) to permanently store the new values
7. Test Failsafe
  1. In QGroundControl make sure Info View is selected under Tool Widgets
  2. Select the Messages Tab in the Info View
  3. Turn off Transmitter
  4. Check to ensure a “CRITICAL:RC SIGNAL LOST” message appears
  5. Turn Transmitter back on
  6. Check to ensure a “RC signal regained” message appears
Translations of this page:


Quick Links

QR Code: URL of current page