MT Charles Helsem
Posts: 4
Joined: Mon Feb 17, 2014 9:29 pm

Flying Pi

Tue Feb 18, 2014 12:54 am

Currently I am a student at Mount Tahoma High school. In our engineering program, we are attempting to capture aerial photography and video through our Raspberry Pi with the attachment of it to a kite. Connected to a router of a nearby laptop, our goal is to have live stream from the Pi to it. The primary problem we are having though at the moment is achieving this live stream effect remotely from the Pi's camera to the laptop. While we have attempted some of the ways suggested online, we still have not successfully accomplished this, which is why I have come here for help as to any suggestions on doing this. Any feedback is greatly appreciated.

User avatar
Raspruss
Posts: 93
Joined: Thu Jan 23, 2014 3:50 pm
Location: Virginia, USA

Re: Flying Pi

Tue Feb 18, 2014 1:11 pm

Use one of the many antenna designs for Wifi enhancement that are available on the 'Net - some can significantly increase range with minimal weight - the router, too, can have an enhanced antenna - you might have to actively manage the aiming of the router antenna as you're flying your kite.

Here's an uneditted Google Search result: https://www.google.com/search?q=wifi+antenna&channel=sb

Post-post Addendum - Here's an interesting YouTube video showing the tripling of Wifi signal with a ridiculously easy addition to router antennas: http://www.youtube.com/watch?feature=pl ... onZeKP-Mi4

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23636
Joined: Sat Jul 30, 2011 7:41 pm

Re: Flying Pi

Tue Feb 18, 2014 1:45 pm

Gotta ask - high high is the kite going? Because I would expect standard Wifi to work at normal kite altitudes with the default antenna. There's nothing in the way to attenuate the signal to the ground.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

User avatar
Raspruss
Posts: 93
Joined: Thu Jan 23, 2014 3:50 pm
Location: Virginia, USA

Re: Flying Pi

Tue Feb 18, 2014 2:03 pm

jamesh wrote:I would expect standard Wifi to work at normal kite altitudes with the default antenna. There's nothing in the way to attenuate the signal to the ground.
I'd bet wifi dongles are minimal range in the wifi scheme of things. In any case, a simple test would be to place the router at a location and walk away from it with a working Pi to see when things get flakey.

towolf
Posts: 421
Joined: Fri Jan 18, 2013 2:11 pm

Re: Flying Pi

Tue Feb 18, 2014 6:54 pm

Walking away would underestimate the range.

The ground affects this: https://en.wikipedia.org/wiki/Fresnel_zone

User avatar
Raspruss
Posts: 93
Joined: Thu Jan 23, 2014 3:50 pm
Location: Virginia, USA

Re: Flying Pi

Tue Feb 18, 2014 10:57 pm

towolf wrote:Walking away would underestimate the range.

The ground affects this: https://en.wikipedia.org/wiki/Fresnel_zone
While that's interesting I wonder how much attenuation actually occurs due to ground effect and whether it's actually important for this case.

MT Charles Helsem
Posts: 4
Joined: Mon Feb 17, 2014 9:29 pm

Re: Flying Pi

Thu Feb 20, 2014 11:38 pm

Thanks for the replies, but the problem I was facing at the time when this was posted was attaining a live stream from the pi to a web browser through a LAN, which I had solved through a configuration of the software motion. The plan is to have the kite go upwards of 100 to 150 feet, with a laptop and router at ground. Estimating about 200 to 300 feet of kite line, these numbers for now are simply estimates, as we have yet to have progressed far enough in for proper testing.

User avatar
Raspruss
Posts: 93
Joined: Thu Jan 23, 2014 3:50 pm
Location: Virginia, USA

Re: Flying Pi

Fri Feb 21, 2014 8:54 pm

MT Charles Helsem wrote:Thanks for the replies
Whatever your final resolution(s) to your task, I'm sure everyone reading this thread would be interested in reading what those resolutions are...keep us updated, please!

MT Charles Helsem
Posts: 4
Joined: Mon Feb 17, 2014 9:29 pm

Re: Flying Pi

Tue Apr 15, 2014 2:54 pm

While our crusade to finish this porject continues on, we have hit one again another brickwall, this time being the programming of the I2c on the Pi for a 16 channel 12 bit PWM/Servo driver (http://www.adafruit.com/products/815). Also using a cobbler breakout from adafruit(http://www.adafruit.com/products/914), we would follow instructions from the corporation's site seen here (https://learn.adafruit.com/adafruit-16- ... i/overview). After some trial and error with the instructions, we would end up at the command "sudo i2cdetect -y 1," which would result in the binary library not detecting anything rather than the suggested addresses. My plea ends with this, being is there any other approach to this rather than the given for this servo driver to control two HS-322HD servos (http://www.servocity.com/html/hs-322hd_ ... eluxe.html).

Rasp pics
https://www.dropbox.com/sc/navq0ir1idfne5b/5HEHqgtJzk

PickUpaPi
Posts: 15
Joined: Thu Jan 30, 2014 5:48 pm
Contact: Website

Re: Flying Pi

Wed Apr 16, 2014 4:27 pm

Not sure if this it too late to help you but for the distances you are talking why not just run a CAT5 cable up the Kite line? Not sure if it would add too much weight though!
Check out the Pick Up a Pi Pitronics series for free detailed guides and diagrams on how to control Servos, Motors, LEDs and buttons from your Pi using python.

User avatar
Douglas6
Posts: 4759
Joined: Sat Mar 16, 2013 5:34 am
Location: Chicago, IL

Re: Flying Pi

Wed Apr 16, 2014 6:42 pm

Have you done this, taken from a link on the tutorial you linked to:
"Depending on your distribution, you may also have a file called /etc/modprobe.d/raspi-blacklist.conf
If you do not have this file then there is nothing to do, however, if you do have this file, you need to edit it and comment out the lines below:

Code: Select all

    blacklist spi-bcm2708
    blacklist i2c-bcm2708
.. by putting a # in front of them."

MT Charles Helsem
Posts: 4
Joined: Mon Feb 17, 2014 9:29 pm

Re: Flying Pi

Thu Apr 17, 2014 2:44 pm

Yes, we have completed this part of the coding, and have attempted the complete tutorial without successnumerous times. We are currently testing the functionality of the components, being that all possibilities must be considered with such problems.

Return to “Automation, sensing and robotics”