-
Notifications
You must be signed in to change notification settings - Fork 17
2.5. Ultimate LRS Support
ULRS is a frequency-hopping long range DIY RC solution, designed to provide long range RC control and 2 way telemetry using 1W transmitter and receiver modules over UHF frequencies.
The Official ULRS website can be found here
The RC Groups ULRS forum post can be found here
This solution provides a 2-way 19.2k baud serial link between the Tx and Rx. This allows the Mavlink data stream from a telemetry port on the pixhawk to be fed down to the ground station via serial ports on both the ULRS Rx and Tx boards. Having this mavlink telemetry accessible from the transmitter allows us several interesting options for ground station telemetry. Not only does this allow us to connect a bluetooth module which provides mavlink access to our favourite ground station software (such as Mission Planner), but it also provides a means for us to connect our Teensy solution to this serial Mavlink connection at the ground-side (instead of the traditional installation where it would be installed in the plane/copter). There are two methods of installing the Teensy at the ground-side RC connection:
- In a repeater station
In this case, the ULRS Transmitter board would be installed in a standalone project box, and the RC inputs to it would come from the CPPM output of a FrSky X4R Receiver, also installed in the project box. The X4R is chosen for this solution specifically as the newer firmware allows an 8 channel CPPM output which feeds into the PPM input of the ULRS Tx nicely. The input to the X4R is received in the usual way from the Taranis radio over 2.4GHz. The Teensy board in this configuration would take the Mavlink feed from the serial port of the ULRS Transmitter, and feed the S.Port output into the S.Port input of the X4R - passing this down to the Taranis in the usual way. The project box would of course require its own power supply (such as a LiPo battery with 5v BEC to provide power to both Rx and Tx units, also to power the Teensy, and a bluetooth serial module (should one be connected for ground station connection).
In this instance, the X4R Rx 'polls' for telemetry sensors provided by the Teensy in the native FrSky way, so no special configuration is required within the Teensy code.
- Directly into the Taranis
In this case The ULRS Transmitter board would be installed at the back of the Taranis radio directly, and connected via the module bay port, which provides a 16 channel CPPM output directly to ULRS (plus power). In this configuration, the Teensy board would be connected to the serial mavlink output of the ULRS Tx board, and the Teensy S.Port output would be connected to the S.Port pin within the Taranis module bay. Special consideration would have to be given to powering each of these units at the correct voltage.
In this instance, there is no FrSky Rx to do the S.Port telemetry sensor polling (as the S.Port output of the Teensy is connected directly to the Taranis), so in order to have the S.Port sensors 'polled', the Teensy code contains an optional 'polling' addon which can be enabled to provide this function (in place of that usually provided y the S.Port Rx). To enable the polling add-on, un comment the line in the addon's section of MavLink_FrSkySPort.ino so it reads: #define POLLING_ENABLED
Here are some images of a typical ULRS DIY built Transmitter module:
The components connected - ULRS Mini (sponge) board, with BT adapter and Teensy 3.2
The same components installed in a project box with JR module fixed to rear for Taranis connection
Finished solution fitted to Taranis
RSSI Telemetry for ULRS
When using any LRS system, the RSSI data of the UHF radio link is often provided by the Rx in the model (in PWM form), but not natively accessible from the Transmitter's telemetry (as is the case with a regular FrSky Tx/Rx combo). In the case of ULRS, the RSSI output from the ULRS Rx can be fed into the SB port of the Pixhawk (via a suitable LP filter/DAC), and the Pixhawk configured to accept this analog RSSI data on pin 103. The pixhawk then makes this RSSI data available via Mavlink. See RSSI parameters for Ardupilot here
In order to have the Teensy provide this mavlink RSSI data to the Taranis, un-comment the line in the addon's section of MavLink_FrSkySPort.ino so it reads: #define USE_MAV_RSSI
This will feed the RSSI value (in %) to the S3 sensor. The LUA screen will automatically recognise this and display rx-rssi: 100% in the top-bar.
Here is an example of the Telemetry solution provided by the above depicted ULRS setup:
The LUA screen on the Taranis shows the regular telemetry but in this configuration it is coming from the teensy installed inside the ULRS Tx enclosure. Mission Planner is connected over Bluetooth to the BT adapter also connected to the ULRS Tx mavlink feed.