Jump to content

Rasberry PI RC plane idea


Recommended Posts

Hi all,

I am currently in my 2nd year at uni doing a computer science degree.
I have to start thinking about my dissertation for my 3rd year project, now I am new to flying RC planes and would like some adivce as to say if this idea would work with the plane I have (skywalker axion).

Idea

My idea is to get a rasberry pi (basically a mini computer about the size of a credit card) and add a few modules to it, these would include a GPS module and some others for a few other features I am yet to come up with. basically I would have this GPS module which tracks the speed, alltitude and location and flight path of an RC plane I would then create some software which would display all this information/data gathered from the flight in a program e.g. graphs for altitude and speed, I could use a google map api for the GPS side which would allow me to display the flight path in 3d using google maps. I was also thinking of adding a small camera to the nose of the plane so the user can record their flight or maybe stream it to the program so it could be used in real time.

my main question is, would this work? would my skywalker axion flight be affected in any way with the new added weight(rasberry pi is only a few grams!!) I would store the rasberry pi into the little compartment where the ailerons, engine and stuff are linked up or could there be a better place to attach it.

also I'd like to know if this is a good idea and would appeal to you? or evem the more experienced pilots as I am only new to the RC plane scene myself.

any other ideas for this would also be greatly appreciated so if you can think of any other features you'd like to see added please don't hesitate to say so

Many Thanks
Benjamin

Link to comment
Share on other sites

Advert


So you are just looking to use the RPi to collect data from a camera, gps and some MEMS sensors? I'd expect that to be possible.

If you wanted a challenge try going for the Raspberry pi collecting the data and controlling the model at the same time. cool

Link to comment
Share on other sites

Interesting... However a playback on Google maps would only have the pane circling around a 100yd wide circuit, unless if course you are going to use a FPV and fly it cross-country..!

The real challenge would be to relay this in real time to a gound station for interpretation and display on a laptop. So, the pilot does the flying, and nothing else. The other person (me!) studies the flight envelope on a laptop in real time with a dashboard readout of speed, angle of attack, height, RPM, motor current (if electric), attitude, battery voltage, temperature...etc. You get the idea.

You will also need an electronics person to transmit this data (simplex broadcast) to a ground station and interface to a laptop.

Good luck !!

Link to comment
Share on other sites

Posted by Benjamin Yeomans on 28/04/2013 00:16:41:

Hi all,

...... <snip>....  my main question is, would this work? would my skywalker axion flight be affected in any way with the new added weight(rasberry pi is only a few grams!!) I would store the rasberry pi into the little compartment where the ailerons, engine and stuff are linked up or could there be a better place to attach it.

 
also I'd like to know if this is a good idea and would appeal to you? or evem the more experienced pilots as I am only new to the RC plane scene myself.

any other ideas for this would also be greatly appreciated so if you can think of any other features you'd like to see added please don't hesitate to say so

Many Thanks
Benjamin


Yes it would work, because it's already available. I don'y know about the GPS sytems on other manufacturers telemetry but HItec will certainly overlay on Google Earth, live or recorded.

A few screen shots from a laptop enabled to receiver the data:

telemetry4.jpg

 

telemetry3.jpg

 

 

Telemetry can also bee displayed on Hitec Eclipse 7 Pro & Aurora 9 transmitters, not the maps of course.

I think it's agood idea you have and an interesting project but sorry, it's not new.

All the best, Ian

Edited By Ian Jones on 28/04/2013 20:24:34

Link to comment
Share on other sites

Thanks for all the responses ,

Stevo, I did look into FPV ,a video on youtube of a FPV first gave me this idea however am I right in thinking it is quite expensive? also I think the real time readouts is possible that was my original idea having a real time readout of speed, flight footage etc. however this could prove quite challenging I would have thought? but defiantly a possibility!

Thanks for you're reply Ian , yes unfortunately after I posted this I found a few other software’s that did exactly what my idea was

Link to comment
Share on other sites

The biggest problem you may have is getting power to the pi. It runs off USB - 5v I would guess- but the current consumption is quite high.I wouldn't try and run it off my reciever battery.Otherwise a cracking project, the sensitivity of GPS is about 3-5m with a 1sec positional lag so it probably wouldn't be brilliant recording fast maneuvres. You may be better building a Super60 type model for this. Lots of space and wing loading low enough to carry the additional power packs.

Let us know how you get on

Martyn

Link to comment
Share on other sites

The police shouldn't have to worry about this I would have thought, but I'll check with the Uni thanks .

I have thought about the pi being powered by a separate battery pack I have found a few good tutorials on hacking the micro sd and hijacking it up to a battery pack to make the pi portable. Thanks I am glad the project is getting lots of positive attitude towards it that's always means I've got come up with something good and something that interests me!

a super60 type model? I had a quick google seems to be an RC plane, sorry I am very new to the RC plane world could you explain?

Ben

Link to comment
Share on other sites

