PC wifi tx radio to FlySky

Help with any software/desktop related issues. e.g. companion9x, eePe, etc
Post Reply
wuzamarine
Posts: 30
Joined: Tue Oct 18, 2016 5:52 pm
Country: -

PC wifi tx radio to FlySky

Post by wuzamarine »

My PC has a perfect 2.4ghz radio on it!
my wifi even has adjustments for db gain and other filters to improve transmission and reception quality.
is there any reason why I can't just capture (or wrapper) the /dev/radio0 from my PC wifi, throw 802.11 out the window, and teach it FlySky?
Is there a FlySky (or any other popular RC protocol) library or RFC(published standards)?
has somebody already undertaken this task? possibly a Python library or similar hidden on a server somewhere?


I have a little Hubsan X-4 with a broke transmitter and for a little project I want to try and reach the little guy with my PC wifi.
I code in a few languages but a n00b to RC.
I use Linux

User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: PC wifi tx radio to FlySky

Post by jhsa »

If you have a broken transmitter, you could build a tx module.. ;)

http://www.rcgroups.com/forums/showthread.php?t=2165676

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
wuzamarine
Posts: 30
Joined: Tue Oct 18, 2016 5:52 pm
Country: -

Re: PC wifi tx radio to FlySky

Post by wuzamarine »

I'm really trying to use onboard/existing technologies.
I could run to radio shack and buy a new transmitter as well.
I can't see why I would need a 3rd radio on my laptop.

I'll be getting to building my own radio soon enough.
I just want to get some logic running across the radio waves
wuzamarine
Posts: 30
Joined: Tue Oct 18, 2016 5:52 pm
Country: -

Re: PC wifi tx radio to FlySky

Post by wuzamarine »

I am pretty sure this is what I need but its for a particular microcontroller, not x86
https://github.com/mkschreder/martink/b ... nrf24l01.c

I'm a little rusty on my reverse engineering microcontroller code for radios.
User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: PC wifi tx radio to FlySky

Post by Kilrah »

WiFi uses completely different RF parameters than the chips used in R/C radio RF transmission.

Don't know if a WiFi chip has the flexibility needed to emulating one, but if it does it will certainly not be using existing software and card firmware.

That bit of code you linked to is used to drive the same chip than used in the radio, i.e. you need the actual specific hardware.

wuzamarine
Posts: 30
Joined: Tue Oct 18, 2016 5:52 pm
Country: -

Re: PC wifi tx radio to FlySky

Post by wuzamarine »

wifi uses 802.11, but thats not the only tune that radio will play.
the hubsan x4 uses FLySky
one is digital, the other is analog.
Digital will do analog very easily.
wuzamarine
Posts: 30
Joined: Tue Oct 18, 2016 5:52 pm
Country: -

Re: PC wifi tx radio to FlySky

Post by wuzamarine »

I am suspicious that FlySky is actually digital.
User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: PC wifi tx radio to FlySky

Post by Kilrah »

Both are digital. Just download the datasheet of the chip.

But if it was that easy to replicate signals from completely different proprietary transmission schemes we wouldn't need SDRs to generate arbitrary RF signals nor modules that actually include all the common RC RF chips to control multiple model types.

Those 4 chips all basically do the same thing with similar technology but are not intercompatible.
wuzamarine
Posts: 30
Joined: Tue Oct 18, 2016 5:52 pm
Country: -

Re: PC wifi tx radio to FlySky

Post by wuzamarine »

Kilrah wrote:Both are digital. Just download the datasheet of the chip.

But if it was that easy to replicate signals from completely different proprietary transmission schemes we wouldn't need SDRs to generate arbitrary RF signals nor modules that actually include all the common RC RF chips to control multiple model types.

Those 4 chips all basically do the same thing with similar technology but are not intercompatible.

That is exactly what I was looking for!
Now I just need to figure out how to hijack my wifi from 802.11 and cram a custom (to it) protocol down its gullet.
Should be a piece of cake... o.0

I'll post updates :)
wuzamarine
Posts: 30
Joined: Tue Oct 18, 2016 5:52 pm
Country: -

Re: PC wifi tx radio to FlySky

Post by wuzamarine »

I was horribly mistaken.
the mac controller on wifi is ASIC.
you're not getting to that radio to play another tune.
http://www.labs.hpe.com/personal/Jean_T ... .wlan.html

Plan B

I have a Devo 7 from a Walkera. It's got no data port but I suppose that can be changed.
I will do a new post on that.

Cheers
wuzamarine
Posts: 30
Joined: Tue Oct 18, 2016 5:52 pm
Country: -

Re: PC wifi tx radio to FlySky

Post by wuzamarine »

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

Re: PC wifi tx radio to FlySky

Post by Kilrah »

If it's got a PPM trainer output you can use the module linked earlier, or DIY one with just the one RF chip you're interested in.

http://www.rcgroups.com/forums/showthread.php?t=2165676

Post Reply

Return to “Software”