-
-
Notifications
You must be signed in to change notification settings - Fork 757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Telemetry view App #390
Comments
I was actually playing with this yesterday using the SIYI FM30 which has integrated bluetooth. I modified my RX code to just copy the CRSF telemetry over to the bluetooth (and verified I saw data on my phone) but the Telemetey Viewer app didn't like it. I think it had to do with it trying to auto-detect the protocol and there not being enough valid telemetry in the short time it probes to meet the minimum auto-detect threshold (2 complete sets of telemetry? Link Statistics don't count). Once the SIYI TX and RX pull requests go through, I'll look at working out with the devs what ELRS will put out as standard and then maybe work to integrate it. The app supports MAVlink v1 and v2, LTM, FrSky S.Port, and CRSF. CRSF would be the easiest since we've already got the data in that format but MAVlink would probably be more compatible. |
Can you show me your modify code for copy CRSF tlm ? |
I've since wiped the code out but all that I did was add a second write to
Along with the code in the tx_main to create a |
hope it will support this app with build in Bluetooth as x-lite pro, t16, t18. |
I can confirm this is already functional on a TX16S with a HC05 module connected to the UART. |
Tell me! I have a Jumper t12 transmitter with a FrSky r9m module. There is no built-in UART in the Jumper. How do I use UART in a module? There is a S-port output, and bluetooth telemetry works through it in the FrSky, but after the firmware the Express Lrs does not work ((((( |
Nice start, BUT: make also use of the Bluetooth part of the esp32 modules (mostly ttgo_v1 and ttgo_v2). |
I believe it is. I think you can also use EdgeTX Telemetry Mirror without an inverter too, on handsets that have a serial port (like the TX16S). In 2.0, there's also an option to turn on |
I check R9M with this connections. No telemetry. I will try solder BT to pads on QX7 Motherboard and flash to QX7S FW. And check again... it would be nice to use S.PORT pins on R9M module to send telemetry stream... |
@CapnBry so as of With TX's that have the backpack. |
That's the plan. To make it so when the backpack is in wifi mode it has a port open to stream raw telemetry to (and accept config commands too). |
Will this be Mavlink compatible? |
It would be nice to be able to connect with the android telemetry app using the BLE of the esp32 backpack. |
The backpack is an 8285 which does not have BLE |
@CapnBry any news on this? 😇 |
Hello,I have some ideas and have practiced them. I found that many TX have USB UART for debugging, such as debug_ LOG ,DEBUG_ LOG_ VERBOSE. The UART name is debug_ backpack_ RX and TX. You can find them in the JSON of src/hardware/tx. If I don't use debug, why don't I transmit telemetry information through this UART. https://github.com/ExpressLRS/ExpressLRS/blob/master/src/hardware/TX/BETAFPV%202400%20Nano.json
|
That's a great bunch of description, but you don't need to do quite all that. All you need to do is one line to mirror everything to the backpack UART (and change the baud): |
Is this all really necessary? I ask because I use the same application, without any code or backpack changes, just using the USB port of my Radiomaster TX16S with EdgeTX 2.7. |
You are right, it is not necessary for TX16S, but I don't have TX16S R9M or FM30. This is my solution for my existing equipment(TX12). |
Is anyone working on this? It would be good if radios with built in elrs work. The USB of the radio could be used to transmit telemetry data. |
This is attempt to use BLE on esp32 based tx https://github.com/dz0ny/ExpressLRS/tree/add/ble-telemetry |
You can already do this in edgetx, VCP mode under Hardware needs to be set as Telemetry Mirror. |
If merge that code, can I use telemetry view in my phone or some AAT ? Has this been tested? |
It's missing initial payload that Telemetry view App uses to determine supported protocols, if you add that then it can be used yes. |
For now It's cannot be used with android-taranis-smartport-telemetry? The problem is android app? |
No my patch needs a bit more work :) Without additional work it cannot be used. |
Out of the blue, do you have plans to complete it? |
When time permits, not sooner than in couple of months :) Other developers also suggested this should be moved to backpack to prevent for it to interfere with critical code used in TX. |
It would also be nice to move this feature to the backpack |
I'm also interested in a "Telemetry Receiver" backpack. I would like a firmware for RXs that would allow them to bind, receive telemetry and spit it out via serial using CRSF protocol. This would enable building a lot of interesting things like an antenna tracker backpack. I guess I will have to get myself familiar with the codebase 😃 Is there anyone who could give me a jumpstart on how to approach this? |
Thanks for this thread! I just connected a HC-05 with the inverter transistor mod to the DIY 2.4 ELRS module in my QX7 and i directly get telemetry data in the App without needing to change anything in OTX. As i had already set the CRSF protocol to 115200 in OTX. Can anyone tell me if this will work with the DIY module in my Jumper T-Lite aswell? What baudrate does the T-Lite use for the external CRSF Module? @pranas Great Idea with using an ELRS receiver to just receive telemetry data. Had the same thought yesterday before finding this thread. |
Finsihed implementation and submitted pull request #2018 |
Well as you said it uses speed which you set in opentx. And you have to set it to 115200 because HC-05 can not handle default 400000 baud. |
Telemetry viewer app does not need any initial payload. It will start decoding once 3 successull CRSF packets are received. |
There is no option to set it in OTX on the T-Lite, thats why i was asking if somebody knows the used speed. Great that it will work even without the HC-05 with your patch, can't wait to see it included. |
I thought latest opentx has is, but I did non try it myself. Flashed EdgeTx, there is an option to set crsf baud rate on t-lite. |
YES, baud-rate option appeared after updating to the latest OTX version. Will try edgeTX on my backup T-Lite |
Short feedback, hc-05 with the transistor inverter and module and otx set to 115200 baud works just fine. |
Hopefully #2305 will finally put this issue to rest :D |
Is it possible to connect the HC05 module with inverter to the JR bay S-Port? That way it would constantly be sending S-port telemetry which is what I assume the R9m module does anyway. (I assume the R9m module S-port is just passthrough of the radio s-port) edit: with an elrs module installed in the jr bay at the same time |
I hope ELRS can use Telemetey Viewer App Android/IOS. Telemetry dta transfered from tx to smartphone via smarport + bluetooth module.
Like this: https://youtu.be/lmSMt6JLWL8
The text was updated successfully, but these errors were encountered: