CrazyDude1994 / android-taranis-smartport-telemetry

This android application let you view and record your taranis telemetry data in realtime.
https://play.google.com/store/apps/details?id=crazydude.com.telemetry
145 stars 43 forks source link

[FR] Can the Multiprotocol module telemetry be added? #78

Open Tygrys-1 opened 4 years ago

Tygrys-1 commented 4 years ago

There are many new radios like Radiomaster TX16S and Jumper T16, T18, with multiprotocol module. They do not have classic SPort output. Ok, they have it in the module bay, but it is not convinient to use from there. Multiprotocol module uses it's own telemetry format, based I think on FRSky, but kinda simpler. It receives SPort telemetry from FRSky receivers, but outputs it to the radio in it's own format.

Radiomaster TX16S has two serial ports on the bottom and HC06 can be connected to any of them. The "Telemetry mirror" works on 115200 Baud and the signal is not inverted. I can capture the BT signal on the PC to the file, and it is received the same way on the phone by the Telemetry Viewer application. It is the same iNav information, just coded maybe a little bit different, sensor data has 16 bit FRSky sensor id's and a 32 bit value.

Is it possible to decode this in the Telemetry Viewer application? Sample iNav telemetry log file here: 2020-10-09 22-03-16.zip

stefaanbolle commented 3 years ago

How did you connect and enable bluetooth on the TX16S?

Tygrys-1 commented 3 years ago

On System-hardware page, set the Serial Port (TTL) to "Telem mirror" For hardware connection, connect the bottom port to the Bluetooth like HC 05 or HC 06, GND->GND, +5V->+5V, TX->RX and RX->TX. Earlier you have to configure the bluetooth module through your computer for 115200 Baud, no parity, 8 bits and one stop bit. Use serial port or USB to serial dongle and any terminal emulating program.

stefaanbolle commented 3 years ago

Thanks! So no S.Bus inverter needed. Can it be connected to the external module bay uart?

Tygrys-1 commented 3 years ago

You can use module bay, but there you will need the inverter. BTW - you do not need the radio RX-TX bluetooth connection on bottom port, as the communication is only one way.

stefaanbolle commented 3 years ago

Would you mind to post a schematic how you connect it to the internal module bay or external uart? With a 2N7000 and 10kohm resistor it is simple to solder an inverter on the HC06

Tygrys-1 commented 3 years ago

For module bay look at the https://github.com/CrazyDude1994/android-taranis-smartport-telemetry, I am not using module bay. For bottom port just wire 3 wires (GND, +5V and TX on Radio side) as described above.

To make it work with the application, @CrazyDude1994 should implement protocol recognition in for multimodule.

stefaanbolle commented 3 years ago

Thanks again!