Welcome to PhantomPilots.com

Sign up for a weekly email of the latest drone news & information

Usb network between RC and phone

Discussion in 'Standard/4k Discussion' started by Argonaise, Jun 21, 2016.

  1. Argonaise

    Joined:
    Mar 23, 2016
    Messages:
    57
    Likes Received:
    31
    Location:
    South Korea
    A member told me that in the telnet shell at the P3S RC, he found wlan0 and usb0 are tied as bridge.
    Also stated running "brctl show" can confirm that.

    2.4g module is based on openwrt of atheros AR9344 as we all come to know, and I found on the 2.4g module, d+ and d- ports are out for jump.
    DJI Phantom 3 Standard Teardown - 0

    At the RC main board, d+ and d- ports are also out for jump.
    DJI Phantom 3 Standard Teardown - 0

    Can I connect those two ports to get usb network connection between RC and smartphone, same as Advanced and Professional?
    If it is possible, P3S's video transmission latency would be decreased, and will became resistant to wireless interference.

    Currently one channel is shared to connect drone-RC and RC-smartphone. If two of them having transmission, another two would be backed off and will wait by carrier sense. Wifi tend to transmit stream in burst mode, so latency is inherently high in P3S, so establishing wired network would eliminate those drawbacks.

    Anyone thought about it or tried it already?
     
    SingLag, ccbdav, dg8882 and 1 other person like this.
  2. ccbdav

    Joined:
    May 1, 2014
    Messages:
    55
    Likes Received:
    22
    That's an intriguing idea! I'd certainly love to hear how this works out of you or anyone else tries it!
     
  3. sengsational

    Joined:
    Jun 5, 2016
    Messages:
    4
    Likes Received:
    1
    The remote control appears to create a wifi hotspot that the DJI Go App finds and connects to.

    Having both my phone and the remote controller using wifi seems like a waste of battery on both devices, especially when the two devices are on top of one and other.

    There is a micro USB on the remote controller that certainly works for charging. Would it initiate a USB connection if connected with a phone? Of course it would have to 'know' not to try to charge from the phone. I think the answer is "no, you can't connect your phone and remote controller together with a USB cable in the DJI Phantom 3 Standard", but I thought that this thread was asking the same thing.
     
  4. BaDvs3viL

    Joined:
    Jun 13, 2016
    Messages:
    133
    Likes Received:
    38
    Location:
    Chicago
    I have a spare RC and will test to see what happens when I probe those D's.
     
    Argonaise likes this.
  5. BaDvs3viL

    Joined:
    Jun 13, 2016
    Messages:
    133
    Likes Received:
    38
    Location:
    Chicago
    So connected the D+ and D- to a PC to see what would happen. PC does see something plugged in but then fails.
     

    Attached Files:

  6. BaDvs3viL

    Joined:
    Jun 13, 2016
    Messages:
    133
    Likes Received:
    38
    Location:
    Chicago
    Also tested these ones and they come out the bottom USB header used for charging and the PC emulator.
     
  7. BaDvs3viL

    Joined:
    Jun 13, 2016
    Messages:
    133
    Likes Received:
    38
    Location:
    Chicago
    It would need a driver for windows. Not sure what to use.
     
  8. SingLag

    Joined:
    Jun 9, 2016
    Messages:
    73
    Likes Received:
    56

    How about connect to Android then enable USB Tethering at setting ?
    may be D+ D- Connect to PC (PC in host mode, then need driver), D+ D- connect to Android (AR9344 usb2.0 controller in host mode)
     
    #8 SingLag, Jul 7, 2016
    Last edited: Jul 7, 2016
  9. BaDvs3viL

    Joined:
    Jun 13, 2016
    Messages:
    133
    Likes Received:
    38
    Location:
    Chicago
    USB tethering would be giving internet from my phone to the connected device. We need the other way around?
     
  10. SingLag

    Joined:
    Jun 9, 2016
    Messages:
    73
    Likes Received:
    56
    I'm not quite sure but enable USB Tethering on android = Start DHCP server on android and assign IP and subnet itself and share connected usb device ?
    then we can try

    1) Android be device mode: connect D+ D- to android
    run netcfg usb0 dhcp to get IP from RC (make sure wlan0 and usb0 on RC is bridged)
    on my android, netcfg show rmnet_usb0 DOWN and I can use "ifconfig rmnet_usb0 up" (need root) to start it up; when "enable USB Tethering", and new network interface usb0 will show and have it's own IP
    so, pls check which dev should use on your android

    2) Android be host mode: get a OTG cable and connect D+ D- ?
    but i guess we should set AR9344 usb2.0 controller in host mode
     
    #10 SingLag, Jul 7, 2016
    Last edited: Jul 7, 2016
  11. Ojcze Nasz

    Joined:
    Jun 2, 2016
    Messages:
    226
    Likes Received:
    157
    That's telemetry data. Same you get with cat /dev/ttyATH0
    BTW. How do you intend to transfer 10Mbit video over 115200kbps serial line ?
     
    BaDvs3viL and Argonaise like this.
  12. Argonaise

    Joined:
    Mar 23, 2016
    Messages:
    57
    Likes Received:
    31
    Location:
    South Korea
    Oh, I did not realized that. When I thought about speed of usb, it was 450Mbps instead of usb-uart speed of 115200kbps. Like p3 pro/adv, thought it could be a shot. Thank you for letting me know. I'm amazed several times today from this thread.
     
  13. Vengant

    Joined:
    Jul 8, 2016
    Messages:
    15
    Likes Received:
    14
    Location:
    Russia
    It's very interesting idea!

    I have checked my P3S RC. Without mods, it recognizing as VID fff0 and PID 0008. Windows cannot find drivers for this device, and Linux recognizes it as modem /dev/ttyACM0...
     
  14. TDKUK

    Joined:
    May 12, 2016
    Messages:
    75
    Likes Received:
    20
    Location:
    Hertfordshire UK
    With a software uart-sub and I think the fc40 driver you can connect to the sun from Windows!


    Sent from my iPhone using PhantomPilots mobile app