Companion: Pi 2/3/Zero

A discussion page to allow me to add my experiences using a Raspberry Pi 2/3/Zero V1.2/1.3 as a companion computer for Ardupilot/APM/Pixhawk flight boards. I will update my experiences as I learn, feel free to comment and offer tips, it's all free here.

3691291461?profile=original

3691291190?profile=original

I'm building a github for my experiments: https://github.com/benb0jangles/Companion-Pi

Drone Unit: Raspberry Pi Zero V1.3 + Pi Camera Module
img file: https://drive.google.com/open?id=0B1cVb3uX0f0dQTZzSmVISFdYd3M

Ground Unit: Raspberry Pi 2

img file: <to be added>

Goggles Unit: Raspberry Pi Zero V1.3

img file: https://drive.google.com/open?id=0B1cVb3uX0f0dakFpaTAyVF9HV2s

Ardupilot Technical Questions:

Also, if you have any technical code/hardware questions which you feel may take ongoing contributions and help over an extended timeframe, feel free to ask over on Ardupilot.org technical discussion page herehttp://discuss.ardupilot.org/t/companion-pi-2-3-zero/9460

I will update as I get by, please contribute by offering your 'plug & play' wifi adapters using Raspbian Jessie. Also, if you happen to pick up this project, and are working faster than me, then please send us your own .img file experiments. Thanks.

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

Join diydrones

Email me when people reply –

Replies

    • the adapters I am using for testing and setup are 5x cheap ralink RT5370 usb dongles with screw antennas:
      here link

      they work with raspbian jessie out of the box. $2 each approx

    • it is indeed a great project to build!

      Have a look at the diversity in wifibroadcast:

      https://befinitiv.wordpress.com/2015/05/24/diversity-for-wifibroadc...

      it's pretty cool, as you can plug two wifi cards into your receiving station and they themselves can have mimo dual antennas.

      The key is in a good hardware setup.  The sweet spot seems to be powerful transmitter and sensitive receiver (seems obvious, right :).  The alfa cards work great as tx as they have injectable chipsets and have a great big amplifier  so they are very powerful, but they're really bad as rx as they seem to have very poor receiver sensitivity.  There are fortunately multiple cheaper smaller cards that have much better rx sensitivity.  Then antennae, so you can use for example circular polarity mushroom antennae or dish antennae.  I actually use the ImmersionRC 5.8ghz mushroom and dish antennae meant for analogue fpv with 5.8ghz wifi adapters, works brilliantly - and you can use this with standard wifi/gstreamer methods as well.  The dish antenna gives you amazing range but of course you have to point it in the right direction to work.  I found the circular mushrooms still give excellent range, certainly well past the point of legal flying in US/UK.

      Good Luck :)

      Diversity for wifibroadcast
      This post describes a new feature of wifibroadcast: Software diversity. — Update 06/02/1025: The new diversity code from 06/01 worked fine on my desk…
  • Testing video using QTGstreamerHUD.APK on Android:

    https://www.youtube.com/watch?v=OXNPqt2XJkw

    I recommend using 480p video settings for gstreamer as my cheap android tablet cannot handle 720p HD. I'm sure if your phone/tablet is more powerful it will receive the video no problem

    QtGStreamerHUD.apk
    Shared with Dropbox
  • Some software that is coming along with integrated video HUD:

    3702231206?profile=original

    As of today:

    -Mission Planner has a modified version of software for video, I hope it gets integrated into the standard HUD soon

    -Tower Beta has integrated video HUD which is nice :)

    -APM Planner video HUD is in development I believe

    You can of course run gstreamer as a stand alone software on Windows/Mac/Linux if you wish, but it will be better to integrate into a flight system.

  • Advanced setup:

    3702230975?profile=original

    • Any details on the HDmi to CSI adapter. I didn't think these were available?
    • they cost too much to be viable, you can buy 30 raspberry pi zeros for the same price

    • I know auavidea sell one and it's very expensive. Just thought there but be cheaper alternatives. Although the biggest issue is with the software driver I guess.
    • true, you would think it would be a popular item if it was priced to suit

    • Could I ask why you would want to use the csi input instead of the hdmi?

This reply was deleted.