Thanks, very interesting website!! Cheers, Mario At 19.03 2010.04.07, you wrote: >Hi, I think an accelerometer with some kalman filtering would solve your >problem. But a gyro would be useful to correct the drifts. It uses a 3 axis >accelerometer + 2 axis gyro. The complete circuit is less than 60 dollars. > >Some time ago, I assembled this circuit from Tom Pycke, and it works >perfectly with a dsPIC: > >http://tom.pycke.be/mav/71/kalman-filtering-of-imu-data >http://tom.pycke.be/mav/92/kalman-demo-application > >-- >[]s Rafael. >Linux User #56352 > > > > >On Wed, Apr 7, 2010 at 12:46 PM, Electron wrote: > >> >> Hello, >> to detect absolute pitch and roll (for an offroad motorbike application, >> subjected to powerful vibrations, bumps, etc..) what would be the minimum >> requirements for the sensors? I plan to use a powerful PIC32 as the >> computing device. >> >> Would a 2 or 3 axis digital compass (such as the HMC6352 or HMC5843) >> suffice? >> >> If not, why? And how many axis (and aligned how) do I need for the >> gyroscope >> and accelerometer? >> >> It is my understanding that the gyroscope data (albeit it needs to be >> absolute, >> not relative as normal gyros provide) is used to subtract gravity from the >> data coming from the accelerometers, which are the "true" sensors. >> >> Thank You! >> Mario >> >> -- >> http://www.piclist.com PIC/SX FAQ & list archive >> View/change your membership options at >> http://mailman.mit.edu/mailman/listinfo/piclist >> >-- >http://www.piclist.com PIC/SX FAQ & list archive >View/change your membership options at >http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist