FYI, it is very easy to display convenient live MAVLink data on your (9X/9XR/etc) radio screen using OpenTx and OpenLRSng. You can also simultaneously pass the data to Mission Planner running on your PC via a USB FTDI cable (3v3).

3691052045?profile=originalI use a 9XR radio running OpenTX compiled with EXT=MAVLINK (or installed automatically using the Companion9X app by ticking MAVLINK extension), and the latest version of OpenLRSng (Gitsly branch). I use a cheap OrangeRX Tx module ($29) in the 9XR, and OrangeRx Rx module ($19) in the plane. This gives me 433MHz RC control over the plane, as well as a MAVLink-compatible serial link (57600 baud, 19200 datarate). No need for extra XBee/3DR/RFD radios.

With this cost-saving combination, I get MAVLink data displayed on my 9XR screen (mode, nav, link, batt, GPS, etc), and by plugging a FTDI cable between my Tx module and laptop, Mission Planner also gets live flight data - normal display of flight data, maps, etc.

The upside is low cost and only the 433MHz RF channel used (no extra modem transmitting other frequencies), which also gives power consumption, weight reduction, and possible range benefits (less RF near antennas as opposed to using a separate telemetry radio).

I just thought it was a setup worth mentioning for new and budget conscious DIY-ers, or those wanting a second, less hard-core setup, such as on a slope soarer.

The original setup discussions (parts out of date now) and procedure summary is here: http://www.rcgroups.com/forums/showthread.php?t=1913501

Devices are here:
- OrangeRX LRS UHF Tx module 100mW (~$15): http://www.hobbyking.com/hobbyking/s...095&aff=913237

- OrangeRX LRS UHF Tx module 1W (~$30): http://www.hobbyking.com/hobbyking/store/uh_viewitem.asp?idproduct=43852&aff=913237

- OrangeRX LRS UHF Rx (~$15): http://www.hobbyking.com/hobbyking/s...096&aff=913237
- Turnigy 9XR radio (~$50): http://www.hobbyking.com/hobbyking/s...544&aff=913237

NOTE: for 9X/9XR you will need to make a few small mods to the module connector pins on the 9XR/Tx to enable bi-directional serial I/O.

Special thanks to Kha (OpenLRSng), Martin (Gitsly/OpenLRSng) and Rienk (OpenTX/MAVLink) to get this operational.

Rienk's dev thread: http://diydrones.com/forum/topics/mavlink-ardupilot-opentx-extension

Companion9X for radio firmware: http://www.open-tx.org/downloads.html

Martin's Gitsly/OpenLRSng firmware for Rx/Tx modules: https://github.com/gitsly/openLRSng

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

Join diydrones

Email me when people reply –

Replies

    • I got the main board figured out, now just need some clarification on the TX version I have as per photo and weather or not is requires modification for bi-directional MAVLink?!

      Pc1YJY

  • Hello, somebody help me ?

    I have problems with the connection speed in mission planner.
    It is extremely slow. Sometimes it is rather low considering all information.

    My configuration is as follows:

    PixHawk
    Radio Rx: DTF-UHF 1 watt receiver
    Radio Tx: HawkEye DTF UHF

    - I connect Radio tx to computer with FTDI

    - Tx and Rx of radio receiver are connected to the telemetry port #2 in PixHawk

    http://www.rcgroups.com/forums/showpost.php?p=31181180&postcoun...

    RC Groups - View Single Post - Telemetry displayed on 9XR with OrangeRx LRS Tx/Rx
    RC Groups - the most active Radio Control model community: electric and fuel rc airplanes,rc helis,rc boats and rc cars. Features discussion forums,…
  • great work dear :) thanks for sharing 

  • Hi, 

    I've just finished with success this mod with hobbyking Orange OpenLRS 1W UHF with Orange OpenLRS RX 9 channel 100 mW- APM 2.5 and 9XR.

    (http://www.hobbyking.com/hobbyking/store/__43852__OrangeRX_Open_LRS...

    (it's the same mod as for the 100mW orange UHF TX - just remove R2 and add wire between RF and TX )  

    It's works quite good but screen about telemetry need's to but improve.

    Congrats for everybody in this great project !

    I would like to help if I can. 

  • This is really awesome!

    They came out with a 1W version, so long range is possible! Unfortunately the RX only has a 100mw transmitter so upgraded antennas are a must :/

  • Why is the mod required on the 9xr?

    It seems like the firmware could just use the signal coming in on the RF pin (that's completed in the OpenLRS TX module mod)

  • Update to this guide: 

    It presently seems much better to use the Gitsly branch of OpenLRSng on your RX/Tx modules. Get the latest Arduino code here: https://github.com/gitsly/openLRSng . Thanks to Martin for maintaining that code. I get about double the telemetry bandwidth under same conditions as compared to Kha's main trunk code. Martin has incorporated all functionality of the trunk, but has more thorough MAVLink support.

    In summary:

    - Do the above hardware mods to 9XR and ORX OpenLRS modules.

    - On OpenLRS Rx/Tx compile and run this firmware: https://github.com/gitsly/openLRSng

    - On 9XR use OpenTX default binary firmware provided by the latest release Companion9x app (make sure to tick "MAVLINK" extension box when you click preferences, and it will auto download firmware and offer to flash it): http://www.open-tx.org/downloads.html 

    There is currently a small issue with display of some parameters on the 9XR, but this should be sorted shortly.

    There is no need to use Ctrl-T in Mission Planner to skip normal APM connection - normal connection works fine now!

    I use Baud 57600 on APM telemetry port, OpenLRS Tx, and 9XR radio. Make sure to set baudrate in 9XR/OpenTX radio settings to 56700 also (long press left from main screen). However on OpenLRS,  "datarate" is set to 2 (19200) to leave sufficient RC bandwidth using old-fashioned CLI terminal method. I believe Kha's Chrome configurator can also be used to set that parameter. In any case, I use the CLI method to set the following params:

    RF_POWER 7

    CARRIER_FREQUENCY 435000000

    CHANNEL_SPACING 5

    HOPLIST 22,10,19,34,49,41

    DATARATE 2

    BAUDRATE 57600

    SERIAL_DOWNLINK 29

    It's really quite impressive how rapidly the data is updated on Mission Planner in this manner. Pretty much same experience as using XBees/etc radio modems. Saves power, weight, $, and reduces RF usage/interference. And you get to see the telemetry reports (eg current mode) displayed on the 9XR, not just Mission Planner :)

    gitsly/openLRSng
    openLRSng (with extended telemetry support). Contribute to gitsly/openLRSng development by creating an account on GitHub.
    • How do you compile the firmware for gitsly's branch of openLRSng?

    • I couldnt get it to work. only 19200 works with 9x. Any idea how to fix this?

    • Thanks for the excellent post! What hardware modifications are you referring to, though? You say "the above hardware mods" but don't explicitly reference them anywhere.

This reply was deleted.

Activity