I'm currently using a PCTx from endurance rc http://www.endurance-rc.com/pctx.php and a Spektrum dx6 to control a drone from a pc over usb.
With the open source firmware i'm wondering if someone else has already accomplished this on a Taranis. If it can remove the need for the PCTx i'd gladly buy a taranis.
I'm looking for the radio to present itself over usb as a hid device, and then let me control all channels from the pc.
Control Radio from pc over USB - Howto
-
- Posts: 3
- Joined: Tue May 30, 2017 5:29 pm
- Country: -
Re: Control Radio from pc over USB - Howto
There is currently no support for such a function. It's open source, so you could implement it.
-
- Posts: 3
- Joined: Tue May 30, 2017 5:29 pm
- Country: -
Re: Control Radio from pc over USB - Howto
any suggested reading on getting started?
Re: Control Radio from pc over USB - Howto
You'd probably want to check the OpenTX github repo, and check the code for the joystick feature since that uses HID already.
You might also want to get in contact with the developers via the chat and/or issue tracker since this is the kind of thing that requires deciding of a protocol and would be best done in coordination with other project goals.
You might also want to get in contact with the developers via the chat and/or issue tracker since this is the kind of thing that requires deciding of a protocol and would be best done in coordination with other project goals.
- MikeB
- 9x Developer
- Posts: 17994
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Control Radio from pc over USB - Howto
The Taranis has a serial port (RS232 levels) in the battery bay. If you use ersky9x firmware on the Taranis, this may be used to input SBUS trainer data at 57600 baud. The PC support program (eepskye) also supports this, and can output the required SBUS serial data from the simulator, thus providing the type of control required.
Mike.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: Control Radio from pc over USB - Howto
That's indeed a thing, in OpenTX too. I stopped on the USB requirement and didn't think of mentioning that.
- MikeB
- 9x Developer
- Posts: 17994
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Control Radio from pc over USB - Howto
I wasn't sure if openTx supported 57600 baud as well as 100K baud. You can't (usually) get a serial port from a PC to work at 100K baud.
Mike.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: Control Radio from pc over USB - Howto
No 100k only, but AFAIK the common USB-serial converters are perfectly happy to run at arbitrary baudrates.
- MikeB
- 9x Developer
- Posts: 17994
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Control Radio from pc over USB - Howto
It seems to me that all mine accept the setting, but then use the "nearest standard" baudrate, so if I ask for 100000 I get 115200.
That's why I added a 57600 baud option in ersky9x, I couldn't get 100K baud to work.
If I get some spare time I run some more tests.
Mike.
That's why I added a 57600 baud option in ersky9x, I couldn't get 100K baud to work.
If I get some spare time I run some more tests.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
-
- Posts: 3
- Joined: Tue May 30, 2017 5:29 pm
- Country: -
Re: Control Radio from pc over USB - Howto
thanks. Once I get the money together for the Taranis I'll post some updates.