> I am building an RC plane (electric powered glider, specifically), and I > plan to at one point have it controlled entirely by a PIC. I'd have to say > that would be a lot of fun, even if the plane crashes! But I digress. > > First thing I plan to do as far as PIC v/s Plane goes is to make a circuit > to level out the wings in flight. i.e. if one wing dips, it will > compensate. I'm not worried about controlling the actuators on the plane or > anything like that (yet) but more about the sensor that is to sit in my > feedback path. I need a "tilt-o-meter!" . I'm sure it's not called that! I doubt you'll be able to measure the true tilt of the plane, but fortunately you don't have to. I would control the ailerons (the control surfaces used to tilt left/right) simply to keep the accelleration vector vertical in the left/right direction. All you need for that are two cheap accellerometers. ******************************************************************** Olin Lathrop, embedded systems consultant in Littleton Massachusetts (978) 742-9014, olin@embedinc.com, http://www.embedinc.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu