Arduino 3DOF Head Tracker

There is another paper in the DIY Segway project about using gyro and accelerometer together to improve accuracy, without sacrificing speed or needing to compensate for drift. Both high-pass and low-pass filters are used, in something he calls a 'complementary filter'.

Go to http://web.mit.edu/first/segway/#misc, click on Technical Documentation, download the segspecs.zip file, open filters.pdf.