How about using some kind of gravity based sensor (like the bubble, for example) along with a 2 axis accelerometer? The accelerometer would measure vertical and for/aft accelerations. Then it's a simple matter of taking the the components of the vector into consideration. Figure out what angle the bubble/pendulum is at, then subtract the horizontal and vertical forces acting on it due to vehicle acceleration. A fair amount of math to do in a small uC, and you'd need to calibrate it well enough to suit the application, but perhaps it would work. I don't know, just $.02 from some kid still learning this stuff... -Tony > The bubble (actually the fluid around the bubble) will be moved around > by any acceleration including gravity. > You basically can't sense gravity directly without picking up > acceleration too. > > Robert Ussery wrote: > > Hmmm... I just had another idea... > > How about a bubble level with some IR interrupt sensors > along it? The bubble > > shouldn't be too affected by acceleration, right? > > > > - Robert -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body