-
Notifications
You must be signed in to change notification settings - Fork 48
Home
Eric Stockenstrom edited this page Jun 2, 2018
·
40 revisions
Welcome to the MavlinkToPassthru wiki BETA v0.29
This program is free software. You may redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation. See here <http://www.gnu.org/licenses>
The application was written in the hope that it will be useful, but it comes
without any warranty or implied warranty of merchantability or fitness
for a particular purpose
*****************************************************************************
Inspired by original S.Port firmware by Rolf Blomgren
Written from scratch by Eric Stockenstrom - April/May 2018
Acknowledgements and thanks to Craft and Theory (http://www.craftandtheoryllc.com/) for
the Mavlink / Frsky Passthrough protocol
Thank you to yaapu for advice on working with his excellent LUA scrip
Thank you florent for advice on working with my FlightDeck
*****************************************************************************
Whereas the Orange (and some other) UHF Long Range RC and telemetry radio systems deliver
19.2kb/s two-way Mavlink link, the FrSky Taranis and Horus hand-held RC controllers expect
to receive FrSky S.Port protocol telemetry for display on their screen. While excellent
firmware is available to convert Mavlink to the native S.Port protocol, the author is
unaware of a suitable solution to convert to the Passthrough protocol.
Recently some excellent Lua scripts for Taris displays, like this one by yaapu
https://github.com/yaapu/FrskyTelemetryScript
This firmware converts APM or PX4 Mavlink telemetry to FrSky SPort passthrough telemetry,
and is designed to run on a Teensy 3.2, or cheap STM32F103 (with some small mods and a signal
inverter). The Mavlink procol telemetry can still be fed on to Mission Planner or other GCSs.
For now the Teensy 3.2 is prefered to the STM32 because of it's small size. It fits snugly
into the Orange LRS UHF RX/TX enclosure in the back bay of the Taranis, and requires no
external inverter.
Originally written for use with ULRS UHF, which delivers Mavlink to the back bay of the
Taranis X9D Plus to provide Frsky Passthrough compatible telemety to yaapu's outstanding
LUA script.
From v0.29 this firmware will also work with a FrSky receiver on the aircraft (say from a
Pixhawk running PX4 Pro firmware) to convert Mavlink to passthrough telemetry for display
on the Taranis. Uncomment the //#define Emulation_Enabled
Un-comment the #define Bluetooth_Port_Enabled line to channel Mavlink in and out of Serial3
This is ignored on the STM32F103C since there are too few serial ports available
Select the target mpu by un-commenting either //#define Target_Teensy3x or //#define Target_STM32