Here is a short video presentation of my Skywalker X8 UAV using 3g broadband internet for video and telemetry.

 

Onboard my X8 i have this ZTE MF60 3g/Wifi router which handles the communication for the APM2.5 and the Raspberry Pi model B. I didn't wanna use the Dronecell because i will place the load away from the APM2.5. I could have put a 3g USB adapter in my Raspberry Pi as well, but the Pi have more than enough to do transcoding the video-stream, so i use a Cisco Wifi USB adapter in my Pi to communicate with the 3g router and GCS.

 

The telemetry from my APM2.5 is sent to a Serial 2 Wifi converter which then is connected via Wifi to the 3g router. I then connect to my APM2.5 using TCP from Mission Planner.

 

The Raspberry Pi are using VLC Player for Linux to transcode the videostream from the Microsoft Lifecam webcamera to a resolution of 352x288 at 500kbit/s and 10 fps. If you want to use the same solution just change the hostname and port to you needs in the command below. I use Dynamic DNS (client configured in my Raspbery Pi) since mye 3g router gets a dynamic IP adress on every new connection.

Command in the Pi for starting videostream:

"sudo -u pi vlc-wrapper -I dummy -vvv v4l2:///dev/video0 :v4l2-width=352 :v4l2-height=288 :v4l2-fps=10 :sout='#transcode{vcodec=MJPG,vb=500,fps=10,scale=1,width=352,height=288,acodec=none}:std{mux=ts,access=udp{ttl=10},dst=mydyndnshostname.domain.no:2000}' :sout-all :sout-keep"

At my GCS i start VLC using this command in a .CMD file to recieve the video from the X8 and re-stream it to the Mission Planner:

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" udp://@226.0.1.150:2000 --sout=#transcode{vcodec=MJPG,vb=500,fps=10,scale=1,width=352,height=288,acodec=none}:duplicate{dst=http{mux=mpjpeg,dst=:8080/},dst=display} :sout-all :sout-keep

In Mission Planner you just enter "http://localhost:8080" in the "SET MJPEG Source" when right-clicking the Hud. I have a 6GB per month dataplan in my 3g router and my calculations says that this can give me more than 52 hours of videostream. My sim card is a non-firewalled APN.

 

For now everything is powered from a MaxAmps 11000mah LIPO  This is a high capasity battery and the weight is only 825gram. My plan is to have 2 of those in my X8 for a really long range flight.

Right now i'm using a Sanwa 35mHz radio, but i waiting for my Turnigy 9XR and 433mHz modules from Hobbyking. I don't use 2.4gHz because of the 2.4gHz in my 3g router.

 

3689520571?profile=original

E-mail me when people leave their comments –

You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • Alexey: I can make a clean SD image to share. I can also make a brief description for which parameters to change to your own needs. I will let you know when and where to download this.

  • hi Tommy

    Could you give the SD card image  of mission planner for PI?

    I tried two weeks, but without success

  • Thanks a lot Jerry! Im running a payload of 3kgs. My AUW is 4kgs. Any suggestions on how i should be tweaking the params?

  • I've been using this x8 param for about a year now, flies good.

    http://www.filedropper.com/x82

  • Hey buddy, can you post in your APM configuration file for the same? Im having a little bit of a problem trying to get the right PIDs for my X8, will be of great help. Thanks

  • I will also add an SSC-32 Servo controller to control other things via IP and 3g later. So i will let the 3g router take care of all communaction in my X8. I wil use a ser2wifi converter for this as well.

    Lynxmotion - SSC-32 Servo Controller
    SSC-32 Servo Controller
  • Hi

    A) Yes the Pi has more than enough work to do transcoding the video. Need to overclock the Pi to "Medium" to make it able to transcode the video

    B) Same reason as A)


  • Hi Tommy,

    good job. Was/is there a reason, why you

    a) did not hardwire the connection between RPI and APM with serial in/output pins or a serial2usb adapter?
    b) don't use an 3G-USB-Dongle with the RPI (with additional usb-power)

    Best .cj

  • Here is a short video of my pan/tilt in front of the X8 :)

  • Yes, my 3g router connects to the internet and get a dynamic ip adress. Then my RPi is updating my DynDNS hostname with the current dynamic ip. Then i use this hostname to connect to the 3g router and gets forwarded to the serial2wifi adapter and finally the APM. Like this: GCS-3grouter-ser2wifi-apm.

    The video connectivity you understood right yes. DynDNS in both ends.

This reply was deleted.