Serial data over telemetry channel

openTx has introduced a range of new features, ideas and bling. It is fast becoming the firmware of choice for many users. openTx will run on ALL current hardware platforms, including the gruvin9x and sky9x boards. Work has already started to support the new FrSky X9D radio!
Post Reply
hursto75
Posts: 2
Joined: Mon Mar 21, 2016 8:40 pm
Country: -

Serial data over telemetry channel

Post by hursto75 »

In open Tx is there a way to send serial data over the Telemetry channel to the receiver. To program a device remotely? While I have not dug though the source code yet, I was hoping to ask here to save myself some searching. Also is there a Doc somewhere on the telemetry protocol used?

Thanks,
Brad

User avatar
Kilrah
Posts: 11108
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: Serial data over telemetry channel

Post by Kilrah »

You might want to say what radio you're using, what RF hardware etc...
User avatar
Hexperience
Posts: 190
Joined: Fri Feb 17, 2012 4:48 pm
Country: -
Location: Keswick, Ont. Canada

Re: Serial data over telemetry channel

Post by Hexperience »

Wow... I was just thinking about this very topic. Hursto75, are you talking about being able to remotely program a flybarless controller with something like the jeti protocol?
Sky9X: One radio to rule them all, and in the darkness BIND them.
User avatar
Hexperience
Posts: 190
Joined: Fri Feb 17, 2012 4:48 pm
Country: -
Location: Keswick, Ont. Canada

Re: Serial data over telemetry channel

Post by Hexperience »

Anything possible with this idea? The msh brain will soon be offering "jeti integration" and it would be great if we could do that on a radio that doesn't cost $1400 :)
Sky9X: One radio to rule them all, and in the darkness BIND them.
User avatar
Kilrah
Posts: 11108
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: Serial data over telemetry channel

Post by Kilrah »

It's being worked on with the FrSky protocol.

User avatar
Hexperience
Posts: 190
Joined: Fri Feb 17, 2012 4:48 pm
Country: -
Location: Keswick, Ont. Canada

Re: Serial data over telemetry channel

Post by Hexperience »

Sweet! Thanks.
Is there a thread you can point me to, or is it still too early..
Sky9X: One radio to rule them all, and in the darkness BIND them.
User avatar
Kilrah
Posts: 11108
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: Serial data over telemetry channel

Post by Kilrah »

It's in the developer chats for now. We're currently only at the level of figuring out how it can be done.
Avatar
Posts: 5
Joined: Wed Feb 10, 2016 7:30 pm
Country: -

Re: Serial data over telemetry channel

Post by Avatar »

Hi Hexperience, look at tool from FrSky named SP2UARTConverter, maybe this will solve You problem.
User avatar
Hexperience
Posts: 190
Joined: Fri Feb 17, 2012 4:48 pm
Country: -
Location: Keswick, Ont. Canada

Re: Serial data over telemetry channel

Post by Hexperience »

It's not that I have a problem I'm trying to solve or anything like that. I'm just looking to see if true 2-way serial communication is possible through the s.port, but it looks like serial only goes 1 way. The TX sends RC control data, and received Serial data, so we can't send serial data to a flight controller.
Sky9X: One radio to rule them all, and in the darkness BIND them.
User avatar
MikeB
9x Developer
Posts: 17990
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: Serial data over telemetry channel

Post by MikeB »

2-way serial is possible over the SPort. The limitation is the throughput.
If you have two of these "FrSky S.Port to UART converter with 2 ADC ports (SP2UART)", then you plug one into the receiver SPort and the other into the Tx SPort and you get two way serial between them, but limited to 30 bytes/sec or so.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
Kilrah
Posts: 11108
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: Serial data over telemetry channel

Post by Kilrah »

The FrSky modules and system make it possible, but there is nothing done in the radio firmware to make use of it at this point. There will be in OpenTX 2.2.
User avatar
Hexperience
Posts: 190
Joined: Fri Feb 17, 2012 4:48 pm
Country: -
Location: Keswick, Ont. Canada

Re: Serial data over telemetry channel

Post by Hexperience »

Interesting, 30 bytes per second is enough to make a change to a flight controller. If 2.2 adds some ablity to control that via lua scripts there might be something that can be done along those lines. (Pun intended )

Cheers
Sky9X: One radio to rule them all, and in the darkness BIND them.

Post Reply

Return to “openTx”