Like the idea, Ben. RPi is a very flexible device indeed. There are lots of people out there doing similar things with RPi's, Arduino's, Snapdragon's and such. They all seem to focus around unmanned flight or telemetry feedback or FPV flying. Now, if you tie these together into something task focused... I'll give you an example, a semi automated flight that takes off and lands under normal control but when in flight, follows a preset track or search pattern controlled by GPS and autopilot. Flight data is recorded along with video or still capture for something like search an rescue or aerial surveillance or even transmitted back live.

Just my take on your idea, certainly sound interesting.

Link to comment
Share on other sites

I would perhaps have a waypoint based flight with gyro stabilisation for images - perhaps using the idea as a S&R type system - tie it into google earth for programing the initial flight and then have a 'return to waypoint' control also, so it can go back to a position and circle if something is found. A good final test might be a costal cliff area with a hi vis jacket somewhere.

The next stage would then be auto ID and circle of an object via on-board computer without ground station 'interference'

Olly

Link to comment
Share on other sites

Check out www.openpilot.org. Does pretty much everything you was looking to do.

HOWEVER don't be put off doing it, as undergrad projects don't have to be unique, different or innovative.

My advice I can give from a couple years experience teaching electronics based undergrads is that those that do a difficult project but which has achievable goals, always invariably do better than those who have ambitious projects but don't achieve the intended goals. I.e. what ever you do, make sure it works and meets your original goals! So choose a project that you can complete in a realistic time frame (I'd aim for it to be fully working by Christmas) - at that point you can extend it to meet new goals.

Nothing worse for a supervisor (and marker) to have what looks to be a great project idea but is only a collection of half working systems that aren't integrated.

Now is the best time to create a proof of concept with a simpler platform to test it before you start your final year.

Your actual project idea could be readily and easily integrated into a smart phone - which will probably be substantially easier to complete on than using a RPi. As all the API's will be there for you to access the hardware without much trouble (i.e. Camera/GPS/Accelerometer/etc API). Also app developers are hot property at the moment, so it could be beneficial to your future career job prospects to develop on a smartphone.

Plus an App could be published on the App store and out to market - which always looks good to an employer. It could also be used for many other things too - e.g. tracking your run/walk or even wrap one up in a package and post it to see where it goes and how your package is treated!

Developing on a RPi will require a lot more linux knowledge and experience than developing on a smartphone, likely requiring kernel recompilation to get the necessary webcam drivers working. It's likely that you'd have to develop your own APIs (or wrappers around them) to access this hardware - likely in C/C++ (rather than in Java which is likely what you've learnt already). Plus you may experience difficulties that you haven't envisaged - such as performance limitations from capturing video from a webcam to SD card, etc, etc.

Good Luck!

Si.

Edited By Simon Chambers on 30/04/2013 13:37:43

Link to comment
Share on other sites

 

Sorry about the late response guys, Certainty an interesting idea that search and rescue idea may have to do something around that.
I like the idea of auto IDing certain objects I don't know how hard it would be to implement though.

Si , Thanks for your advice it's always good to hear from a lecturer and get their take on it. Unfortunately my Uni doesn't want to hear anything about ideas until the autumn term so this has definitely helped.

Done a bit of C & C++ but you're right it has been mostly Java they've been teaching us but I much prefer C++ to Java but don't mind using both really.

I was going to have a play around with it this summer and see if any problems do arise. Obviously I have to learn to fly my model first, do any of you know the best way to go about this , Join a club or go about it myself. If a club do you know any decent clubs around the Suffolk area(Bury St Edmunds/ Ipswich area )

 

Ben

 

Edited By Benjamin Yeomans on 02/05/2013 18:28:27

Link to comment
Share on other sites

  • 2 months later...

FWIW, PIC microchips run on 5V, cheap, tiny current, come in lots of sizes and capabilities, and need very few external components to run. (Most can run on just +- pins connected). Smaller and lighter, too. Several languages - JAL is very easy. Bit more of a project to get them working, though.

Max

Link to comment
Share on other sites

Hey everyone,
Sorry bit of an update , after speaking to the uni they wanted something more academic rather than something that just showed details of a flight and I met a supervisor who has an idea for a UAV project which is -

2. Mosaicing aerial imagery captured from a low-level UAV.

3D plant image

Using a multi-rotor radio control helicopter we have acquired multiple datasets of images of fields of crops. From this data, we can calculate a number of measures which can indicate how healthy the crops are in the field. However, the multiple individual images need stitching together to form one large image representing the field (see left). Current automatic methods do not work well on such sets of images, as the content of the images is so similar. In this project, the challenge is to build a tool which will allow the user to load in such a set of images, try to automatically stitch the images together based on their content, and allow the users to refine the final results manually if necesary.

Obviosly instead of a helicopter I'll be using my RC plane with the pi and I am still going to implement my orginal idea with this one , what I need is decent cameras that will take High quality photos at a low level without any blur if any of you have any advice on what to get that would be greatly appreciated

Ben

Link to comment
Share on other sites

  • 5 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...