Picture of Intro to Model Airplane Autopilot!!!
Hi All!
I am twenty years old. I picked up my arduino for the first time this Christmas, and I've been keeping busy on my arduino applications so that I can bring you this instructable. I hope that it helps!!!

The purpose of this project was to build a stepping stone from remote controlled flight to completely autonomous flight. This initially seemed like a daunting process, but by breaking it up it becomes manageable. I think that if you have completed any kind of autonomous robot, and you have access to an RC airplane, you are in good position to take on autonomous flight. If you haven't done so already I would HIGHLY recommend visiting the site There are TONS of relevant threads with many helpful members. Plus, plenty of inspiration. If you'd like,  please look me up; my username is waymond91.

You can buy a complete platform for developing your own autonomous flyer as well as download a complete code!!!
However, as is with many instructables members, funds are limiting, and there is limitless satisfaction trying to build it yourself from the ground up...

I had two primary objectives when beginning this project:
   1) Achieve sustained level flight using our autopilot program
   2) Ability to switch between radio controlled and arduino controlled flight

I strongly recommend that you already have some experience flying RC airplanes, otherwise you should look for your own plane and get some stick time. I will not be covering how to construct your own airplane, I am trying to focus on the autopilot. Maybe try and retrofit a plane you already have/

You will be at a great advantage if you already are familiar with:
   The arduino programing environment (I have fun using my ubuntu terminal to download and explore new arduino libraries)
   The arduino servo library
   The arduino wiring library (for I2C communication - if needed)
   Basic understanding of arrays and pointers

If these things are new to you, I hope my instructable is helpful. You should be able to figure it out anyways. There are lots of supplemental sites with great info!! You may want to consider trying a PING robot or a line follower :)
Otherwise plow on ahead!

We will be learning:
   How to clean and interpret data using PID loops and cascading PID loops.

All of the videos in this instructable are found in hyperlinks, I am sorry I couldn't get the embedding to work :(

Here is one of my first tests, as you can see, we still have some jittering to deal with:
Remove these adsRemove these ads by Signing Up
comsa427 days ago

Hey, thanks for the PID write-up. It was actually easy to understand unlike all the other tutorials!

Hanros941 month ago

Hi, you have got some really great stuff here, but the link for the codes at the bottom are invalid.

bmwlmshn made it!6 months ago

hello.thank u for your help

i want to start but i do not know where to start.

Can you help me؟


Great project man

Organiks1 year ago

Great project man, I'm interested in building up an autopilot using the arduino due and this will be a great help.

maniana1 year ago

Thanks for your guide! But there's some problem with the files, I can't download any of them because of a 403 Error, anyway this project is great!

Congrats on a great project. I appreciate all of the links. I wish I could look at your code and am sad that I can't. I hope you can make your code available .
ibrand11 year ago
hey, the link says 403 forbidden by admin. i would love to see your sketch but it appears that you have locked it or something
sarky12 years ago
Am I doing something wrong! I'm trying to view your code files just to get an idea of how to dealt with some things but I get "Request forbidden by administrative rules."
are you the admin on your computer?
that could be the problem.
stupsi992 years ago

thanks for the great tutorial! How far are you right now in controlling the plane autonomously?

Thanks for your reply, I'm very interested!

hbaderman2 years ago
this is awesome!!