Arduino, IMU controlling Airplane

Here are the parts:

  1. Is there any way for the Arduino to connect to the airplane? (ie. the servos, motor etc.)
    a - To power Arduino:
    ... How? 11.1V battery? Which one of the many wires?
    b - To power the ESC:
    11.1V battery?
    c - To power servos:
    receiver channels 1, 2 (Ailerons, elevator) ---> Arduino In 0, 1 ?
    3 Arduino PWM pins ---> 3 servo command wires (ailerons, elevator) ?
    Arduino 5V, GND ---> 3 servo +, - wires (ailerons, elevator) ?
    d - To power the motor:
    receiver channel 3 (motor), all 3 pins ---> ESC ?
    ESC ---> motor ?
  2. Now to control it:
    Should I buy a 5/6DOF sensor?
    To connect that: Attach pins to 4 remaining Analog In pins A2 - A5 (Acc up/down, left/right, forward/back, Gyro pitch, roll)?
  3. How do I do all of the 5/6 DOF code (as an upgrade of the Kalman)
    So how should I do all of this? Is what I'm doing correct??

I have a much simpler question before I get to yours. Can I use my KK2.1 board (from Quadcopter) with a plane too?
From Hobbyking.

The Arduino can get 5v power from the ESC. You can use a 2S or 3S battery to power the ESC and motors.

  1. I wonder if my KK2.1 would work for you? Only $14.
  2. It comes with it's own code, nothing for you to do here!

What is a kk2.1 etc.?

So on 1.a) use the ESC which is powered by the battery?

Thanx.

1a) Use the BEC (at 5V) on the ESC. This goes to 5V and GND on the Arduino.
1c) Correct on the first two. On the last one, powering the servos, do not try to draw power for the servos through the Arduino. You need to split off power for the servos from the BEC on the ESC.

  1. It would be preferable to buy an I2C sensor instead of an analog one (most are I2C now). As to "why" just think of it as the difference between digital and analog and how digital is always better ;). You can spot an I2C sensor as it will have SCL and SDA pins on it. Read some tutorials on I2C for more information.

sbright: I know firmware exists for planes for the KK boards (yosler: google "KK Multicopter") as I've seen a few that have the firmware built in. As to whether or not you can download that firmware is another question...

I'm thinking it might work as-is just by adjusting the sensitivity controls to an extreme.
I've ordered a large quantity of KK2.0 board if anyone is interested?
Like this, but this is NOT me:
http://www.ebay.com/itm/USA-Shipper-KK2-0-Multi-rotor-LCD-Flight-Control-Board-Quadcopter-X-Octocopter-/200790553927
Hobbyking is usually out of stock with a 2 month wait for shipping and handling.

Sbright33: As of the KK... googled it, really cool. I also have the same question: Does it also work for airplanes? Do you just plug the 3 servos (2 aileron, 1 elevator), motor(ESC), and a power source into the KK?
Also, how much $ would it be?
It is not a built-in BEC
What do you mean by using an "I2C sensor"? What is it? How would I use it?

It will work to some degree. My v2.1 will also work, and 2.0 is even more configurable, has accelerometers (I hate typing that word) to keep it level. Basically it goes between the receiver and servos/ESC. My price is the same as Ebay $59 inc S&H to USA. I2C is the communication protocol to a sensor. If you hook sensors to an Arduino you still have to write the code. Which is what I'm doing...

Any IMU code for an airplane?

I've seen nearly the same thing for $40 on Ebay free shipping, I have one. I will be writing code that is related, but I don't think I will need this for an airplane. The gyro board will keep it stable if there's a gust of wind. I can use GPS to keep it from drifting by rolling. The speed determines the climbing angle.

By the way, I'm building the Sport Trainer from Mikeysrc.com
If I'd buy one, is there simple to make or already made code for an airplane??

Or how about me using the MPU 6DOF off Ebay for $12.50 http://www.ebay.com/itm/MPU-6050-3-Axis-gyroscope-3Axis-acce-lerometer-module-3V-5V-compatible-/150871893107?pt=LH_DefaultDomain_0&hash=item2320aa6473

Why so cheap? It's 3x that on Sparkfun. The only disadvantage I can see compared to more expensive single chip designs, is that it does not do fusion IN the chip. Instead you must do it yourself in the Arduino. The 9150 is coming soon. Cost?